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

Unified Diff: ui/resources/ui_resources.gyp

Issue 1118673004: Add a build flag to include polymer 0.8 in the binary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to enable_polymer_v08 and ensure it works with the default Created 5 years, 8 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
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements_resources.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/resources/ui_resources.gyp
diff --git a/ui/resources/ui_resources.gyp b/ui/resources/ui_resources.gyp
index 10eb97db2241a9503a5f28ed3192966e29c126db..f46e1f225714ac4b70f1cd7c017b99ccf691da72 100644
--- a/ui/resources/ui_resources.gyp
+++ b/ui/resources/ui_resources.gyp
@@ -9,6 +9,9 @@
'target_name': 'ui_resources',
'type': 'none',
'variables': {
+ # Enable to include Polymer 0.8 in the binary.
+ 'enable_polymer_v08%': 0,
+
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/resources',
},
'actions': [
@@ -23,6 +26,12 @@
'action_name': 'webui_resources',
'variables': {
'grit_grd_file': '../webui/resources/webui_resources.grd',
+
+ 'conditions': [
+ ['enable_polymer_v08==1', {
+ 'grit_defines': ['-D', 'enable_polymer_v08'],
+ }],
+ ],
},
'includes': [ '../../build/grit_action.gypi' ],
},
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements_resources.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698