naiveproxy/ui/webui/resources/js/BUILD.gn
2018-08-14 22:19:20 +00:00

127 lines
1.9 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")
group("closure_compile") {
deps = [
":js_resources",
"cr:closure_compile",
"cr/ui:closure_compile",
]
}
js_type_check("js_resources") {
deps = [
":action_link",
":assert",
":cr",
":event_tracker",
":i18n_behavior",
":i18n_template",
":i18n_template_no_process",
":icon",
":list_property_update_behavior",
":load_time_data",
":parse_html_subset",
":promise_resolver",
":search_highlight_utils",
":util",
":web_ui_listener_behavior",
":webui_listener_tracker",
":webui_resource_test",
]
}
js_library("action_link") {
}
js_library("assert") {
}
js_library("cr") {
deps = [
":assert",
":promise_resolver",
]
externs_list = [ "$externs_path/chrome_send.js" ]
}
js_library("event_tracker") {
}
js_library("webui_listener_tracker") {
deps = [
":cr",
]
}
js_library("search_highlight_utils") {
deps = [
":cr",
]
}
js_library("icon") {
deps = [
":cr",
":util",
]
}
js_library("i18n_template_no_process") {
deps = [
":load_time_data",
]
}
js_library("i18n_template") {
deps = [
":i18n_template_no_process",
]
}
js_library("i18n_behavior") {
deps = [
":load_time_data",
]
}
js_library("list_property_update_behavior") {
}
js_library("load_time_data") {
deps = [
":assert",
":parse_html_subset",
"//third_party/jstemplate:jstemplate",
]
}
js_library("parse_html_subset") {
}
js_library("promise_resolver") {
deps = [
":assert",
]
}
js_library("util") {
deps = [
":cr",
]
externs_list = [ "$externs_path/chrome_send.js" ]
}
js_library("web_ui_listener_behavior") {
deps = [
":cr",
]
}
js_library("webui_resource_test") {
externs_list = [ "dom_automation_controller.js" ]
}