mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-29 00:36:10 +03:00
39 lines
1.1 KiB
Plaintext
39 lines
1.1 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("../../optimize_webui.gni")
|
||
|
import("//third_party/closure_compiler/compile_js.gni")
|
||
|
|
||
|
optimize_webui("build") {
|
||
|
host = "internet_detail_dialog"
|
||
|
html_in_files = [ "internet_detail_dialog.html" ]
|
||
|
html_out_files = [ "vulcanized.html" ]
|
||
|
html_out_files_polymer2 = [ "vulcanized.p2.html" ]
|
||
|
|
||
|
input = rebase_path(".", root_build_dir)
|
||
|
js_out_files = [ "crisper.js" ]
|
||
|
|
||
|
deps = []
|
||
|
}
|
||
|
|
||
|
js_type_check("closure_compile") {
|
||
|
deps = [
|
||
|
":internet_detail_dialog",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
js_library("internet_detail_dialog") {
|
||
|
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",
|
||
|
]
|
||
|
externs_list = [
|
||
|
"$externs_path/chrome_send.js",
|
||
|
"$externs_path/networking_private.js",
|
||
|
]
|
||
|
extra_sources = [ "$interfaces_path/networking_private_interface.js" ]
|
||
|
}
|