forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebUI: Replace vulcanize with polymer-bundler.
Summary of changes needed for the migration: - Excluded URLs behavior is different than Vulcanize, need to explicitly list all URLs to be excluded (unlike Vulcanize, transitive deps of an excluded URL are not implicitly excluded). - Excluded URLs need to match exactly, unlike Vulcanize where foo.html would match chrome://some-path/foo.html. - Input HTML files need to have <html><head>...</head><body>...</body></html> tags. - A single invocation of poylmer-bundler produces both "basic" and "lazy" modules (achieved by using the --shell flag), unlike Vulcanize which required two separate invocations. - Using new --manifest-out instead of previous --out-request-list flag to generate depfiles for Ninja. - Using --rewrite-urls-in-templates to preserve previous rewriting behavior. - polymer-bundler does not blow up when it can't find a file (unlike Vulcanize, so check output manifest for any reported "missing" dependencies). - Removed some Windows specific hacks that don't seem necessary anymore. BUG=731881 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2936333002 Cr-Commit-Position: refs/heads/master@{#488821}
- Loading branch information
Showing
19 changed files
with
205 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
<link rel="import" href="chrome://history/synced_device_manager.html"> | ||
<link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action_menu.html"> | ||
<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html"> | ||
<link rel="import" href="chrome://resources/cr_elements/cr_drawer/cr_drawer.html"> | ||
<link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html"> | ||
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html"> | ||
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html"> | ||
<html> | ||
<head></head> | ||
<body> | ||
<link rel="import" href="chrome://history/synced_device_manager.html"> | ||
<link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action_menu.html"> | ||
<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html"> | ||
<link rel="import" href="chrome://resources/cr_elements/cr_drawer/cr_drawer.html"> | ||
<link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html"> | ||
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html"> | ||
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html"> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<script src="chrome://resources/js/load_time_data.js"></script> | ||
<script src="/strings.js"></script> | ||
<script src="strings.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
<link rel="import" href="a11y_page/a11y_page.html"> | ||
<link rel="import" href="downloads_page/downloads_page.html"> | ||
<link rel="import" href="languages_page/languages_page.html"> | ||
<link rel="import" href="passwords_and_forms_page/passwords_and_forms_page.html"> | ||
<link rel="import" href="printing_page/printing_page.html"> | ||
<link rel="import" href="privacy_page/privacy_page.html"> | ||
<link rel="import" href="reset_page/reset_page.html"> | ||
<html> | ||
<head></head> | ||
<body> | ||
<link rel="import" href="a11y_page/a11y_page.html"> | ||
<link rel="import" href="downloads_page/downloads_page.html"> | ||
<link rel="import" href="languages_page/languages_page.html"> | ||
<link rel="import" href="passwords_and_forms_page/passwords_and_forms_page.html"> | ||
<link rel="import" href="printing_page/printing_page.html"> | ||
<link rel="import" href="privacy_page/privacy_page.html"> | ||
<link rel="import" href="reset_page/reset_page.html"> | ||
|
||
<if expr="chromeos"> | ||
<link rel="import" href="date_time_page/date_time_page.html"> | ||
</if> | ||
<if expr="chromeos"> | ||
<link rel="import" href="date_time_page/date_time_page.html"> | ||
</if> | ||
|
||
<if expr="not chromeos"> | ||
<link rel="import" href="system_page/system_page.html"> | ||
</if> | ||
<if expr="not chromeos"> | ||
<link rel="import" href="system_page/system_page.html"> | ||
</if> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.