blob: 1090e8ac720fe3c50a2d6d6532845617b0b1a79b [file] [log] [blame]
# Copyright 2018 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")
js_type_check("closure_compile") {
deps = [
":background",
":closure_compile_externs",
":error_util",
":media_controls",
":mouse_inactivity_watcher",
":video_player",
":video_player_metrics",
]
}
js_library("closure_compile_externs") {
sources = []
externs_list = [
"$externs_path/chrome_extensions.js",
"$externs_path/media_player_private.js",
"$externs_path/metrics_private.js",
"$externs_path/mediasession.js",
"../../externs/chrome_cast.js",
"../../externs/platform.js",
]
}
js_library("background") {
deps = [
":error_util",
"../../file_manager/background/js:app_window_wrapper",
"../../file_manager/background/js:background_base",
]
}
js_library("error_util") {
}
js_library("media_controls") {
deps = [
"../../file_manager/common/js:util",
"//ui/webui/resources/cr_elements/cr_slider:cr_slider",
"//ui/webui/resources/js/cr/ui:menu_button",
]
}
js_library("mouse_inactivity_watcher") {
}
js_library("video_player_native_controls") {
}
js_library("video_player") {
deps = [
":error_util",
":media_controls",
":mouse_inactivity_watcher",
":video_player_metrics",
":video_player_native_controls",
"cast:cast_video_element",
"cast:media_manager",
"//ui/file_manager/base/js:filtered_volume_manager",
"//ui/file_manager/base/js:mediasession_types",
"//ui/file_manager/file_manager/common/js:metrics_base",
"//ui/file_manager/file_manager/common/js:util",
"//ui/file_manager/image_loader:image_loader_client",
"//ui/webui/resources/js:i18n_template_no_process",
"//ui/webui/resources/js/cr/ui:menu",
"//ui/webui/resources/js/cr/ui:menu_item",
]
}
js_library("video_player_metrics") {
deps = [
"../../file_manager/common/js:metrics_base",
]
}