summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/settings/autofill_page/BUILD.gn
blob: 1afa9c4b7ef589b854f4055cb3cdbcd3b53e5b28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# 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 = [
    ":address_edit_dialog",
    ":autofill_page",
    ":autofill_section",
    ":blocking_request_manager",
    ":credit_card_edit_dialog",
    ":credit_card_list",
    ":credit_card_list_entry",
    ":password_edit_dialog",
    ":password_list_item",
    ":password_manager_proxy",
    ":passwords_section",
    ":payments_section",
    ":show_password_behavior",
  ]
}

js_library("autofill_page") {
  deps = [
    ":autofill_section",
    ":passwords_section",
    ":payments_section",
    "..:open_window_proxy",
    "..:route",
    "../prefs:prefs_behavior",
    "../settings_page:settings_animated_pages",
    "//ui/webui/resources/js:assert",
    "//ui/webui/resources/js:cr",
  ]
  externs_list = [
    "$externs_path/passwords_private.js",
    "$externs_path/settings_private.js",
  ]
}

js_library("autofill_section") {
  deps = [
    ":address_edit_dialog",
    "//ui/webui/resources/cr_elements/cr_action_menu:cr_action_menu",
    "//ui/webui/resources/js:assert",
    "//ui/webui/resources/js:load_time_data",
    "//ui/webui/resources/js/cr/ui:focus_without_ink",
  ]
  externs_list = [ "$externs_path/autofill_private.js" ]
}

js_library("blocking_request_manager") {
}

js_library("payments_section") {
  deps = [
    ":credit_card_edit_dialog",
    ":credit_card_list",
    "../people_page:sync_browser_proxy",
    "//ui/webui/resources/cr_elements/cr_action_menu:cr_action_menu",
    "//ui/webui/resources/js:assert",
    "//ui/webui/resources/js:load_time_data",
    "//ui/webui/resources/js:web_ui_listener_behavior",
    "//ui/webui/resources/js/cr/ui:focus_without_ink",
  ]
  externs_list = [ "$externs_path/autofill_private.js" ]
}

js_library("address_edit_dialog") {
  deps = [
    "//ui/webui/resources/js:cr",
    "//ui/webui/resources/js:i18n_behavior",
  ]
  externs_list = [ "$externs_path/autofill_private.js" ]
}

js_library("credit_card_edit_dialog") {
  deps = [
    "//ui/webui/resources/js:i18n_behavior",
  ]
  externs_list = [ "$externs_path/autofill_private.js" ]
}

js_library("credit_card_list") {
  deps = [
    ":credit_card_list_entry",
    "//ui/webui/resources/js:i18n_behavior",
  ]
}

js_library("credit_card_list_entry") {
  deps = [
    "//ui/webui/resources/js:i18n_behavior",
  ]
}

js_library("password_list_item") {
  deps = [
    ":show_password_behavior",
    "//ui/webui/resources/js:load_time_data",
    "//ui/webui/resources/js/cr/ui:focus_row_behavior",
  ]
}

js_library("password_manager_proxy") {
  deps = [
    "//ui/webui/resources/js:cr",
  ]
  externs_list = [ "$externs_path/passwords_private.js" ]
}

js_library("passwords_section") {
  deps = [
    ":password_edit_dialog",
    ":password_list_item",
    ":password_manager_proxy",
    "..:global_scroll_target_behavior",
    "../people_page:sync_browser_proxy",
    "//third_party/polymer/v1_0/components-chromium/iron-a11y-announcer:iron-a11y-announcer-extracted",
    "//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_toast:cr_toast_manager",
    "//ui/webui/resources/js:assert",
    "//ui/webui/resources/js:i18n_behavior",
    "//ui/webui/resources/js:list_property_update_behavior",
    "//ui/webui/resources/js:util",
    "//ui/webui/resources/js:web_ui_listener_behavior",
    "//ui/webui/resources/js/cr/ui:focus_without_ink",
  ]
  externs_list = [ "$externs_path/passwords_private.js" ]
}

js_library("password_edit_dialog") {
  deps = [
    ":show_password_behavior",
    "//ui/webui/resources/cr_elements/cr_input:cr_input",
  ]
}

js_library("show_password_behavior") {
  deps = [
    ":blocking_request_manager",
  ]
  externs_list = [ "$externs_path/passwords_private.js" ]
}