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

Side by Side Diff: ui/ui_gfx.gypi

Issue 6705030: Standardize grit invokes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | Annotate | Revision Log
« build/grit_action.gypi ('K') | « ui/base/strings/ui_strings.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'variables': {
7 'grit_info_cmd': ['python', '../tools/grit/grit_info.py',
8 '<@(grit_defines)'],
9 'grit_cmd': ['python', '../tools/grit/grit.py'],
10 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gfx',
11 },
12 'targets': [ 6 'targets': [
13 { 7 {
14 # TODO(rsesek): Remove this target once ui_unittests is run on the 8 # TODO(rsesek): Remove this target once ui_unittests is run on the
15 # waterfall instead of gfx_unittests. 9 # waterfall instead of gfx_unittests.
16 'target_name': 'gfx_unittests', 10 'target_name': 'gfx_unittests',
17 'type': 'none', 11 'type': 'none',
18 'msvs_guid': '1D386FA9-2501-41E2-8FE8-527DAF479CE6', 12 'msvs_guid': '1D386FA9-2501-41E2-8FE8-527DAF479CE6',
19 'conditions': [ 13 'conditions': [
20 ['inside_chromium_build==1', { 14 ['inside_chromium_build==1', {
21 'dependencies': [ 15 'dependencies': [
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 'gfx/native_theme_linux.h', 151 'gfx/native_theme_linux.h',
158 'gfx/native_widget_types_gtk.cc', 152 'gfx/native_widget_types_gtk.cc',
159 ], 153 ],
160 }], 154 }],
161 ], 155 ],
162 }, 156 },
163 { 157 {
164 'target_name': 'gfx_resources', 158 'target_name': 'gfx_resources',
165 'type': 'none', 159 'type': 'none',
166 'msvs_guid' : '5738AE53-E919-4987-A2EF-15FDBD8F90F6', 160 'msvs_guid' : '5738AE53-E919-4987-A2EF-15FDBD8F90F6',
161 'variables': {
162 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gfx',
163 },
167 'actions': [ 164 'actions': [
168 { 165 {
169 'action_name': 'gfx_resources', 166 'action_name': 'gfx_resources',
170 'variables': { 167 'variables': {
171 'input_path': 'gfx/gfx_resources.grd', 168 'grit_grd_file': 'gfx/gfx_resources.grd',
172 }, 169 },
173 'inputs': [ 170 'includes': [ '../build/grit_action.gypi' ],
174 '<!@(<(grit_info_cmd) --inputs <(input_path))',
175 ],
176 'outputs': [
177 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(input_path))',
178 ],
179 'action': [
180 '<@(grit_cmd)',
181 '-i', '<(input_path)', 'build',
182 '-o', '<(grit_out_dir)',
183 '<@(grit_defines)',
184 ],
185 'message': 'Generating resources from <(input_path)',
186 }, 171 },
187 ], 172 ],
188 'direct_dependent_settings': { 173 'includes': [ '../build/grit_target.gypi' ],
189 'include_dirs': [
190 '<(grit_out_dir)',
191 ],
192 },
193 'conditions': [
194 ['OS=="win"', {
195 'dependencies': ['../build/win/system.gyp:cygwin'],
196 }],
197 ],
198 }, 174 },
199 175
200 ], 176 ],
201 } 177 }
202 178
203 # Local Variables: 179 # Local Variables:
204 # tab-width:2 180 # tab-width:2
205 # indent-tabs-mode:nil 181 # indent-tabs-mode:nil
206 # End: 182 # End:
207 # vim: set expandtab tabstop=2 shiftwidth=2: 183 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« build/grit_action.gypi ('K') | « ui/base/strings/ui_strings.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698