[go: nahoru, domu]

blob: cb0f25da20aaa0c357a51283f3815696ca2dc7d4 [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 = [
":a11y_page",
":captions_browser_proxy",
":captions_subpage",
]
if (is_chromeos) {
deps += [
":externs",
":manage_a11y_page",
":switch_access_subpage",
":tts_subpage",
]
}
}
js_library("captions_subpage") {
deps = [
"../appearance_page:fonts_browser_proxy",
"../controls:settings_dropdown_menu",
"//ui/webui/resources/cr_elements/cr_slider:cr_slider",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
}
js_library("a11y_page") {
deps = [
"..:route",
"../settings_page:settings_animated_pages",
"//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
}
js_library("manage_a11y_page") {
deps = [
"..:route",
"//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
externs_list = [ "$externs_path/settings_private.js" ]
}
js_library("switch_access_subpage") {
deps = [
"..:route",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
}
js_library("tts_subpage") {
deps = [
":externs",
"..:route",
"../controls:settings_slider",
"../languages_page:languages_browser_proxy",
"../settings_page:settings_animated_pages",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
}
js_library("externs") {
}
js_library("captions_browser_proxy") {
deps = [
"//ui/webui/resources/js:cr",
]
}