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

Side by Side Diff: build/common.gypi

Issue 6070011: Refactor grit -D flags into a gyp variable so we don't (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works Created 9 years, 11 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
« no previous file with comments | « app/app.gyp ('k') | chrome/chrome.gyp » ('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 (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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
11 'variables': { 11 'variables': {
12 # Putting a variables dict inside another variables dict looks kind of 12 # Putting a variables dict inside another variables dict looks kind of
13 # weird. This is done so that 'host_arch', 'chromeos', etc are defined as 13 # weird. This is done so that 'host_arch', 'chromeos', etc are defined as
14 # variables within the outer variables dict here. This is necessary 14 # variables within the outer variables dict here. This is necessary
15 # to get these variables defined for the conditions within this variables 15 # to get these variables defined for the conditions within this variables
16 # dict that operate on these variables (e.g., for setting 'toolkit_views', 16 # dict that operate on these variables (e.g., for setting 'toolkit_views',
17 # we need to have 'chromeos' already set). 17 # we need to have 'chromeos' already set).
18 'variables': { 18 'variables': {
19 'variables': { 19 'variables': {
20 # Whether we're building a ChromeOS build. 20 'variables': {
21 'chromeos%': '0', 21 # Whether we're building a ChromeOS build.
22 'chromeos%': 0,
22 23
23 # Disable touch support by default. 24 # Disable touch support by default.
24 'touchui%': 0, 25 'touchui%': 0,
26 },
27 # Copy conditionally-set variables out one scope.
28 'chromeos%': '<(chromeos)',
29 'touchui%': '<(touchui)',
25 30
26 # To do a shared build on linux we need to be able to choose between 31 # To do a shared build on linux we need to be able to choose between
27 # type static_library and shared_library. We default to doing a static 32 # type static_library and shared_library. We default to doing a static
28 # build but you can override this with "gyp -Dlibrary=shared_library" 33 # build but you can override this with "gyp -Dlibrary=shared_library"
29 # or you can add the following line (without the #) to 34 # or you can add the following line (without the #) to
30 # ~/.gyp/include.gypi {'variables': {'library': 'shared_library'}} 35 # ~/.gyp/include.gypi {'variables': {'library': 'shared_library'}}
31 # to compile as shared by default 36 # to compile as shared by default
32 'library%': 'static_library', 37 'library%': 'static_library',
33 38
34 # Compute the architecture that we're building on. 39 # Compute the architecture that we're building on.
35 'conditions': [ 40 'conditions': [
36 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 41 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
37 # This handles the Linux platforms we generally deal with. Anything 42 # This handles the Linux platforms we generally deal with. Anything
38 # else gets passed through, which probably won't work very well; suc h 43 # else gets passed through, which probably won't work very well; suc h
39 # hosts should pass an explicit target_arch to gyp. 44 # hosts should pass an explicit target_arch to gyp.
40 'host_arch%': 45 'host_arch%':
41 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a rm.*/arm/")', 46 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a rm.*/arm/")',
42 }, { # OS!="linux" 47 }, { # OS!="linux"
43 'host_arch%': 'ia32', 48 'host_arch%': 'ia32',
44 }], 49 }],
50
51 # Set default value of toolkit_views on for Windows, Chrome OS
52 # and the touch UI.
53 ['OS=="win" or chromeos==1 or touchui==1', {
54 'toolkit_views%': 1,
55 }, {
56 'toolkit_views%': 0,
57 }],
45 ], 58 ],
46 }, 59 },
47 60
48 # Copy conditionally-set variables out one scope. 61 # Copy conditionally-set variables out one scope.
49 'chromeos%': '<(chromeos)', 62 'chromeos%': '<(chromeos)',
50 'touchui%': '<(touchui)', 63 'touchui%': '<(touchui)',
51 'host_arch%': '<(host_arch)', 64 'host_arch%': '<(host_arch)',
52 'library%': '<(library)', 65 'library%': '<(library)',
66 'toolkit_views%': '<(toolkit_views)',
53 67
54 # Override branding to select the desired branding flavor. 68 # Override branding to select the desired branding flavor.
55 'branding%': 'Chromium', 69 'branding%': 'Chromium',
56 70
57 # Override buildtype to select the desired build flavor. 71 # Override buildtype to select the desired build flavor.
58 # Dev - everyday build for development/testing 72 # Dev - everyday build for development/testing
59 # Official - release build (generally implies additional processing) 73 # Official - release build (generally implies additional processing)
60 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp 74 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp
61 # conversion is done), some of the things which are now controlled by 75 # conversion is done), some of the things which are now controlled by
62 # 'branding', such as symbol generation, will need to be refactored based 76 # 'branding', such as symbol generation, will need to be refactored based
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 # Use libjpeg-turbo as the JPEG codec used by Chromium. 109 # Use libjpeg-turbo as the JPEG codec used by Chromium.
96 'use_libjpeg_turbo%': 0, 110 'use_libjpeg_turbo%': 0,
97 111
98 # Variable 'component' is for cases where we would like to build some 112 # Variable 'component' is for cases where we would like to build some
99 # components as dynamic shared libraries but still need variable 113 # components as dynamic shared libraries but still need variable
100 # 'library' for static libraries. 114 # 'library' for static libraries.
101 # By default, component is set to whatever library is set to and 115 # By default, component is set to whatever library is set to and
102 # it can be overriden by the GYP command line or by ~/.gyp/include.gypi. 116 # it can be overriden by the GYP command line or by ~/.gyp/include.gypi.
103 'component%': '<(library)', 117 'component%': '<(library)',
104 118
119 # Set to select the Title Case versions of strings in GRD files.
120 'use_titlecase_in_grd_files%': 0,
121
105 'conditions': [ 122 'conditions': [
106 # Set default value of toolkit_views on for Windows, Chrome OS
107 # and the touch UI.
108 ['OS=="win" or chromeos==1 or touchui==1', {
109 'toolkit_views%': 1,
110 }, {
111 'toolkit_views%': 0,
112 }],
113
114 # A flag to enable or disable our compile-time dependency 123 # A flag to enable or disable our compile-time dependency
115 # on gnome-keyring. If that dependency is disabled, no gnome-keyring 124 # on gnome-keyring. If that dependency is disabled, no gnome-keyring
116 # support will be available. This option is useful 125 # support will be available. This option is useful
117 # for Linux distributions. 126 # for Linux distributions.
118 ['chromeos==1', { 127 ['chromeos==1', {
119 'use_gnome_keyring%': 0, 128 'use_gnome_keyring%': 0,
120 }, { 129 }, {
121 'use_gnome_keyring%': 1, 130 'use_gnome_keyring%': 1,
122 }], 131 }],
123 132
124 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared 133 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared
125 # libraries on linux x86-64 and arm. 134 # libraries on linux x86-64 and arm.
126 ['host_arch=="ia32"', { 135 ['host_arch=="ia32"', {
127 'linux_fpic%': 0, 136 'linux_fpic%': 0,
128 }, { 137 }, {
129 'linux_fpic%': 1, 138 'linux_fpic%': 1,
130 }], 139 }],
140 ['toolkit_views==0 or OS=="mac"', {
141 # GTK+ and Mac wants Title Case strings
142 'use_titlecase_in_grd_files%': 1,
143 }],
131 ], 144 ],
132 }, 145 },
133 146
134 # Copy conditionally-set variables out one scope. 147 # Copy conditionally-set variables out one scope.
135 'branding%': '<(branding)', 148 'branding%': '<(branding)',
136 'buildtype%': '<(buildtype)', 149 'buildtype%': '<(buildtype)',
137 'target_arch%': '<(target_arch)', 150 'target_arch%': '<(target_arch)',
138 'host_arch%': '<(host_arch)', 151 'host_arch%': '<(host_arch)',
139 'toolkit_views%': '<(toolkit_views)', 152 'toolkit_views%': '<(toolkit_views)',
140 'use_gnome_keyring%': '<(use_gnome_keyring)', 153 'use_gnome_keyring%': '<(use_gnome_keyring)',
141 'linux_fpic%': '<(linux_fpic)', 154 'linux_fpic%': '<(linux_fpic)',
142 'chromeos%': '<(chromeos)', 155 'chromeos%': '<(chromeos)',
143 'touchui%': '<(touchui)', 156 'touchui%': '<(touchui)',
144 'inside_chromium_build%': '<(inside_chromium_build)', 157 'inside_chromium_build%': '<(inside_chromium_build)',
145 'fastbuild%': '<(fastbuild)', 158 'fastbuild%': '<(fastbuild)',
146 'python_ver%': '<(python_ver)', 159 'python_ver%': '<(python_ver)',
147 'armv7%': '<(armv7)', 160 'armv7%': '<(armv7)',
148 'arm_neon%': '<(arm_neon)', 161 'arm_neon%': '<(arm_neon)',
149 'sysroot%': '<(sysroot)', 162 'sysroot%': '<(sysroot)',
150 'disable_sse2%': '<(disable_sse2)', 163 'disable_sse2%': '<(disable_sse2)',
151 'library%': '<(library)', 164 'library%': '<(library)',
152 'component%': '<(component)', 165 'component%': '<(component)',
166 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
153 167
154 # The release channel that this build targets. This is used to restrict 168 # The release channel that this build targets. This is used to restrict
155 # channel-specific build options, like which installer packages to create. 169 # channel-specific build options, like which installer packages to create.
156 # The default is 'all', which does no channel-specific filtering. 170 # The default is 'all', which does no channel-specific filtering.
157 'channel%': 'all', 171 'channel%': 'all',
158 172
159 # Override chromium_mac_pch and set it to 0 to suppress the use of 173 # Override chromium_mac_pch and set it to 0 to suppress the use of
160 # precompiled headers on the Mac. Prefix header injection may still be 174 # precompiled headers on the Mac. Prefix header injection may still be
161 # used, but prefix headers will not be precompiled. This is useful when 175 # used, but prefix headers will not be precompiled. This is useful when
162 # using distcc to distribute a build to compile slaves that don't 176 # using distcc to distribute a build to compile slaves that don't
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 # better. 276 # better.
263 'linux_keep_shadow_stacks%': 0, 277 'linux_keep_shadow_stacks%': 0,
264 278
265 # Set to 1 to turn on seccomp sandbox by default. 279 # Set to 1 to turn on seccomp sandbox by default.
266 # (Note: this is ignored for official builds.) 280 # (Note: this is ignored for official builds.)
267 'linux_use_seccomp_sandbox%': 0, 281 'linux_use_seccomp_sandbox%': 0,
268 282
269 # Set to 1 to link against libgnome-keyring instead of using dlopen(). 283 # Set to 1 to link against libgnome-keyring instead of using dlopen().
270 'linux_link_gnome_keyring%': 0, 284 'linux_link_gnome_keyring%': 0,
271 285
272 # Set to select the Title Case versions of strings in GRD files.
273 'use_titlecase_in_grd_files%': 0,
274
275 # Used to disable Native Client at compile time, for platforms where it 286 # Used to disable Native Client at compile time, for platforms where it
276 # isn't supported 287 # isn't supported
277 'disable_nacl%': 0, 288 'disable_nacl%': 0,
278 289
279 # Set Thumb compilation flags. 290 # Set Thumb compilation flags.
280 'arm_thumb%': 0, 291 'arm_thumb%': 0,
281 292
282 # Set ARM fpu compilation flags (only meaningful if armv7==1 and 293 # Set ARM fpu compilation flags (only meaningful if armv7==1 and
283 # arm_neon==0). 294 # arm_neon==0).
284 'arm_fpu%': 'vfpv3', 295 'arm_fpu%': 'vfpv3',
(...skipping 19 matching lines...) Expand all
304 # used to control such things as the set of warnings to enable, and 315 # used to control such things as the set of warnings to enable, and
305 # whether warnings are treated as errors. 316 # whether warnings are treated as errors.
306 'chromium_code%': 0, 317 'chromium_code%': 0,
307 318
308 # Set to 1 to compile with the built in pdf viewer. 319 # Set to 1 to compile with the built in pdf viewer.
309 'internal_pdf%': 0, 320 'internal_pdf%': 0,
310 321
311 # This allows to use libcros from the current system, ie. /usr/lib/ 322 # This allows to use libcros from the current system, ie. /usr/lib/
312 # The cros_api will be pulled in as a static library, and all headers 323 # The cros_api will be pulled in as a static library, and all headers
313 # from the system include dirs. 324 # from the system include dirs.
314 'system_libcros%': '0', 325 'system_libcros%': 0,
315 326
316 # Remoting compilation is enabled by default. Set to 0 to disable. 327 # Remoting compilation is enabled by default. Set to 0 to disable.
317 'remoting%': 1, 328 'remoting%': 1,
318 329
319 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_' 330 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_'
320 # so Cocoa is happy (http://crbug.com/20441). 331 # so Cocoa is happy (http://crbug.com/20441).
321 'locales': [ 332 'locales': [
322 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 333 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB',
323 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', 334 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he',
324 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', 335 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv',
325 'ml', 'mr', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 336 'ml', 'mr', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru',
326 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', 337 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk',
327 'vi', 'zh-CN', 'zh-TW', 338 'vi', 'zh-CN', 'zh-TW',
328 ], 339 ],
329 340
341 'grit_defines': [],
342
330 # Use Harfbuzz-NG instead of Harfbuzz. 343 # Use Harfbuzz-NG instead of Harfbuzz.
331 # Under development: http://crbug.com/68551 344 # Under development: http://crbug.com/68551
332 'use_harfbuzz_ng%': 0, 345 'use_harfbuzz_ng%': 0,
333 346
334 'conditions': [ 347 'conditions': [
335 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 348 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
336 # This will set gcc_version to XY if you are running gcc X.Y.*. 349 # This will set gcc_version to XY if you are running gcc X.Y.*.
337 # This is used to tweak build flags for gcc 4.4. 350 # This is used to tweak build flags for gcc 4.4.
338 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', 351 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
339 # Figure out the python architecture to decide if we build pyauto. 352 # Figure out the python architecture to decide if we build pyauto.
340 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l ib/libpython<(python_ver).so.1.0)', 353 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l ib/libpython<(python_ver).so.1.0)',
341 'conditions': [ 354 'conditions': [
342 ['branding=="Chrome"', { 355 ['branding=="Chrome"', {
343 'linux_breakpad%': 1, 356 'linux_breakpad%': 1,
344 }], 357 }],
345 # All Chrome builds have breakpad symbols, but only process the 358 # All Chrome builds have breakpad symbols, but only process the
346 # symbols from official builds. 359 # symbols from official builds.
347 ['(branding=="Chrome" and buildtype=="Official")', { 360 ['(branding=="Chrome" and buildtype=="Official")', {
348 'linux_dump_symbols%': 1, 361 'linux_dump_symbols%': 1,
349 }], 362 }],
350 ['toolkit_views==0', {
351 # GTK wants Title Case strings
352 'use_titlecase_in_grd_files%': 1,
353 }],
354 ], 363 ],
355 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" 364 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd"
365
356 ['OS=="mac"', { 366 ['OS=="mac"', {
357 # Mac wants Title Case strings
358 'use_titlecase_in_grd_files%': 1,
359 'conditions': [ 367 'conditions': [
360 # mac_product_name is set to the name of the .app bundle as it should 368 # mac_product_name is set to the name of the .app bundle as it should
361 # appear on disk. This duplicates data from 369 # appear on disk. This duplicates data from
362 # chrome/app/theme/chromium/BRANDING and 370 # chrome/app/theme/chromium/BRANDING and
363 # chrome/app/theme/google_chrome/BRANDING, but is necessary to get 371 # chrome/app/theme/google_chrome/BRANDING, but is necessary to get
364 # these names into the build system. 372 # these names into the build system.
365 ['branding=="Chrome"', { 373 ['branding=="Chrome"', {
366 'mac_product_name%': 'Google Chrome', 374 'mac_product_name%': 'Google Chrome',
367 }, { # else: branding!="Chrome" 375 }, { # else: branding!="Chrome"
368 'mac_product_name%': 'Chromium', 376 'mac_product_name%': 'Chromium',
369 }], 377 }],
370 378
371 # Feature variables for enabling Mac Breakpad and Keystone auto-update 379 # Feature variables for enabling Mac Breakpad and Keystone auto-update
372 # support. Both features are on by default in official builds with 380 # support. Both features are on by default in official builds with
373 # Chrome branding. 381 # Chrome branding.
374 ['branding=="Chrome" and buildtype=="Official"', { 382 ['branding=="Chrome" and buildtype=="Official"', {
375 'mac_breakpad%': 1, 383 'mac_breakpad%': 1,
376 'mac_keystone%': 1, 384 'mac_keystone%': 1,
377 }, { # else: branding!="Chrome" or buildtype!="Official" 385 }, { # else: branding!="Chrome" or buildtype!="Official"
378 'mac_breakpad%': 0, 386 'mac_breakpad%': 0,
379 'mac_keystone%': 0, 387 'mac_keystone%': 0,
380 }], 388 }],
381 ], 389 ],
382 }], # OS=="mac" 390 }], # OS=="mac"
391
383 # Whether to use multiple cores to compile with visual studio. This is 392 # Whether to use multiple cores to compile with visual studio. This is
384 # optional because it sometimes causes corruption on VS 2005. 393 # optional because it sometimes causes corruption on VS 2005.
385 # It is on by default on VS 2008 and off on VS 2005. 394 # It is on by default on VS 2008 and off on VS 2005.
386 ['OS=="win"', { 395 ['OS=="win"', {
387 'conditions': [ 396 'conditions': [
388 ['component=="shared_library"', { 397 ['component=="shared_library"', {
389 'win_use_allocator_shim%': 0, 398 'win_use_allocator_shim%': 0,
390 }], 399 }],
391 ['MSVS_VERSION=="2005"', { 400 ['MSVS_VERSION=="2005"', {
392 'msvs_multi_core_compile%': 0, 401 'msvs_multi_core_compile%': 0,
393 },{ 402 },{
394 'msvs_multi_core_compile%': 1, 403 'msvs_multi_core_compile%': 1,
395 }], 404 }],
396 # Don't do incremental linking for large modules on 32-bit. 405 # Don't do incremental linking for large modules on 32-bit.
397 ['MSVS_OS_BITS==32', { 406 ['MSVS_OS_BITS==32', {
398 'msvs_large_module_debug_link_mode%': '1', # No 407 'msvs_large_module_debug_link_mode%': '1', # No
399 },{ 408 },{
400 'msvs_large_module_debug_link_mode%': '2', # Yes 409 'msvs_large_module_debug_link_mode%': '2', # Yes
401 }], 410 }],
402 ], 411 ],
403 'nacl_win64_defines': [ 412 'nacl_win64_defines': [
404 # This flag is used to minimize dependencies when building 413 # This flag is used to minimize dependencies when building
405 # Native Client loader for 64-bit Windows. 414 # Native Client loader for 64-bit Windows.
406 'NACL_WIN64', 415 'NACL_WIN64',
407 ], 416 ],
408 }], 417 }],
418
409 ['OS=="mac" or (OS=="linux" and chromeos==0 and target_arch!="arm")', { 419 ['OS=="mac" or (OS=="linux" and chromeos==0 and target_arch!="arm")', {
410 'use_cups%': 1, 420 'use_cups%': 1,
411 }, { 421 }, {
412 'use_cups%': 0, 422 'use_cups%': 0,
413 }], 423 }],
424
414 # Set the relative path from this file to the GYP file of the JPEG 425 # Set the relative path from this file to the GYP file of the JPEG
415 # library used by Chromium. 426 # library used by Chromium.
416 ['use_libjpeg_turbo==1', { 427 ['use_libjpeg_turbo==1', {
417 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp', 428 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp',
418 }, { 429 }, {
419 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp', 430 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp',
420 }], # use_libjpeg_turbo==1 431 }], # use_libjpeg_turbo==1
432
433 # Setup -D flags passed into grit.
434 ['chromeos==1', {
435 'grit_defines': ['-D', 'chromeos'],
436 }],
437 ['toolkit_views==1', {
438 'grit_defines': ['-D', 'toolkit_views'],
439 }],
440 ['touchui==1', {
441 'grit_defines': ['-D', 'touchui'],
442 }],
443 ['use_titlecase_in_grd_files==1', {
444 'grit_defines': ['-D', 'use_titlecase'],
445 }],
421 ], 446 ],
422 }, 447 },
423 'target_defaults': { 448 'target_defaults': {
424 'variables': { 449 'variables': {
425 # The condition that operates on chromium_code is in a target_conditions 450 # The condition that operates on chromium_code is in a target_conditions
426 # section, and will not have access to the default fallback value of 451 # section, and will not have access to the default fallback value of
427 # chromium_code at the top of this file, or to the chromium_code 452 # chromium_code at the top of this file, or to the chromium_code
428 # variable placed at the root variables scope of .gyp files, because 453 # variable placed at the root variables scope of .gyp files, because
429 # those variables are not set at target scope. As a workaround, 454 # those variables are not set at target scope. As a workaround,
430 # if chromium_code is not set at target scope, define it in target scope 455 # if chromium_code is not set at target scope, define it in target scope
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after
1464 # and therefore SYMROOT, needs to be set at the project level. 1489 # and therefore SYMROOT, needs to be set at the project level.
1465 'SYMROOT': '<(DEPTH)/xcodebuild', 1490 'SYMROOT': '<(DEPTH)/xcodebuild',
1466 }, 1491 },
1467 } 1492 }
1468 1493
1469 # Local Variables: 1494 # Local Variables:
1470 # tab-width:2 1495 # tab-width:2
1471 # indent-tabs-mode:nil 1496 # indent-tabs-mode:nil
1472 # End: 1497 # End:
1473 # vim: set expandtab tabstop=2 shiftwidth=2: 1498 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « app/app.gyp ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698