mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-25 06:46:09 +03:00
93 lines
2.4 KiB
Plaintext
93 lines
2.4 KiB
Plaintext
# 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 = [
|
|
":add_languages_dialog",
|
|
":languages",
|
|
":languages_browser_proxy",
|
|
":languages_page",
|
|
":languages_types",
|
|
":manage_input_methods_page",
|
|
]
|
|
}
|
|
|
|
js_library("languages_browser_proxy") {
|
|
deps = [
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
externs_list = [
|
|
"$externs_path/chrome_send.js",
|
|
"$externs_path/input_method_private.js",
|
|
"$externs_path/language_settings_private.js",
|
|
]
|
|
extra_sources = [
|
|
"$interfaces_path/input_method_private_interface.js",
|
|
"$interfaces_path/language_settings_private_interface.js",
|
|
]
|
|
}
|
|
|
|
js_library("languages") {
|
|
deps = [
|
|
":languages_browser_proxy",
|
|
":languages_types",
|
|
"../prefs:prefs",
|
|
"../prefs:prefs_types",
|
|
"//ui/webui/resources/js:assert",
|
|
"//ui/webui/resources/js:cr",
|
|
"//ui/webui/resources/js:promise_resolver",
|
|
]
|
|
externs_list = [
|
|
"$externs_path/input_method_private.js",
|
|
"$externs_path/language_settings_private.js",
|
|
]
|
|
extra_sources = [
|
|
"$interfaces_path/input_method_private_interface.js",
|
|
"$interfaces_path/language_settings_private_interface.js",
|
|
]
|
|
}
|
|
|
|
js_library("languages_page") {
|
|
deps = [
|
|
":languages",
|
|
":languages_types",
|
|
"..:lifetime_browser_proxy",
|
|
"..:route",
|
|
"../settings_page:settings_animated_pages",
|
|
"//ui/webui/resources/cr_elements/cr_action_menu:cr_action_menu",
|
|
"//ui/webui/resources/cr_elements/cr_expand_button:cr_expand_button",
|
|
"//ui/webui/resources/cr_elements/cr_lazy_render:cr_lazy_render",
|
|
"//ui/webui/resources/js:assert",
|
|
"//ui/webui/resources/js:cr",
|
|
"//ui/webui/resources/js:load_time_data",
|
|
"//ui/webui/resources/js/cr/ui:focus_without_ink",
|
|
]
|
|
}
|
|
|
|
js_library("languages_types") {
|
|
deps = []
|
|
externs_list = [ "$externs_path/language_settings_private.js" ]
|
|
}
|
|
|
|
js_library("manage_input_methods_page") {
|
|
deps = [
|
|
":languages",
|
|
":languages_types",
|
|
"../prefs:prefs",
|
|
]
|
|
externs_list = [ "$externs_path/language_settings_private.js" ]
|
|
}
|
|
|
|
js_library("add_languages_dialog") {
|
|
deps = [
|
|
":languages",
|
|
":languages_types",
|
|
"..:find_shortcut_behavior",
|
|
"../settings_page:settings_subpage_search",
|
|
"//ui/webui/resources/cr_elements:cr_scrollable_behavior",
|
|
]
|
|
}
|