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
|
# 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")
import("//tools/polymer/polymer.gni")
js_type_check("closure_compile") {
is_polymer3 = true
closure_flags = default_closure_args + [
"js_module_root=../../chrome/browser/resources/welcome/",
"js_module_root=gen/chrome/browser/resources/welcome/",
]
deps = [
":bookmark_proxy",
":module_metrics_proxy",
":nux_types",
":step_indicator",
]
}
js_library("bookmark_proxy") {
deps = [
"//ui/webui/resources/js:cr.m",
]
externs_list = [
"$externs_path/chrome_extensions.js",
"$externs_path/chrome_send.js",
]
}
js_library("module_metrics_proxy") {
externs_list = [ "$externs_path/metrics_private.js" ]
}
js_library("nux_types") {
}
js_library("step_indicator") {
deps = [
":nux_types",
"//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled",
]
}
polymer_modulizer("animations_css") {
js_file = "animations_css.js"
html_file = "animations_css.html"
html_type = "v3-ready"
}
polymer_modulizer("chooser_shared_css") {
js_file = "chooser_shared_css.js"
html_file = "chooser_shared_css.html"
html_type = "v3-ready"
}
polymer_modulizer("navi_colors_css") {
js_file = "navi_colors_css.js"
html_file = "navi_colors_css.html"
html_type = "v3-ready"
}
polymer_modulizer("action_link_style_css") {
js_file = "action_link_style_css.js"
html_file = "action_link_style_css.html"
html_type = "v3-ready"
}
polymer_modulizer("splash_pages_shared_css") {
js_file = "splash_pages_shared_css.js"
html_file = "splash_pages_shared_css.html"
html_type = "v3-ready"
}
polymer_modulizer("onboarding_background") {
js_file = "onboarding_background.js"
html_file = "onboarding_background.html"
html_type = "v3-ready"
}
polymer_modulizer("step_indicator") {
js_file = "step_indicator.js"
html_file = "step_indicator.html"
html_type = "v3-ready"
}
group("polymer3_elements") {
deps = [
":action_link_style_css_module",
":animations_css_module",
":chooser_shared_css_module",
":navi_colors_css_module",
":onboarding_background_module",
":splash_pages_shared_css_module",
":step_indicator_module",
]
}
|