mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-29 00:36:10 +03:00
142 lines
4.5 KiB
Plaintext
142 lines
4.5 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 = [
|
|
":internet_config",
|
|
":internet_detail_page",
|
|
":internet_known_networks_page",
|
|
":internet_page",
|
|
":internet_page_browser_proxy",
|
|
":internet_subpage",
|
|
":network_proxy_section",
|
|
":network_summary",
|
|
":network_summary_item",
|
|
":tether_connection_dialog",
|
|
]
|
|
}
|
|
|
|
js_library("internet_page") {
|
|
deps = [
|
|
":internet_config",
|
|
":internet_page_browser_proxy",
|
|
"..:route",
|
|
"../settings_page:settings_animated_pages",
|
|
"//ui/webui/resources/cr_elements/chromeos/network:cr_onc_types",
|
|
"//ui/webui/resources/js:assert",
|
|
"//ui/webui/resources/js:i18n_behavior",
|
|
"//ui/webui/resources/js:web_ui_listener_behavior",
|
|
]
|
|
externs_list = [
|
|
"$externs_path/chrome_send.js",
|
|
"$externs_path/management.js",
|
|
"$externs_path/networking_private.js",
|
|
]
|
|
extra_sources = [ "$interfaces_path/networking_private_interface.js" ]
|
|
}
|
|
|
|
js_library("internet_page_browser_proxy") {
|
|
deps = [
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
}
|
|
|
|
js_library("internet_config") {
|
|
deps = [
|
|
"..:route",
|
|
"//ui/webui/resources/cr_components/chromeos/network:network_config",
|
|
"//ui/webui/resources/cr_elements/chromeos/network:cr_onc_types",
|
|
"//ui/webui/resources/cr_elements/cr_dialog:cr_dialog",
|
|
"//ui/webui/resources/js:assert",
|
|
"//ui/webui/resources/js:i18n_behavior",
|
|
"//ui/webui/resources/js:util",
|
|
]
|
|
externs_list = [ "$externs_path/networking_private.js" ]
|
|
extra_sources = [ "$interfaces_path/networking_private_interface.js" ]
|
|
}
|
|
|
|
js_library("internet_detail_page") {
|
|
deps = [
|
|
":internet_page_browser_proxy",
|
|
":tether_connection_dialog",
|
|
"..:route",
|
|
"//ui/webui/resources/cr_elements/chromeos/network:cr_onc_types",
|
|
"//ui/webui/resources/cr_elements/policy:cr_policy_network_behavior",
|
|
"//ui/webui/resources/js:assert",
|
|
"//ui/webui/resources/js:i18n_behavior",
|
|
]
|
|
externs_list = [
|
|
"$externs_path/chrome_send.js",
|
|
"$externs_path/networking_private.js",
|
|
]
|
|
extra_sources = [ "$interfaces_path/networking_private_interface.js" ]
|
|
}
|
|
|
|
js_library("internet_known_networks_page") {
|
|
deps = [
|
|
"//ui/webui/resources/cr_elements/chromeos/network:cr_onc_types",
|
|
"//ui/webui/resources/cr_elements/cr_action_menu:cr_action_menu",
|
|
"//ui/webui/resources/cr_elements/policy:cr_policy_network_behavior",
|
|
"//ui/webui/resources/js:assert",
|
|
]
|
|
externs_list = [ "$externs_path/networking_private.js" ]
|
|
extra_sources = [ "$interfaces_path/networking_private_interface.js" ]
|
|
}
|
|
|
|
js_library("internet_subpage") {
|
|
deps = [
|
|
":internet_page_browser_proxy",
|
|
"..:route",
|
|
"//ui/webui/resources/cr_elements/chromeos/network:cr_onc_types",
|
|
"//ui/webui/resources/cr_elements/policy:cr_policy_network_behavior",
|
|
"//ui/webui/resources/js:assert",
|
|
"//ui/webui/resources/js:i18n_behavior",
|
|
]
|
|
externs_list = [ "$externs_path/networking_private.js" ]
|
|
extra_sources = [ "$interfaces_path/networking_private_interface.js" ]
|
|
}
|
|
|
|
js_library("network_proxy_section") {
|
|
deps = [
|
|
"..:route",
|
|
"../controls:settings_checkbox",
|
|
"../prefs:prefs_behavior",
|
|
"//ui/webui/resources/cr_components/chromeos/network:network_proxy",
|
|
"//ui/webui/resources/cr_elements/chromeos/network:cr_onc_types",
|
|
"//ui/webui/resources/js:assert",
|
|
"//ui/webui/resources/js:i18n_behavior",
|
|
"//ui/webui/resources/js/cr/ui:focus_without_ink",
|
|
]
|
|
}
|
|
|
|
js_library("network_summary") {
|
|
deps = [
|
|
"//ui/webui/resources/cr_elements/chromeos/network:cr_onc_types",
|
|
"//ui/webui/resources/cr_elements/policy:cr_policy_network_behavior",
|
|
"//ui/webui/resources/js:assert",
|
|
]
|
|
extra_sources = [ "$interfaces_path/networking_private_interface.js" ]
|
|
}
|
|
|
|
js_library("network_summary_item") {
|
|
deps = [
|
|
"//ui/webui/resources/cr_elements/chromeos/network:cr_onc_types",
|
|
"//ui/webui/resources/cr_elements/policy:cr_policy_network_behavior",
|
|
"//ui/webui/resources/js:assert",
|
|
"//ui/webui/resources/js:i18n_behavior",
|
|
]
|
|
extra_sources = [ "$interfaces_path/networking_private_interface.js" ]
|
|
}
|
|
|
|
js_library("tether_connection_dialog") {
|
|
deps = [
|
|
"//ui/webui/resources/cr_elements/chromeos/network:cr_onc_types",
|
|
"//ui/webui/resources/cr_elements/cr_dialog:cr_dialog",
|
|
"//ui/webui/resources/js:cr",
|
|
"//ui/webui/resources/js:i18n_behavior",
|
|
]
|
|
}
|