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

Side by Side 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, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements_resources.grdp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //ui/resources 8 # GN version: //ui/resources
9 'target_name': 'ui_resources', 9 'target_name': 'ui_resources',
10 'type': 'none', 10 'type': 'none',
11 'variables': { 11 'variables': {
12 # Enable to include Polymer 0.8 in the binary.
13 'enable_polymer_v08%': 0,
14
12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/resources', 15 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/resources',
13 }, 16 },
14 'actions': [ 17 'actions': [
15 { 18 {
16 'action_name': 'ui_resources', 19 'action_name': 'ui_resources',
17 'variables': { 20 'variables': {
18 'grit_grd_file': 'ui_resources.grd', 21 'grit_grd_file': 'ui_resources.grd',
19 }, 22 },
20 'includes': [ '../../build/grit_action.gypi' ], 23 'includes': [ '../../build/grit_action.gypi' ],
21 }, 24 },
22 { 25 {
23 'action_name': 'webui_resources', 26 'action_name': 'webui_resources',
24 'variables': { 27 'variables': {
25 'grit_grd_file': '../webui/resources/webui_resources.grd', 28 'grit_grd_file': '../webui/resources/webui_resources.grd',
29
30 'conditions': [
31 ['enable_polymer_v08==1', {
32 'grit_defines': ['-D', 'enable_polymer_v08'],
33 }],
34 ],
26 }, 35 },
27 'includes': [ '../../build/grit_action.gypi' ], 36 'includes': [ '../../build/grit_action.gypi' ],
28 }, 37 },
29 { 38 {
30 'action_name': 'ui_unscaled_resources', 39 'action_name': 'ui_unscaled_resources',
31 'variables': { 40 'variables': {
32 'grit_grd_file': 'ui_unscaled_resources.grd', 41 'grit_grd_file': 'ui_unscaled_resources.grd',
33 }, 42 },
34 'includes': [ '../../build/grit_action.gypi' ], 43 'includes': [ '../../build/grit_action.gypi' ],
35 }, 44 },
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 '<@(_inputs)', 135 '<@(_inputs)',
127 '<@(_outputs)' 136 '<@(_outputs)'
128 ], 137 ],
129 }, 138 },
130 ], 139 ],
131 }], 140 }],
132 ], 141 ],
133 }, 142 },
134 ], 143 ],
135 } 144 }
OLDNEW
« 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