diff options
Diffstat (limited to 'chromium/chrome/browser/resources/browser_switch/BUILD.gn')
-rw-r--r-- | chromium/chrome/browser/resources/browser_switch/BUILD.gn | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/chromium/chrome/browser/resources/browser_switch/BUILD.gn b/chromium/chrome/browser/resources/browser_switch/BUILD.gn index 17c4dc37f59..7b25cc542d0 100644 --- a/chromium/chrome/browser/resources/browser_switch/BUILD.gn +++ b/chromium/chrome/browser/resources/browser_switch/BUILD.gn @@ -3,8 +3,10 @@ # 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 deps = [ ":app", ":browser_switch_proxy", @@ -14,13 +16,20 @@ js_type_check("closure_compile") { js_library("app") { deps = [ - "//ui/webui/resources/js:cr", - "//ui/webui/resources/js:i18n_behavior", + "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", + "//ui/webui/resources/js:i18n_behavior.m", + "//ui/webui/resources/js:load_time_data.m", ] } js_library("browser_switch_proxy") { deps = [ - "//ui/webui/resources/js:cr", + "//ui/webui/resources/js:cr.m", ] } + +polymer_modulizer("app") { + js_file = "app.js" + html_file = "app.html" + html_type = "v3-ready" +} |