# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//third_party/closure_compiler/compile_js.gni") import("//tools/grit/grit_rule.gni") grit("webrtc_logs_resources") { source = "webrtc_logs_resources.grd" use_brotli = true outputs = [ "grit/webrtc_logs_resources.h", "webrtc_logs_resources.pak", ] output_dir = "$root_gen_dir/chrome" } js_type_check("closure_compile") { deps = [ ":media_data_table", ":media_feeds", ":media_history", ] } js_library("media_history") { deps = [ ":media_data_table", "//chrome/browser/media:mojo_bindings_js_library_for_compile", "//ui/webui/resources/js:assert", "//ui/webui/resources/js:util", "//ui/webui/resources/js/cr/ui:tabs", ] } js_library("media_feeds") { deps = [ ":media_data_table", "//chrome/browser/media/feeds:mojo_bindings_js_library_for_compile", "//ui/webui/resources/js:assert", "//ui/webui/resources/js:util", ] } js_library("media_data_table") { deps = [ "//ui/webui/resources/js:assert", "//ui/webui/resources/js:cr", "//ui/webui/resources/js:util", ] }