Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Unified Diff: chrome/browser/resources/settings/BUILD.gn

Issue 2936333002: WebUI: Replace vulcanize with polymer-bundler (Closed)
Patch Set: Address comments. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/BUILD.gn
diff --git a/chrome/browser/resources/settings/BUILD.gn b/chrome/browser/resources/settings/BUILD.gn
index 72ce39094c88624b0cc946774cafeca8050abf47..afe5411fe92b7a7e274812f7b8d49f191170eaf3 100644
--- a/chrome/browser/resources/settings/BUILD.gn
+++ b/chrome/browser/resources/settings/BUILD.gn
@@ -9,26 +9,20 @@ unpak_folder = "settings_resources.unpak"
vulcanize("vulcanize_app") {
host = "md-settings"
- html_in_file = "settings.html"
- html_out_file = app_unbuilt
- insert_in_head = "<base href=\"chrome://\$i18n{hostname}\">"
- input = rebase_path("$target_gen_dir/$unpak_folder", root_build_dir)
- js_out_file = "crisper.js"
-
- deps = [
- ":unpak",
+ html_in_files = [
+ "settings.html",
+ "lazy_load.html",
+ ]
+ html_out_files = [
+ app_unbuilt,
+ lazy_load_unbuilt,
]
-}
-
-vulcanize("vulcanize_lazy_load") {
- host = "md-settings"
- html_in_file = "lazy_load.html"
- html_out_file = lazy_load_unbuilt
insert_in_head = "<base href=\"chrome://\$i18n{hostname}\">"
input = rebase_path("$target_gen_dir/$unpak_folder", root_build_dir)
- js_out_file = "lazy_load.crisper.js"
-
- excludes = [ "/settings.html" ]
+ js_out_files = [
+ "crisper.js",
+ "lazy_load.crisper.js",
+ ]
deps = [
":unpak",
@@ -55,7 +49,6 @@ polymer_css_build("build") {
]
deps = [
":vulcanize_app",
- ":vulcanize_lazy_load",
]
}
« no previous file with comments | « chrome/browser/resources/md_history/lazy_load.html ('k') | chrome/browser/resources/settings/i18n_setup.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698