OLD | NEW |
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 | |
15 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/resources', | 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/resources', |
16 }, | 13 }, |
17 'actions': [ | 14 'actions': [ |
18 { | 15 { |
19 'action_name': 'ui_resources', | 16 'action_name': 'ui_resources', |
20 'variables': { | 17 'variables': { |
21 'grit_grd_file': 'ui_resources.grd', | 18 'grit_grd_file': 'ui_resources.grd', |
22 }, | 19 }, |
23 'includes': [ '../../build/grit_action.gypi' ], | 20 'includes': [ '../../build/grit_action.gypi' ], |
24 }, | 21 }, |
25 { | 22 { |
26 'action_name': 'webui_resources', | 23 'action_name': 'webui_resources', |
27 'variables': { | 24 'variables': { |
28 'grit_grd_file': '../webui/resources/webui_resources.grd', | 25 '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 ], | |
35 }, | 26 }, |
36 'includes': [ '../../build/grit_action.gypi' ], | 27 'includes': [ '../../build/grit_action.gypi' ], |
37 }, | 28 }, |
38 { | 29 { |
39 'action_name': 'ui_unscaled_resources', | 30 'action_name': 'ui_unscaled_resources', |
40 'variables': { | 31 'variables': { |
41 'grit_grd_file': 'ui_unscaled_resources.grd', | 32 'grit_grd_file': 'ui_unscaled_resources.grd', |
42 }, | 33 }, |
43 'includes': [ '../../build/grit_action.gypi' ], | 34 'includes': [ '../../build/grit_action.gypi' ], |
44 }, | 35 }, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 '<@(_inputs)', | 126 '<@(_inputs)', |
136 '<@(_outputs)' | 127 '<@(_outputs)' |
137 ], | 128 ], |
138 }, | 129 }, |
139 ], | 130 ], |
140 }], | 131 }], |
141 ], | 132 ], |
142 }, | 133 }, |
143 ], | 134 ], |
144 } | 135 } |
OLD | NEW |