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

Side by Side Diff: chrome/chrome.gyp

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
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 7
8 'variables': { 8 'variables': {
9 'version_py_path': 'tools/build/version.py', 9 'version_py_path': 'tools/build/version.py',
10 'version_path': 'VERSION', 10 'version_path': 'VERSION',
(...skipping 24 matching lines...) Expand all
35 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:inspector_resourc es', 35 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:inspector_resourc es',
36 ], 36 ],
37 'nacl_win64_dependencies': [ 37 'nacl_win64_dependencies': [
38 'common_nacl_win64', 38 'common_nacl_win64',
39 'common_constants_win64', 39 'common_constants_win64',
40 'installer_util_nacl_win64', 40 'installer_util_nacl_win64',
41 ], 41 ],
42 'allocator_target': '../base/allocator/allocator.gyp:allocator', 42 'allocator_target': '../base/allocator/allocator.gyp:allocator',
43 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', 43 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
44 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', 44 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
45 'chrome_strings_grds': [
46 # Localizable resources.
47 'app/resources/locale_settings.grd',
48 'app/chromium_strings.grd',
49 'app/generated_resources.grd',
50 'app/google_chrome_strings.grd',
51 ],
52 'chrome_resources_grds': [
53 # Data resources.
54 'browser/autofill/autofill_resources.grd',
55 'browser/browser_resources.grd',
56 'common/common_resources.grd',
57 'renderer/renderer_resources.grd',
58 ],
59 'chrome_extra_resources_grds': [
60 # These resources end up in resources.pak because they are resources
61 # used by internal pages. Putting them in a spearate pak file makes
62 # it easier for us to reference them internally.
63 'browser/resources/component_extension_resources.grd',
64 'browser/resources/net_internals_resources.grd',
65 'browser/resources/shared_resources.grd',
66 'browser/resources/sync_internals_resources.grd',
67 ],
68 'grit_info_cmd': ['python', '../tools/grit/grit_info.py',
69 '<@(grit_defines)'],
70 'grit_cmd': ['python', '../tools/grit/grit.py'],
71 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], 45 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'],
72 # TODO: remove this helper when we have loops in GYP 46 # TODO: remove this helper when we have loops in GYP
73 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'], 47 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'],
74 'conditions': [ 48 'conditions': [
75 ['OS=="win"', { 49 ['OS=="win"', {
76 'nacl_defines': [ 50 'nacl_defines': [
77 'NACL_WINDOWS=1', 51 'NACL_WINDOWS=1',
78 'NACL_LINUX=0', 52 'NACL_LINUX=0',
79 'NACL_OSX=0', 53 'NACL_OSX=0',
80 ], 54 ],
(...skipping 23 matching lines...) Expand all
104 'NACL_WINDOWS=0', 78 'NACL_WINDOWS=0',
105 'NACL_LINUX=0', 79 'NACL_LINUX=0',
106 'NACL_OSX=1', 80 'NACL_OSX=1',
107 ], 81 ],
108 'platform_locale_settings_grd': 82 'platform_locale_settings_grd':
109 'app/resources/locale_settings_mac.grd', 83 'app/resources/locale_settings_mac.grd',
110 'conditions': [ 84 'conditions': [
111 ['branding=="Chrome"', { 85 ['branding=="Chrome"', {
112 'mac_bundle_id': 'com.google.Chrome', 86 'mac_bundle_id': 'com.google.Chrome',
113 'mac_creator': 'rimZ', 87 'mac_creator': 'rimZ',
88 # The policy .grd file also needs the bundle id.
89 'grit_defines': ['-D', 'mac_bundle_id=com.google.Chrome'],
114 }, { # else: branding!="Chrome" 90 }, { # else: branding!="Chrome"
115 'mac_bundle_id': 'org.chromium.Chromium', 91 'mac_bundle_id': 'org.chromium.Chromium',
116 'mac_creator': 'Cr24', 92 'mac_creator': 'Cr24',
93 # The policy .grd file also needs the bundle id.
94 'grit_defines': ['-D', 'mac_bundle_id=org.chromium.Chromium'],
117 }], # branding 95 }], # branding
118 ], # conditions 96 ], # conditions
119 }], # OS=="mac" 97 }], # OS=="mac"
120 ['target_arch=="ia32"', { 98 ['target_arch=="ia32"', {
121 'nacl_defines': [ 99 'nacl_defines': [
122 # TODO(gregoryd): consider getting this from NaCl's common.gypi 100 # TODO(gregoryd): consider getting this from NaCl's common.gypi
123 'NACL_TARGET_SUBARCH=32', 101 'NACL_TARGET_SUBARCH=32',
124 'NACL_BUILD_SUBARCH=32', 102 'NACL_BUILD_SUBARCH=32',
125 ], 103 ],
126 }], 104 }],
(...skipping 26 matching lines...) Expand all
153 ], 131 ],
154 'targets': [ 132 'targets': [
155 { 133 {
156 # TODO(mark): It would be better if each static library that needed 134 # TODO(mark): It would be better if each static library that needed
157 # to run grit would list its own .grd files, but unfortunately some 135 # to run grit would list its own .grd files, but unfortunately some
158 # of the static libraries currently have circular dependencies among 136 # of the static libraries currently have circular dependencies among
159 # generated headers. 137 # generated headers.
160 'target_name': 'chrome_resources', 138 'target_name': 'chrome_resources',
161 'type': 'none', 139 'type': 'none',
162 'msvs_guid': 'B95AB527-F7DB-41E9-AD91-EB51EE0F56BE', 140 'msvs_guid': 'B95AB527-F7DB-41E9-AD91-EB51EE0F56BE',
163 'variables': { 141 'actions': [
164 'chrome_resources_inputs': [ 142 # Data resources.
165 '<!@(<(grit_info_cmd) --inputs <(chrome_resources_grds))',
166 ],
167 },
168 'rules': [
169 { 143 {
170 'rule_name': 'grit', 144 'action_name': 'autofill_resources',
171 'extension': 'grd',
172 'variables': { 145 'variables': {
173 'conditions': [ 146 'grit_grd_file': 'browser/autofill/autofill_resources.grd',
174 ['branding=="Chrome"', {
175 'branded_env': 'CHROMIUM_BUILD=google_chrome',
176 }, { # else: branding!="Chrome"
177 'branded_env': 'CHROMIUM_BUILD=chromium',
178 }],
179 ],
180 }, 147 },
181 'inputs': [ 148 'includes': [ '../build/grit_action.gypi' ],
182 '<@(chrome_resources_inputs)', 149 },
183 ], 150 {
184 'outputs': [ 151 'action_name': 'browser_resources',
185 '<(grit_out_dir)/grit/<(RULE_INPUT_ROOT).h', 152 'variables': {
186 '<(grit_out_dir)/<(RULE_INPUT_ROOT).pak', 153 'grit_grd_file': 'browser/browser_resources.grd',
187 # TODO(bradnelson): move to something like this instead 154 },
188 #'<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(chrome_resour ces_grds))', 155 'includes': [ '../build/grit_action.gypi' ],
189 # This currently cannot work because gyp only evaluates the 156 },
190 # outputs once (rather than per case where the rule applies). 157 {
191 # This means you end up with all the outputs from all the grd 158 'action_name': 'common_resources',
192 # files, which angers scons and confuses vstudio. 159 'variables': {
193 # One alternative would be to turn this into several actions, 160 'grit_grd_file': 'common/common_resources.grd',
194 # but that would be rather verbose. 161 },
195 ], 162 'includes': [ '../build/grit_action.gypi' ],
196 'action': ['<@(grit_cmd)', '-i', 163 },
197 '<(RULE_INPUT_PATH)', 164 {
198 'build', '-o', '<(grit_out_dir)', 165 'action_name': 'renderer_resources',
199 '-E', '<(branded_env)', 166 'variables': {
200 '<@(grit_defines)', 167 'grit_grd_file': 'renderer/renderer_resources.grd',
201 ], 168 },
202 'message': 'Generating resources from <(RULE_INPUT_PATH)', 169 'includes': [ '../build/grit_action.gypi' ],
203 }, 170 },
204 ], 171 ],
205 'sources': [ 172 'includes': [ '../build/grit_target.gypi' ],
206 '<@(chrome_resources_grds)',
207 '<@(chrome_resources_inputs)',
208 ],
209 'direct_dependent_settings': {
210 'include_dirs': [
211 '<(grit_out_dir)',
212 ],
213 },
214 'conditions': [
215 ['OS=="win"', {
216 'dependencies': ['../build/win/system.gyp:cygwin'],
217 }],
218 ],
219 }, 173 },
220 { 174 {
221 # TODO(mark): It would be better if each static library that needed 175 # TODO(mark): It would be better if each static library that needed
222 # to run grit would list its own .grd files, but unfortunately some 176 # to run grit would list its own .grd files, but unfortunately some
223 # of the static libraries currently have circular dependencies among 177 # of the static libraries currently have circular dependencies among
224 # generated headers. 178 # generated headers.
225 'target_name': 'chrome_strings', 179 'target_name': 'chrome_strings',
226 'msvs_guid': 'D9DDAF60-663F-49CC-90DC-3D08CC3D1B28', 180 'msvs_guid': 'D9DDAF60-663F-49CC-90DC-3D08CC3D1B28',
227 'conditions': [ 181 'conditions': [
228 ['OS=="win"', { 182 ['OS=="win"', {
229 # HACK(nsylvain): We want to enforce a fake dependency on 183 # HACK(nsylvain): We want to enforce a fake dependency on
230 # intaller_util_string. install_util depends on both 184 # intaller_util_string. install_util depends on both
231 # chrome_strings and installer_util_strings, but for some reasons 185 # chrome_strings and installer_util_strings, but for some reasons
232 # Incredibuild does not enforce it (most likely a bug). By changing 186 # Incredibuild does not enforce it (most likely a bug). By changing
233 # the type and making sure we depend on installer_util_strings, it 187 # the type and making sure we depend on installer_util_strings, it
234 # will always get built before installer_util. 188 # will always get built before installer_util.
235 'type': 'dummy_executable', 189 'type': 'dummy_executable',
236 'dependencies': ['../build/win/system.gyp:cygwin', 190 'dependencies': ['installer_util_strings'],
237 'installer_util_strings',],
238 }, { 191 }, {
239 'type': 'none', 192 'type': 'none',
240 }], 193 }],
241 ], 194 ],
242 'variables': { 195 'actions': [
243 'chrome_strings_inputs': [ 196 # Localizable resources.
244 '<!@(<(grit_info_cmd) --inputs <(chrome_strings_grds))',
245 ],
246 },
247 'rules': [
248 { 197 {
249 'rule_name': 'grit', 198 'action_name': 'locale_settings',
250 'extension': 'grd', 199 'variables': {
251 'inputs': [ 200 'grit_grd_file': 'app/resources/locale_settings.grd',
252 '<@(chrome_strings_inputs)', 201 },
253 ], 202 'includes': [ '../build/grit_action.gypi' ],
254 'outputs': [ 203 },
255 '<(grit_out_dir)/grit/<(RULE_INPUT_ROOT).h', 204 {
256 # TODO: remove this helper when we have loops in GYP 205 'action_name': 'chromium_strings.grd',
257 '>!@(<(apply_locales_cmd) \'<(grit_out_dir)/<(RULE_INPUT_ROOT)_ZZLOC ALE.pak\' <(locales))', 206 'variables': {
258 # TODO(bradnelson): move to something like this 207 'grit_grd_file': 'app/chromium_strings.grd',
259 #'<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(chrome_string s_grds))', 208 },
260 # See comment in chrome_resources as to why. 209 'includes': [ '../build/grit_action.gypi' ],
261 ], 210 },
262 'action': ['<@(grit_cmd)', '-i', 211 {
263 '<(RULE_INPUT_PATH)', 212 'action_name': 'generated_resources',
264 'build', '-o', '<(grit_out_dir)', 213 'variables': {
265 '<@(grit_defines)' ], 214 'grit_grd_file': 'app/generated_resources.grd',
266 'message': 'Generating resources from <(RULE_INPUT_PATH)', 215 },
216 'includes': [ '../build/grit_action.gypi' ],
217 },
218 {
219 'action_name': 'google_chrome_strings',
220 'variables': {
221 'grit_grd_file': 'app/google_chrome_strings.grd',
222 },
223 'includes': [ '../build/grit_action.gypi' ],
267 }, 224 },
268 ], 225 ],
269 'sources': [ 226 'includes': [ '../build/grit_target.gypi' ],
270 '<@(chrome_strings_grds)',
271 '<@(chrome_strings_inputs)',
272 ],
273 'include_dirs': [
274 '<(grit_out_dir)',
275 ],
276 'direct_dependent_settings': {
277 'include_dirs': [
278 '<(grit_out_dir)',
279 ],
280 },
281 }, 227 },
282 { 228 {
283 # theme_resources also generates a .cc file, so it can't use the rules abo ve.
284 'target_name': 'theme_resources', 229 'target_name': 'theme_resources',
285 'type': 'none', 230 'type': 'none',
286 'msvs_guid' : 'A158FB0A-25E4-6523-6B5A-4BB294B73D31', 231 'msvs_guid' : 'A158FB0A-25E4-6523-6B5A-4BB294B73D31',
287 'actions': [ 232 'actions': [
288 { 233 {
289 'action_name': 'theme_resources', 234 'action_name': 'theme_resources',
290 'variables': { 235 'variables': {
291 'input_path': 'app/theme/theme_resources.grd', 236 'grit_grd_file': 'app/theme/theme_resources.grd',
292 }, 237 },
293 'inputs': [ 238 'includes': [ '../build/grit_action.gypi' ],
294 '<!@(<(grit_info_cmd) --inputs <(input_path))',
295 ],
296 'outputs': [
297 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(input_path))',
298 ],
299 'action': [
300 '<@(grit_cmd)',
301 '-i', '<(input_path)', 'build',
302 '-o', '<(grit_out_dir)',
303 '<@(grit_defines)',
304 ],
305 'message': 'Generating resources from <(input_path)',
306 }, 239 },
307 ], 240 ],
308 'direct_dependent_settings': { 241 'includes': [ '../build/grit_target.gypi' ],
309 'include_dirs': [
310 '<(grit_out_dir)',
311 ],
312 },
313 'conditions': [
314 ['OS=="win"', {
315 'dependencies': ['../build/win/system.gyp:cygwin'],
316 }],
317 ],
318 }, 242 },
319 { 243 {
320 # locale_settings_<platform>.grd have slightly different outputs, so it
321 # can't use chrome_strings rules above.
322 'target_name': 'platform_locale_settings', 244 'target_name': 'platform_locale_settings',
323 'type': 'none', 245 'type': 'none',
324 'actions': [ 246 'actions': [
325 { 247 {
326 'action_name': 'platform_locale_settings', 248 'action_name': 'platform_locale_settings',
327 'variables': { 249 'variables': {
328 'input_path': '<(platform_locale_settings_grd)', 250 'grit_grd_file': '<(platform_locale_settings_grd)',
329 }, 251 },
330 'inputs': [ 252 'includes': [ '../build/grit_action.gypi' ],
331 '<!@(<(grit_info_cmd) --inputs <(input_path))',
332 ],
333 'outputs': [
334 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(input_path))',
335 ],
336 'action': [
337 '<@(grit_cmd)',
338 '-i', '<(input_path)', 'build',
339 '-o', '<(grit_out_dir)',
340 '<@(grit_defines)',
341 ],
342 'message': 'Generating resources from <(input_path)',
343 }, 253 },
344 ], 254 ],
345 'direct_dependent_settings': { 255 'includes': [ '../build/grit_target.gypi' ],
346 'include_dirs': [
347 '<(grit_out_dir)',
348 ],
349 },
350 'conditions': [
351 ['OS=="win"', {
352 'dependencies': ['../build/win/system.gyp:cygwin'],
353 }],
354 ],
355 }, 256 },
356 { 257 {
357 'target_name': 'chrome_extra_resources', 258 'target_name': 'chrome_extra_resources',
358 'type': 'none', 259 'type': 'none',
359 'variables': {
360 'chrome_extra_resources_inputs': [
361 '<!@(<(grit_info_cmd) --inputs <(chrome_extra_resources_grds))',
362 ],
363 },
364 'rules': [
365 {
366 'rule_name': 'grit',
367 'extension': 'grd',
368 'variables': {
369 'conditions': [
370 ['branding=="Chrome"', {
371 'branded_env': 'CHROMIUM_BUILD=google_chrome',
372 }, { # else: branding!="Chrome"
373 'branded_env': 'CHROMIUM_BUILD=chromium',
374 }],
375 ],
376 },
377 'inputs': [
378 '<@(chrome_extra_resources_inputs)',
379 '<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd',
380 ],
381 'outputs': [
382 '<(grit_out_dir)/grit/<(RULE_INPUT_ROOT).h',
383 '<(grit_out_dir)/<(RULE_INPUT_ROOT).pak',
384 '<(grit_out_dir)/grit/<(RULE_INPUT_ROOT)_map.cc',
385 '<(grit_out_dir)/grit/<(RULE_INPUT_ROOT)_map.h',
386 # TODO(bradnelson): move to something like this instead
387 #'<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(chrome_resour ces_grds))',
388 # This currently cannot work because gyp only evaluates the
389 # outputs once (rather than per case where the rule applies).
390 # This means you end up with all the outputs from all the grd
391 # files, which angers scons and confuses vstudio.
392 # One alternative would be to turn this into several actions,
393 # but that would be rather verbose.
394 ],
395 'action': ['<@(grit_cmd)', '-i',
396 '<(RULE_INPUT_PATH)',
397 'build', '-o', '<(grit_out_dir)',
398 '-D', 'SHARED_INTERMEDIATE_DIR=<(SHARED_INTERMEDIATE_DIR)',
399 '-E', '<(branded_env)',
400 '<@(grit_defines)',
401 ],
402 'message': 'Generating resources from <(RULE_INPUT_PATH)',
403 },
404 ],
405 'sources': [
406 '<@(chrome_extra_resources_grds)',
407 '<@(chrome_extra_resources_inputs)',
408 '<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd',
409 ],
410 'dependencies': [ 260 'dependencies': [
411 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:generate_devtoo ls_grd', 261 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:generate_devtoo ls_grd',
412 ], 262 ],
413 'direct_dependent_settings': { 263 # These resources end up in resources.pak because they are resources
414 'include_dirs': [ 264 # used by internal pages. Putting them in a spearate pak file makes
415 '<(grit_out_dir)', 265 # it easier for us to reference them internally.
416 ], 266 'actions': [
417 }, 267 {
418 'conditions': [ 268 'action_name': 'component_extension_resources',
419 ['OS=="win"', { 269 'variables': {
420 'dependencies': ['../build/win/system.gyp:cygwin'], 270 'grit_grd_file': 'browser/resources/component_extension_resources.gr d',
421 }], 271 },
272 'includes': [ '../build/grit_action.gypi' ],
273 },
274 {
275 'action_name': 'net_internals_resources',
276 'variables': {
277 'grit_grd_file': 'browser/resources/net_internals_resources.grd',
278 },
279 'includes': [ '../build/grit_action.gypi' ],
280 },
281 {
282 'action_name': 'shared_resources',
283 'variables': {
284 'grit_grd_file': 'browser/resources/shared_resources.grd',
285 },
286 'includes': [ '../build/grit_action.gypi' ],
287 },
288 {
289 'action_name': 'sync_internals_resources',
290 'variables': {
291 'grit_grd_file': 'browser/resources/sync_internals_resources.grd',
292 },
293 'includes': [ '../build/grit_action.gypi' ],
294 },
295 {
296 'action_name': 'devtools_resources',
297 # This can't use ../build/grit_action.gypi because the grd file
298 # is generated a build time, so the trick of using grit_info to get
299 # the real inputs/outputs at GYP time isn't possible.
300 'variables': {
301 'grit_cmd': ['python', '../tools/grit/grit.py'],
302 'grit_grd_file': '<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resou rces.grd',
303 },
304 'inputs': [
305 '<(grit_grd_file)',
306 ],
307 'outputs': [
308 '<(grit_out_dir)/grit/devtools_resources.h',
309 '<(grit_out_dir)/devtools_resources.pak',
310 '<(grit_out_dir)/grit/devtools_resources_map.cc',
311 '<(grit_out_dir)/grit/devtools_resources_map.h',
312 ],
313 'action': ['<@(grit_cmd)',
314 '-i', '<(grit_grd_file)', 'build',
315 '-o', '<(grit_out_dir)',
316 '-D', 'SHARED_INTERMEDIATE_DIR=<(SHARED_INTERMEDIATE_DIR)',
317 '<@(grit_defines)' ],
318 'message': 'Generating resources from <(grit_grd_file)',
319 },
422 ], 320 ],
321 'includes': [ '../build/grit_target.gypi' ],
423 }, 322 },
424 { 323 {
425 'target_name': 'default_extensions', 324 'target_name': 'default_extensions',
426 'type': 'none', 325 'type': 'none',
427 'msvs_guid': 'DA9BAB64-91DC-419B-AFDE-6FF8C569E83A', 326 'msvs_guid': 'DA9BAB64-91DC-419B-AFDE-6FF8C569E83A',
428 'conditions': [ 327 'conditions': [
429 ['OS=="win"', { 328 ['OS=="win"', {
430 'copies': [ 329 'copies': [
431 { 330 {
432 'destination': '<(PRODUCT_DIR)/extensions', 331 'destination': '<(PRODUCT_DIR)/extensions',
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 '../testing/gtest.gyp:gtest', 844 '../testing/gtest.gyp:gtest',
946 '../third_party/libxslt/libxslt.gyp:libxslt', 845 '../third_party/libxslt/libxslt.gyp:libxslt',
947 '../third_party/npapi/npapi.gyp:npapi', 846 '../third_party/npapi/npapi.gyp:npapi',
948 ], 847 ],
949 'include_dirs': [ 848 'include_dirs': [
950 '..', 849 '..',
951 ], 850 ],
952 'sources': [ 851 'sources': [
953 'tools/ipclist/all_messages.h', 852 'tools/ipclist/all_messages.h',
954 'tools/ipclist/ipclist.cc', 853 'tools/ipclist/ipclist.cc',
955 ], 854 ],
956 }, 855 },
957 ], 856 ],
958 'conditions': [ 857 'conditions': [
959 ['OS=="mac"', 858 ['OS=="mac"',
960 { 'targets': [ 859 { 'targets': [
961 { 860 {
962 'target_name': 'helper_app', 861 'target_name': 'helper_app',
963 'type': 'executable', 862 'type': 'executable',
964 'product_name': '<(mac_product_name) Helper', 863 'product_name': '<(mac_product_name) Helper',
965 'mac_bundle': 1, 864 'mac_bundle': 1,
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
1676 }], # targets 1575 }], # targets
1677 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" 1576 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"
1678 ], # 'conditions' 1577 ], # 'conditions'
1679 } 1578 }
1680 1579
1681 # Local Variables: 1580 # Local Variables:
1682 # tab-width:2 1581 # tab-width:2
1683 # indent-tabs-mode:nil 1582 # indent-tabs-mode:nil
1684 # End: 1583 # End:
1685 # vim: set expandtab tabstop=2 shiftwidth=2: 1584 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698