naiveproxy/chrome/browser/resources/settings/people_page/BUILD.gn

298 lines
7.9 KiB
Plaintext
Raw Normal View History

2018-08-11 08:35:24 +03:00
# 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 = [
":account_manager",
":change_picture",
":change_picture_browser_proxy",
":easy_unlock_browser_proxy",
":easy_unlock_turn_off_dialog",
":fingerprint_browser_proxy",
":fingerprint_list",
":fingerprint_progress_arc",
":import_data_browser_proxy",
":import_data_dialog",
":lock_screen",
":lock_screen_constants",
":lock_state_behavior",
":manage_profile",
":manage_profile_browser_proxy",
":password_prompt_dialog",
":people_page",
":profile_info_browser_proxy",
":setup_fingerprint_dialog",
":setup_pin_dialog",
":sync_account_control",
":sync_browser_proxy",
":sync_page",
":user_list",
":users_add_user_dialog",
":users_page",
]
}
js_library("account_manager") {
deps = [
"//ui/webui/resources/js:cr",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:icon",
]
}
js_library("change_picture") {
deps = [
":change_picture_browser_proxy",
"..:route",
"//third_party/polymer/v1_0/components-chromium/iron-selector:iron-selector-extracted",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:cr_picture_list",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:cr_picture_pane",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:cr_picture_types",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:util",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
}
js_library("change_picture_browser_proxy") {
deps = [
"//ui/webui/resources/js:cr",
]
}
js_library("easy_unlock_browser_proxy") {
deps = [
"//ui/webui/resources/js:cr",
]
}
js_library("easy_unlock_turn_off_dialog") {
deps = [
":easy_unlock_browser_proxy",
"//ui/webui/resources/cr_elements/cr_dialog:cr_dialog",
"//ui/webui/resources/js:cr",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
}
js_library("fingerprint_browser_proxy") {
deps = [
"//ui/webui/resources/js:cr",
]
}
js_library("fingerprint_list") {
deps = [
":fingerprint_browser_proxy",
"..:route",
"//third_party/polymer/v1_0/components-chromium/iron-resizable-behavior:iron-resizable-behavior-extracted",
"//third_party/polymer/v1_0/components-chromium/paper-ripple:paper-ripple-extracted",
"//ui/webui/resources/js:assert",
"//ui/webui/resources/js:cr",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:web_ui_listener_behavior",
"//ui/webui/resources/js/cr/ui:focus_without_ink",
]
externs_list = [ "$externs_path/web_animations.js" ]
}
js_library("fingerprint_progress_arc") {
deps = [
"//ui/webui/resources/js:cr",
]
}
js_library("import_data_browser_proxy") {
deps = [
"//ui/webui/resources/js:cr",
]
}
js_library("lock_screen") {
deps = [
":easy_unlock_browser_proxy",
":easy_unlock_turn_off_dialog",
":fingerprint_browser_proxy",
":lock_screen_constants",
":lock_state_behavior",
":password_prompt_dialog",
"..:route",
"../controls:settings_dropdown_menu",
"../controls:settings_toggle_button",
"//ui/webui/resources/js:assert",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:web_ui_listener_behavior",
"//ui/webui/resources/js/cr/ui:focus_without_ink",
]
}
js_library("lock_screen_constants") {
deps = [
"//ui/webui/resources/cr_elements/cr_profile_avatar_selector:cr_profile_avatar_selector",
"//ui/webui/resources/js:cr",
]
}
js_library("lock_state_behavior") {
deps = [
"..:route",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
externs_list = [ "$externs_path/quick_unlock_private.js" ]
extra_sources = [ "$interfaces_path/quick_unlock_private_interface.js" ]
}
js_library("manage_profile") {
deps = [
":manage_profile_browser_proxy",
":sync_browser_proxy",
"..:route",
"//ui/webui/resources/js:cr",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
}
js_library("manage_profile_browser_proxy") {
deps = [
"//ui/webui/resources/cr_elements/cr_profile_avatar_selector:cr_profile_avatar_selector",
"//ui/webui/resources/js:cr",
]
}
js_library("password_prompt_dialog") {
deps = [
":lock_screen_constants",
"..:route",
"//third_party/polymer/v1_0/components-chromium/paper-input:paper-input-extracted",
]
externs_list = [ "$externs_path/quick_unlock_private.js" ]
extra_sources = [ "$interfaces_path/quick_unlock_private_interface.js" ]
}
js_library("people_page") {
deps = [
":lock_screen",
":lock_screen_constants",
":lock_state_behavior",
":profile_info_browser_proxy",
":sync_browser_proxy",
"..:page_visibility",
"..:route",
"../settings_page:settings_animated_pages",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:cr_png_behavior",
"//ui/webui/resources/cr_elements/cr_toast:cr_toast",
"//ui/webui/resources/js:assert",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:icon",
"//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:web_ui_listener_behavior",
"//ui/webui/resources/js/cr/ui:focus_without_ink",
]
}
js_library("profile_info_browser_proxy") {
deps = [
"//ui/webui/resources/js:cr",
]
}
js_library("setup_fingerprint_dialog") {
deps = [
":fingerprint_browser_proxy",
":fingerprint_progress_arc",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
}
js_library("setup_pin_dialog") {
deps = [
":lock_screen_constants",
":password_prompt_dialog",
"..:route",
"//ui/webui/resources/js:i18n_behavior",
]
}
js_library("sync_page") {
deps = [
":sync_browser_proxy",
"..:page_visibility",
"..:route",
"../settings_page:settings_animated_pages",
"//third_party/polymer/v1_0/components-chromium/paper-input:paper-input-extracted",
"//ui/webui/resources/cr_elements/cr_expand_button:cr_expand_button",
"//ui/webui/resources/js:assert",
"//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:util",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
}
js_library("sync_browser_proxy") {
deps = [
"//ui/webui/resources/js:cr",
"//ui/webui/resources/js:load_time_data",
]
externs_list = [ "$externs_path/metrics_private.js" ]
}
js_library("user_list") {
deps = [
"..:route",
"//ui/webui/resources/cr_elements:cr_scrollable_behavior",
"//ui/webui/resources/js:i18n_behavior",
]
externs_list = [
"$externs_path/settings_private.js",
"$externs_path/users_private.js",
]
}
js_library("users_add_user_dialog") {
deps = [
"//ui/webui/resources/js:assert",
]
externs_list = [ "$externs_path/users_private.js" ]
}
js_library("users_page") {
deps = [
":user_list",
":users_add_user_dialog",
"//ui/webui/resources/js:assert",
"//ui/webui/resources/js/cr/ui:focus_without_ink",
]
}
js_library("import_data_dialog") {
deps = [
":import_data_browser_proxy",
"../prefs:prefs_behavior",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
}
js_library("sync_account_control") {
deps = [
":profile_info_browser_proxy",
":sync_browser_proxy",
"..:route",
"../prefs:prefs_behavior",
"//ui/webui/resources/cr_elements/cr_action_menu:cr_action_menu",
"//ui/webui/resources/js:icon",
"//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:web_ui_listener_behavior",
]
}