mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
255 lines
5.1 KiB
Plaintext
255 lines
5.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 = "bookmarks"
|
|
html_in_files = [ "bookmarks.html" ]
|
|
html_out_files = [ "vulcanized.html" ]
|
|
|
|
input = rebase_path(".", root_build_dir)
|
|
js_out_files = [ "crisper.js" ]
|
|
|
|
deps = []
|
|
}
|
|
|
|
js_type_check("closure_compile") {
|
|
deps = [
|
|
":actions",
|
|
":api_listener",
|
|
":app",
|
|
":command_manager",
|
|
":constants",
|
|
":debouncer",
|
|
":dialog_focus_manager",
|
|
":dnd_chip",
|
|
":dnd_manager",
|
|
":edit_dialog",
|
|
":folder_node",
|
|
":item",
|
|
":list",
|
|
":mouse_focus_behavior",
|
|
":reducers",
|
|
":router",
|
|
":store",
|
|
":store_client",
|
|
":toast_manager",
|
|
":toolbar",
|
|
":types",
|
|
":util",
|
|
]
|
|
}
|
|
|
|
js_library("actions") {
|
|
deps = [
|
|
":types",
|
|
":util",
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
externs_list = [ "$externs_path/chrome_extensions.js" ]
|
|
}
|
|
|
|
js_library("api_listener") {
|
|
deps = [
|
|
":actions",
|
|
":debouncer",
|
|
":store",
|
|
":util",
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
externs_list = [ "$externs_path/chrome_extensions.js" ]
|
|
}
|
|
|
|
js_library("app") {
|
|
deps = [
|
|
":api_listener",
|
|
":dnd_manager",
|
|
":mouse_focus_behavior",
|
|
":router",
|
|
":store",
|
|
":store_client",
|
|
"//ui/webui/resources/js:load_time_data",
|
|
"//ui/webui/resources/js/cr/ui:splitter",
|
|
]
|
|
externs_list = [ "$externs_path/chrome_extensions.js" ]
|
|
}
|
|
|
|
js_library("command_manager") {
|
|
deps = [
|
|
":api_listener",
|
|
":dialog_focus_manager",
|
|
":edit_dialog",
|
|
":store_client",
|
|
":toast_manager",
|
|
"//third_party/polymer/v1_0/components-chromium/iron-a11y-keys-behavior:iron-a11y-keys-behavior-extracted",
|
|
"//ui/webui/resources/cr_elements/cr_action_menu:cr_action_menu",
|
|
"//ui/webui/resources/cr_elements/cr_lazy_render:cr_lazy_render",
|
|
"//ui/webui/resources/js:cr",
|
|
"//ui/webui/resources/js:load_time_data",
|
|
"//ui/webui/resources/js/cr/ui:command",
|
|
]
|
|
externs_list = [ "$externs_path/bookmark_manager_private.js" ]
|
|
}
|
|
|
|
js_library("constants") {
|
|
}
|
|
|
|
js_library("debouncer") {
|
|
deps = [
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
}
|
|
|
|
js_library("dialog_focus_manager") {
|
|
deps = [
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
}
|
|
|
|
js_library("dnd_chip") {
|
|
deps = [
|
|
":types",
|
|
"//ui/webui/resources/js:cr",
|
|
"//ui/webui/resources/js:icon",
|
|
]
|
|
}
|
|
|
|
js_library("dnd_manager") {
|
|
deps = [
|
|
":api_listener",
|
|
":debouncer",
|
|
":dnd_chip",
|
|
":folder_node",
|
|
":store",
|
|
":types",
|
|
":util",
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
externs_list = [
|
|
"$externs_path/bookmark_manager_private.js",
|
|
"$externs_path/metrics_private.js",
|
|
]
|
|
}
|
|
|
|
js_library("edit_dialog") {
|
|
deps = [
|
|
":api_listener",
|
|
":dialog_focus_manager",
|
|
":types",
|
|
"//third_party/polymer/v1_0/components-chromium/paper-input:paper-input-extracted",
|
|
"//ui/webui/resources/js:assert",
|
|
"//ui/webui/resources/js:cr",
|
|
"//ui/webui/resources/js:load_time_data",
|
|
]
|
|
externs_list = [ "$externs_path/chrome_extensions.js" ]
|
|
}
|
|
|
|
js_library("folder_node") {
|
|
deps = [
|
|
":actions",
|
|
":command_manager",
|
|
":store_client",
|
|
"//ui/webui/resources/js:load_time_data",
|
|
]
|
|
externs_list = [ "$externs_path/chrome_extensions.js" ]
|
|
}
|
|
|
|
js_library("item") {
|
|
deps = [
|
|
":actions",
|
|
":command_manager",
|
|
":store_client",
|
|
"//ui/webui/resources/js:icon",
|
|
]
|
|
externs_list = [ "$externs_path/chrome_extensions.js" ]
|
|
}
|
|
|
|
js_library("list") {
|
|
deps = [
|
|
":actions",
|
|
":command_manager",
|
|
":item",
|
|
":store_client",
|
|
"//third_party/polymer/v1_0/components-chromium/iron-list:iron-list-extracted",
|
|
"//ui/webui/resources/js:list_property_update_behavior",
|
|
"//ui/webui/resources/js:load_time_data",
|
|
]
|
|
}
|
|
|
|
js_library("mouse_focus_behavior") {
|
|
deps = [
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
}
|
|
|
|
js_library("reducers") {
|
|
deps = [
|
|
":actions",
|
|
":types",
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
}
|
|
|
|
js_library("router") {
|
|
deps = [
|
|
":actions",
|
|
":store_client",
|
|
]
|
|
}
|
|
|
|
js_library("store") {
|
|
deps = [
|
|
":reducers",
|
|
":types",
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
externs_list = [ "$externs_path/chrome_extensions.js" ]
|
|
}
|
|
|
|
js_library("store_client") {
|
|
deps = [
|
|
":store",
|
|
":types",
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
}
|
|
|
|
js_library("toast_manager") {
|
|
deps = [
|
|
"//third_party/polymer/v1_0/components-chromium/iron-a11y-announcer:iron-a11y-announcer-extracted",
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
}
|
|
|
|
js_library("toolbar") {
|
|
deps = [
|
|
":command_manager",
|
|
":edit_dialog",
|
|
":store_client",
|
|
"//ui/webui/resources/cr_elements/cr_action_menu:cr_action_menu",
|
|
"//ui/webui/resources/cr_elements/cr_toolbar:cr_toolbar",
|
|
]
|
|
externs_list = [
|
|
"$externs_path/bookmark_manager_private.js",
|
|
"$externs_path/chrome_extensions.js",
|
|
]
|
|
}
|
|
|
|
js_library("types") {
|
|
deps = [
|
|
":constants",
|
|
]
|
|
externs_list = [ "$externs_path/chrome_extensions.js" ]
|
|
}
|
|
|
|
js_library("util") {
|
|
deps = [
|
|
":types",
|
|
"//ui/webui/resources/js:cr",
|
|
]
|
|
externs_list = [ "$externs_path/chrome_extensions.js" ]
|
|
}
|