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

Side by Side Diff: build/common.gypi

Issue 10704039: Add iOS support to common.gypi (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing branch diffing Created 8 years, 5 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
« build/build_config.h ('K') | « build/build_config.h ('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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 'use_openssl%': '<(use_openssl)', 65 'use_openssl%': '<(use_openssl)',
66 'use_ibus%': '<(use_ibus)', 66 'use_ibus%': '<(use_ibus)',
67 'enable_viewport%': '<(enable_viewport)', 67 'enable_viewport%': '<(enable_viewport)',
68 'enable_hidpi%': '<(enable_hidpi)', 68 'enable_hidpi%': '<(enable_hidpi)',
69 'enable_touch_ui%': '<(enable_touch_ui)', 69 'enable_touch_ui%': '<(enable_touch_ui)',
70 'android_upstream_bringup%': '<(android_upstream_bringup)', 70 'android_upstream_bringup%': '<(android_upstream_bringup)',
71 'buildtype%': '<(buildtype)', 71 'buildtype%': '<(buildtype)',
72 72
73 # Compute the architecture that we're building on. 73 # Compute the architecture that we're building on.
74 'conditions': [ 74 'conditions': [
75 [ 'OS=="win" or OS=="mac"', { 75 ['OS=="win" or OS=="mac" or OS=="ios"', {
76 'host_arch%': 'ia32', 76 'host_arch%': 'ia32',
77 }, { 77 }, {
78 # This handles the Unix platforms for which there is some support. 78 # This handles the Unix platforms for which there is some support.
79 # Anything else gets passed through, which probably won't work very 79 # Anything else gets passed through, which probably won't work very
80 # well; such hosts should pass an explicit target_arch to gyp. 80 # well; such hosts should pass an explicit target_arch to gyp.
81 'host_arch%': 81 'host_arch%':
82 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a rm.*/arm/;s/i86pc/ia32/")', 82 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a rm.*/arm/;s/i86pc/ia32/")',
83 }], 83 }],
84 84
85 # Chromeos implies ash. 85 # Chromeos implies ash.
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 # 304 #
305 # Note that a setting of 1 is probably suitable for most or all 305 # Note that a setting of 1 is probably suitable for most or all
306 # Windows developers using VS 2008, since precompiled headers 306 # Windows developers using VS 2008, since precompiled headers
307 # provide a build speedup of 20-25%. There are a couple of 307 # provide a build speedup of 20-25%. There are a couple of
308 # small workarounds you may need to use when using VS 2008 (but 308 # small workarounds you may need to use when using VS 2008 (but
309 # not 2010), see 309 # not 2010), see
310 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders 310 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders
311 # for details. 311 # for details.
312 'chromium_win_pch%': 0, 312 'chromium_win_pch%': 0,
313 313
314 # iOS SDK and deployment target support. The iOS 5.0 SDK is actually
315 # what is required, but the value is left blank so when it is set in
316 # the project files it will be the "current" iOS SDK. Forcing 5.0
317 # even though it is "current" causes Xcode to spit out a warning for
318 # every single project file for not using the "current" SDK.
Mark Mentovai 2012/06/29 13:31:25 But this is also fragile because “current” might n
stuartmorgan 2012/06/29 14:58:25 We can take another look at this when we switch to
319 'ios_sdk%': '',
320 'ios_deployment_target%': '4.3',
321
314 # Set this to true when building with Clang. 322 # Set this to true when building with Clang.
315 # See http://code.google.com/p/chromium/wiki/Clang for details. 323 # See http://code.google.com/p/chromium/wiki/Clang for details.
316 'clang%': 0, 324 'clang%': 0,
317 325
318 # Enable plug-in installation by default. 326 # Enable plug-in installation by default.
319 'enable_plugin_installation%': 1, 327 'enable_plugin_installation%': 1,
320 328
321 # Enable protector service by default. 329 # Enable protector service by default.
322 'enable_protector_service%': 1, 330 'enable_protector_service%': 1,
323 331
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 }], 385 }],
378 386
379 # NSS usage. 387 # NSS usage.
380 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_openssl==0', { 388 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_openssl==0', {
381 'use_nss%': 1, 389 'use_nss%': 1,
382 }, { 390 }, {
383 'use_nss%': 0, 391 'use_nss%': 0,
384 }], 392 }],
385 393
386 # Flags to use X11 on non-Mac POSIX platforms 394 # Flags to use X11 on non-Mac POSIX platforms
387 ['OS=="win" or OS=="mac" or OS=="android"', { 395 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', {
388 'use_glib%': 0, 396 'use_glib%': 0,
389 'use_x11%': 0, 397 'use_x11%': 0,
390 }, { 398 }, {
391 'use_glib%': 1, 399 'use_glib%': 1,
392 'use_x11%': 1, 400 'use_x11%': 1,
393 }], 401 }],
394 402
395 # Set toolkit_uses_gtk for the Chromium browser on Linux. 403 # Set toolkit_uses_gtk for the Chromium browser on Linux.
396 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_aura==0', { 404 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_aura==0', {
397 'toolkit_uses_gtk%': 1, 405 'toolkit_uses_gtk%': 1,
(...skipping 11 matching lines...) Expand all
409 # A flag to enable or disable our compile-time dependency 417 # A flag to enable or disable our compile-time dependency
410 # on gnome-keyring. If that dependency is disabled, no gnome-keyring 418 # on gnome-keyring. If that dependency is disabled, no gnome-keyring
411 # support will be available. This option is useful 419 # support will be available. This option is useful
412 # for Linux distributions and for Aura. 420 # for Linux distributions and for Aura.
413 ['chromeos==1 or use_aura==1', { 421 ['chromeos==1 or use_aura==1', {
414 'use_gnome_keyring%': 0, 422 'use_gnome_keyring%': 0,
415 }, { 423 }, {
416 'use_gnome_keyring%': 1, 424 'use_gnome_keyring%': 1,
417 }], 425 }],
418 426
419 ['toolkit_views==0 or OS=="mac"', { 427 ['toolkit_views==0 or OS=="mac" or OS=="ios"', {
420 # GTK+ and Mac wants Title Case strings 428 # GTK+, Mac and iOS want Title Case strings
421 'use_titlecase_in_grd_files%': 1, 429 'use_titlecase_in_grd_files%': 1,
422 }], 430 }],
423 431
424 # Enable file manager extension on Chrome OS. 432 # Enable file manager extension on Chrome OS.
425 ['chromeos==1', { 433 ['chromeos==1', {
426 'file_manager_extension%': 1, 434 'file_manager_extension%': 1,
427 }, { 435 }, {
428 'file_manager_extension%': 0, 436 'file_manager_extension%': 0,
429 }], 437 }],
430 438
(...skipping 18 matching lines...) Expand all
449 ['OS=="win" and MSVS_VERSION=="2010" and buildtype!="Official"', { 457 ['OS=="win" and MSVS_VERSION=="2010" and buildtype!="Official"', {
450 'chromium_win_pch%': 1 458 'chromium_win_pch%': 1
451 }], 459 }],
452 460
453 ['use_aura==1 or chromeos==1 or OS=="android"', { 461 ['use_aura==1 or chromeos==1 or OS=="android"', {
454 'enable_plugin_installation%': 0, 462 'enable_plugin_installation%': 0,
455 }, { 463 }, {
456 'enable_plugin_installation%': 1, 464 'enable_plugin_installation%': 1,
457 }], 465 }],
458 466
459 ['OS=="android"', { 467 ['OS=="android" or OS=="ios"', {
460 'enable_protector_service%': 0, 468 'enable_protector_service%': 0,
461 }, { 469 }, {
462 'enable_protector_service%': 1, 470 'enable_protector_service%': 1,
463 }], 471 }],
464 472
465 # linux_use_gold_binary: whether to use the binary checked into 473 # linux_use_gold_binary: whether to use the binary checked into
466 # third_party/gold. 474 # third_party/gold.
467 ['OS=="linux"', { 475 ['OS=="linux"', {
468 'linux_use_gold_binary%': 1, 476 'linux_use_gold_binary%': 1,
469 }, { 477 }, {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 'safe_browsing%': '<(safe_browsing)', 553 'safe_browsing%': '<(safe_browsing)',
546 'input_speech%': '<(input_speech)', 554 'input_speech%': '<(input_speech)',
547 'notifications%': '<(notifications)', 555 'notifications%': '<(notifications)',
548 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', 556 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
549 'asan%': '<(asan)', 557 'asan%': '<(asan)',
550 'order_profiling%': '<(order_profiling)', 558 'order_profiling%': '<(order_profiling)',
551 'order_text_section%': '<(order_text_section)', 559 'order_text_section%': '<(order_text_section)',
552 'enable_extensions%': '<(enable_extensions)', 560 'enable_extensions%': '<(enable_extensions)',
553 'enable_web_intents%': '<(enable_web_intents)', 561 'enable_web_intents%': '<(enable_web_intents)',
554 'enable_web_intents_tag%': '<(enable_web_intents_tag)', 562 'enable_web_intents_tag%': '<(enable_web_intents_tag)',
563 'ios_sdk%': '<(ios_sdk)',
564 'ios_deployment_target%': '<(ios_deployment_target)',
555 'enable_plugin_installation%': '<(enable_plugin_installation)', 565 'enable_plugin_installation%': '<(enable_plugin_installation)',
556 'enable_protector_service%': '<(enable_protector_service)', 566 'enable_protector_service%': '<(enable_protector_service)',
557 'enable_session_service%': '<(enable_session_service)', 567 'enable_session_service%': '<(enable_session_service)',
558 'enable_themes%': '<(enable_themes)', 568 'enable_themes%': '<(enable_themes)',
559 'enable_background%': '<(enable_background)', 569 'enable_background%': '<(enable_background)',
560 'enable_promo_resource_service%': '<(enable_promo_resource_service)', 570 'enable_promo_resource_service%': '<(enable_promo_resource_service)',
561 'linux_use_gold_binary%': '<(linux_use_gold_binary)', 571 'linux_use_gold_binary%': '<(linux_use_gold_binary)',
562 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 572 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
563 'use_canvas_skia%': '<(use_canvas_skia)', 573 'use_canvas_skia%': '<(use_canvas_skia)',
564 'test_isolation_mode%': '<(test_isolation_mode)', 574 'test_isolation_mode%': '<(test_isolation_mode)',
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 790
781 # If debug_devtools is set to 1, JavaScript files for DevTools are 791 # If debug_devtools is set to 1, JavaScript files for DevTools are
782 # stored as is and loaded from disk. Otherwise, a concatenated file 792 # stored as is and loaded from disk. Otherwise, a concatenated file
783 # is stored in resources.pak. It is still possible to load JS files 793 # is stored in resources.pak. It is still possible to load JS files
784 # from disk by passing --debug-devtools cmdline switch. 794 # from disk by passing --debug-devtools cmdline switch.
785 'debug_devtools%': 0, 795 'debug_devtools%': 0,
786 796
787 # The Java Bridge is not compiled in by default. 797 # The Java Bridge is not compiled in by default.
788 'java_bridge%': 0, 798 'java_bridge%': 0,
789 799
800 # Code signing for iOS binaries. The bots need to be able to disable this.
801 'chromium_ios_signing%': 1,
802
790 # This flag is only used when disable_nacl==0 and disables all those 803 # This flag is only used when disable_nacl==0 and disables all those
791 # subcomponents which would require the installation of a native_client 804 # subcomponents which would require the installation of a native_client
792 # untrusted toolchain. 805 # untrusted toolchain.
793 'disable_nacl_untrusted%': 0, 806 'disable_nacl_untrusted%': 0,
794 807
795 # Disable Dart by default. 808 # Disable Dart by default.
796 'enable_dart%': 0, 809 'enable_dart%': 0,
797 810
798 # The desired version of Windows SDK can be set in ~/.gyp/include.gypi. 811 # The desired version of Windows SDK can be set in ~/.gyp/include.gypi.
799 'msbuild_toolset%': '', 812 'msbuild_toolset%': '',
800 813
801 # Native Client is enabled by default. 814 # Native Client is enabled by default.
802 'disable_nacl%': 0, 815 'disable_nacl%': 0,
803 816
804 'sas_dll_exists': '<!(python <(DEPTH)/build/dir_exists.py <(sas_dll_path))', 817 'sas_dll_exists': '<!(python <(DEPTH)/build/dir_exists.py <(sas_dll_path))',
805 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', 818 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))',
806 819
807 'conditions': [ 820 'conditions': [
808 ['os_posix==1 and OS!="mac"', { 821 ['os_posix==1 and OS!="mac" and OS!="ios"', {
809 # This will set gcc_version to XY if you are running gcc X.Y.*. 822 # This will set gcc_version to XY if you are running gcc X.Y.*.
810 # This is used to tweak build flags for gcc 4.4. 823 # This is used to tweak build flags for gcc 4.4.
811 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', 824 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
812 # Figure out the python architecture to decide if we build pyauto. 825 # Figure out the python architecture to decide if we build pyauto.
813 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/< (system_libdir)/libpython<(python_ver).so.1.0)', 826 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/< (system_libdir)/libpython<(python_ver).so.1.0)',
814 'conditions': [ 827 'conditions': [
815 ['branding=="Chrome"', { 828 ['branding=="Chrome"', {
816 'linux_breakpad%': 1, 829 'linux_breakpad%': 1,
817 }], 830 }],
818 # All Chrome builds have breakpad symbols, but only process the 831 # All Chrome builds have breakpad symbols, but only process the
819 # symbols from official builds. 832 # symbols from official builds.
820 ['(branding=="Chrome" and buildtype=="Official")', { 833 ['(branding=="Chrome" and buildtype=="Official")', {
821 'linux_dump_symbols%': 1, 834 'linux_dump_symbols%': 1,
822 }], 835 }],
823 ], 836 ],
824 }], 837 }], # os_posix==1 and OS!="mac" and OS!="ios"
825 ['OS=="android"', { 838 ['OS=="android"', {
826 # Location of Android NDK. 839 # Location of Android NDK.
827 'variables': { 840 'variables': {
828 'variables': { 841 'variables': {
829 'android_ndk_root%': '<!(/bin/echo -n $ANDROID_NDK_ROOT)', 842 'android_ndk_root%': '<!(/bin/echo -n $ANDROID_NDK_ROOT)',
830 # Android uses x86 instead of ia32 for their target_arch 843 # Android uses x86 instead of ia32 for their target_arch
831 # designation. 844 # designation.
832 # TODO(wistoch): Adjust the target_arch naming scheme to avoid 845 # TODO(wistoch): Adjust the target_arch naming scheme to avoid
833 # confusion. 846 # confusion.
834 # http://crbug.com/125329 847 # http://crbug.com/125329
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 # section, and will not have access to the default fallback value of 1199 # section, and will not have access to the default fallback value of
1187 # chromium_code at the top of this file, or to the chromium_code 1200 # chromium_code at the top of this file, or to the chromium_code
1188 # variable placed at the root variables scope of .gyp files, because 1201 # variable placed at the root variables scope of .gyp files, because
1189 # those variables are not set at target scope. As a workaround, 1202 # those variables are not set at target scope. As a workaround,
1190 # if chromium_code is not set at target scope, define it in target scope 1203 # if chromium_code is not set at target scope, define it in target scope
1191 # to contain whatever value it has during early variable expansion. 1204 # to contain whatever value it has during early variable expansion.
1192 # That's enough to make it available during target conditional 1205 # That's enough to make it available during target conditional
1193 # processing. 1206 # processing.
1194 'chromium_code%': '<(chromium_code)', 1207 'chromium_code%': '<(chromium_code)',
1195 1208
1196 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.html
1197 'mac_release_optimization%': '3', # Use -O3 unless overridden
1198 'mac_debug_optimization%': '0', # Use -O0 unless overridden
1199
1200 # See http://msdn.microsoft.com/en-us/library/aa652360(VS.71).aspx 1209 # See http://msdn.microsoft.com/en-us/library/aa652360(VS.71).aspx
1201 'win_release_Optimization%': '2', # 2 = /Os 1210 'win_release_Optimization%': '2', # 2 = /Os
1202 'win_debug_Optimization%': '0', # 0 = /Od 1211 'win_debug_Optimization%': '0', # 0 = /Od
1203 1212
1204 # See http://msdn.microsoft.com/en-us/library/2kxx5t2c(v=vs.80).aspx 1213 # See http://msdn.microsoft.com/en-us/library/2kxx5t2c(v=vs.80).aspx
1205 # Tri-state: blank is default, 1 on, 0 off 1214 # Tri-state: blank is default, 1 on, 0 off
1206 'win_release_OmitFramePointers%': '0', 1215 'win_release_OmitFramePointers%': '0',
1207 # Tri-state: blank is default, 1 on, 0 off 1216 # Tri-state: blank is default, 1 on, 0 off
1208 'win_debug_OmitFramePointers%': '', 1217 'win_debug_OmitFramePointers%': '',
1209 1218
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 'conditions': [ 1253 'conditions': [
1245 ['OS=="win" and component=="shared_library"', { 1254 ['OS=="win" and component=="shared_library"', {
1246 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx 1255 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx
1247 'win_release_RuntimeLibrary%': '2', # 2 = /MD (nondebug DLL) 1256 'win_release_RuntimeLibrary%': '2', # 2 = /MD (nondebug DLL)
1248 'win_debug_RuntimeLibrary%': '3', # 3 = /MDd (debug DLL) 1257 'win_debug_RuntimeLibrary%': '3', # 3 = /MDd (debug DLL)
1249 }, { 1258 }, {
1250 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx 1259 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx
1251 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static) 1260 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static)
1252 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) 1261 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static)
1253 }], 1262 }],
1263 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.html
Mark Mentovai 2012/06/29 13:31:25 See how the Windows comment is duplicated inside e
stuartmorgan 2012/06/29 14:58:25 Done.
1264 ['OS=="ios"', {
1265 'mac_release_optimization%': 's', # Use -Os unless overridden
1266 'mac_debug_optimization%': '0', # Use -O0 unless overridden
1267 }, {
1268 'mac_release_optimization%': '3', # Use -O3 unless overridden
1269 'mac_debug_optimization%': '0', # Use -O0 unless overridden
1270 }],
1254 ], 1271 ],
1255 }, 1272 },
1256 'conditions': [ 1273 'conditions': [
1257 ['OS=="win" and "<(msbuild_toolset)"!=""', { 1274 ['OS=="win" and "<(msbuild_toolset)"!=""', {
1258 'msbuild_toolset': '<(msbuild_toolset)', 1275 'msbuild_toolset': '<(msbuild_toolset)',
1259 }], 1276 }],
1260 ['branding=="Chrome"', { 1277 ['branding=="Chrome"', {
1261 'defines': ['GOOGLE_CHROME_BUILD'], 1278 'defines': ['GOOGLE_CHROME_BUILD'],
1262 }, { # else: branding!="Chrome" 1279 }, { # else: branding!="Chrome"
1263 'defines': ['CHROMIUM_BUILD'], 1280 'defines': ['CHROMIUM_BUILD'],
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
1527 'xcode_settings': { 1544 'xcode_settings': {
1528 'WARNING_CFLAGS': [ 1545 'WARNING_CFLAGS': [
1529 '-Wexit-time-destructors', 1546 '-Wexit-time-destructors',
1530 ], 1547 ],
1531 }, 1548 },
1532 }], 1549 }],
1533 ], 1550 ],
1534 }], 1551 }],
1535 ['chromium_code==0', { 1552 ['chromium_code==0', {
1536 'conditions': [ 1553 'conditions': [
1537 [ 'os_posix==1 and OS!="mac"', { 1554 [ 'os_posix==1 and OS!="mac" and OS!="ios"', {
1538 # We don't want to get warnings from third-party code, 1555 # We don't want to get warnings from third-party code,
1539 # so remove any existing warning-enabling flags like -Wall. 1556 # so remove any existing warning-enabling flags like -Wall.
1540 'cflags!': [ 1557 'cflags!': [
1541 '-Wall', 1558 '-Wall',
1542 '-Wextra', 1559 '-Wextra',
1543 '-Werror', 1560 '-Werror',
1544 ], 1561 ],
1545 'cflags_cc': [ 1562 'cflags_cc': [
1546 # Don't warn about hash_map in third-party code. 1563 # Don't warn about hash_map in third-party code.
1547 '-Wno-deprecated', 1564 '-Wno-deprecated',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1581 'Detect64BitPortabilityProblems': 'false', 1598 'Detect64BitPortabilityProblems': 'false',
1582 }, 1599 },
1583 }, 1600 },
1584 }], 1601 }],
1585 # TODO(darin): Unfortunately, some third_party code depends on base/ 1602 # TODO(darin): Unfortunately, some third_party code depends on base/
1586 [ 'OS=="win" and component=="shared_library"', { 1603 [ 'OS=="win" and component=="shared_library"', {
1587 'msvs_disabled_warnings': [ 1604 'msvs_disabled_warnings': [
1588 4251, # class 'std::xx' needs to have dll-interface. 1605 4251, # class 'std::xx' needs to have dll-interface.
1589 ], 1606 ],
1590 }], 1607 }],
1591 [ 'OS=="mac"', { 1608 [ 'OS=="mac" or OS=="ios"', {
1592 'xcode_settings': { 1609 'xcode_settings': {
1593 'WARNING_CFLAGS!': ['-Wall', '-Wextra'], 1610 'WARNING_CFLAGS!': ['-Wall', '-Wextra'],
1594 }, 1611 },
1595 'conditions': [ 1612 'conditions': [
1596 ['buildtype=="Official"', { 1613 ['buildtype=="Official"', {
1597 'xcode_settings': { 1614 'xcode_settings': {
1598 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror 1615 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
1599 }, 1616 },
1600 }], 1617 }],
1601 ], 1618 ],
1602 }], 1619 }],
1620 [ 'OS=="ios"', {
1621 'xcode_settings': {
1622 'RUN_CLANG_STATIC_ANALYZER': 'NO',
1623 },
1624 }],
1603 ], 1625 ],
1604 }, { 1626 }, {
1605 'includes': [ 1627 'includes': [
1606 # Rules for excluding e.g. foo_win.cc from the build on non-Windows. 1628 # Rules for excluding e.g. foo_win.cc from the build on non-Windows.
1607 'filename_rules.gypi', 1629 'filename_rules.gypi',
1608 ], 1630 ],
1609 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the 1631 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the
1610 # C99 macros on Mac and Linux. 1632 # C99 macros on Mac and Linux.
1611 'defines': [ 1633 'defines': [
1612 '__STDC_FORMAT_MACROS', 1634 '__STDC_FORMAT_MACROS',
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 'conditions': [ 1769 'conditions': [
1748 ['OS=="linux"', { 1770 ['OS=="linux"', {
1749 'target_conditions': [ 1771 'target_conditions': [
1750 ['_toolset=="target"', { 1772 ['_toolset=="target"', {
1751 'cflags': [ 1773 'cflags': [
1752 '<@(debug_extra_cflags)', 1774 '<@(debug_extra_cflags)',
1753 ], 1775 ],
1754 }], 1776 }],
1755 ], 1777 ],
1756 }], 1778 }],
1757 ['release_valgrind_build==0', { 1779 # Disabled on iOS because it was causing a crash on startup.
1780 # TODO(michelea): investigate, create a reduced test and possibly
1781 # submit a radar.
Mark Mentovai 2012/06/29 13:31:25 Yeah, I heard this was broken on arm.
1782 ['release_valgrind_build==0 and OS!="ios"', {
1758 'xcode_settings': { 1783 'xcode_settings': {
1759 'OTHER_CFLAGS': [ 1784 'OTHER_CFLAGS': [
1760 '-fstack-protector-all', # Implies -fstack-protector 1785 '-fstack-protector-all', # Implies -fstack-protector
1761 ], 1786 ],
1762 }, 1787 },
1763 }], 1788 }],
1764 ], 1789 ],
1765 }, 1790 },
1766 'Release_Base': { 1791 'Release_Base': {
1767 'abstract': 1, 1792 'abstract': 1,
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], 1893 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'],
1869 }, 1894 },
1870 'Release_x64': { 1895 'Release_x64': {
1871 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], 1896 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'],
1872 }, 1897 },
1873 }], 1898 }],
1874 ], 1899 ],
1875 }, 1900 },
1876 }, 1901 },
1877 'conditions': [ 1902 'conditions': [
1878 ['os_posix==1 and OS!="mac"', { 1903 ['os_posix==1 and OS!="mac" and OS!="ios"', {
1879 'target_defaults': { 1904 'target_defaults': {
1880 # Enable -Werror by default, but put it in a variable so it can 1905 # Enable -Werror by default, but put it in a variable so it can
1881 # be disabled in ~/.gyp/include.gypi on the valgrind builders. 1906 # be disabled in ~/.gyp/include.gypi on the valgrind builders.
1882 'variables': { 1907 'variables': {
1883 'werror%': '-Werror', 1908 'werror%': '-Werror',
1884 » 'libraries_for_target%': '', 1909 'libraries_for_target%': '',
1885 }, 1910 },
1886 'defines': [ 1911 'defines': [
1887 '_FILE_OFFSET_BITS=64', 1912 '_FILE_OFFSET_BITS=64',
1888 ], 1913 ],
1889 'cflags': [ 1914 'cflags': [
1890 '<(werror)', # See note above about the werror variable. 1915 '<(werror)', # See note above about the werror variable.
1891 '-pthread', 1916 '-pthread',
1892 '-fno-exceptions', 1917 '-fno-exceptions',
1893 '-fno-strict-aliasing', # See http://crbug.com/32204 1918 '-fno-strict-aliasing', # See http://crbug.com/32204
1894 '-Wall', 1919 '-Wall',
(...skipping 16 matching lines...) Expand all
1911 '-fvisibility-inlines-hidden', 1936 '-fvisibility-inlines-hidden',
1912 # GCC turns on -Wsign-compare for C++ under -Wall, but clang doesn't, 1937 # GCC turns on -Wsign-compare for C++ under -Wall, but clang doesn't,
1913 # so we specify it explicitly. 1938 # so we specify it explicitly.
1914 # TODO(fischman): remove this if http://llvm.org/PR10448 obsoletes it. 1939 # TODO(fischman): remove this if http://llvm.org/PR10448 obsoletes it.
1915 # http://code.google.com/p/chromium/issues/detail?id=90453 1940 # http://code.google.com/p/chromium/issues/detail?id=90453
1916 '-Wsign-compare', 1941 '-Wsign-compare',
1917 ], 1942 ],
1918 'ldflags': [ 1943 'ldflags': [
1919 '-pthread', '-Wl,-z,noexecstack', 1944 '-pthread', '-Wl,-z,noexecstack',
1920 ], 1945 ],
1921 » 'libraries' : [ 1946 'libraries' : [
1922 » '<(libraries_for_target)', 1947 '<(libraries_for_target)',
1923 » ], 1948 ],
1924 'configurations': { 1949 'configurations': {
1925 'Debug_Base': { 1950 'Debug_Base': {
1926 'variables': { 1951 'variables': {
1927 'debug_optimize%': '0', 1952 'debug_optimize%': '0',
1928 }, 1953 },
1929 'defines': [ 1954 'defines': [
1930 '_DEBUG', 1955 '_DEBUG',
1931 ], 1956 ],
1932 'cflags': [ 1957 'cflags': [
1933 '-O>(debug_optimize)', 1958 '-O>(debug_optimize)',
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
2565 ['exclude', '(^|/)android/'] 2590 ['exclude', '(^|/)android/']
2566 ], 2591 ],
2567 }], 2592 }],
2568 ], 2593 ],
2569 }, 2594 },
2570 }], 2595 }],
2571 ['OS=="solaris"', { 2596 ['OS=="solaris"', {
2572 'cflags!': ['-fvisibility=hidden'], 2597 'cflags!': ['-fvisibility=hidden'],
2573 'cflags_cc!': ['-fvisibility-inlines-hidden'], 2598 'cflags_cc!': ['-fvisibility-inlines-hidden'],
2574 }], 2599 }],
2575 ['OS=="mac"', { 2600 ['OS=="mac" or OS=="ios"', {
2576 'target_defaults': { 2601 'target_defaults': {
2577 'variables': {
2578 # These should end with %, but there seems to be a bug with % in
2579 # variables that are intended to be set to different values in
2580 # different targets, like these.
2581 'mac_pie': 1, # Most executables can be position-independent.
2582 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases.
2583 # Strip debugging symbols from the target.
2584 'mac_strip': '<(mac_strip_release)',
2585 },
2586 'mac_bundle': 0, 2602 'mac_bundle': 0,
2587 'xcode_settings': { 2603 'xcode_settings': {
2588 'ALWAYS_SEARCH_USER_PATHS': 'NO', 2604 'ALWAYS_SEARCH_USER_PATHS': 'NO',
2589 'GCC_C_LANGUAGE_STANDARD': 'c99', # -std=c99 2605 'GCC_C_LANGUAGE_STANDARD': 'c99', # -std=c99
2590 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks 2606 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks
2591 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic
2592 # (Equivalent to -fPIC)
2593 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions 2607 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
2594 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti 2608 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
2595 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings 2609 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
2596 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden 2610 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden
2597 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', 2611 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
2598 'GCC_OBJC_CALL_CXX_CDTORS': 'YES', # -fobjc-call-cxx-cdtors 2612 'GCC_OBJC_CALL_CXX_CDTORS': 'YES', # -fobjc-call-cxx-cdtors
2599 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden 2613 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
2600 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics 2614 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics
2601 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror 2615 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror
2602 'GCC_VERSION': '4.2', 2616 'GCC_VERSION': '4.2',
2603 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof 2617 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof
2604 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min
2605 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)',
2606 # Keep pch files below xcodebuild/.
2607 'SHARED_PRECOMPS_DIR': '$(CONFIGURATION_BUILD_DIR)/SharedPrecompiledHe aders',
2608 'USE_HEADERMAP': 'NO', 2618 'USE_HEADERMAP': 'NO',
2609 'OTHER_CFLAGS': [
2610 '-fno-strict-aliasing', # See http://crbug.com/32204
2611 ],
2612 'WARNING_CFLAGS': [ 2619 'WARNING_CFLAGS': [
2613 '-Wall', 2620 '-Wall',
2614 '-Wendif-labels', 2621 '-Wendif-labels',
2615 '-Wextra', 2622 '-Wextra',
2616 # Don't warn about unused function parameters. 2623 # Don't warn about unused function parameters.
2617 '-Wno-unused-parameter', 2624 '-Wno-unused-parameter',
2618 # Don't warn about the "struct foo f = {0};" initialization 2625 # Don't warn about the "struct foo f = {0};" initialization
2619 # pattern. 2626 # pattern.
2620 '-Wno-missing-field-initializers', 2627 '-Wno-missing-field-initializers',
2621 ], 2628 ],
2622 'conditions': [ 2629 'conditions': [
2623 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'}, 2630 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'},
2624 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'} 2631 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'}
2625 ], 2632 ],
2633 ],
2634 },
2635 'target_conditions': [
2636 ['_type!="static_library"', {
2637 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
2638 }],
2639 ['_mac_bundle', {
2640 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2641 }],
2642 ], # target_conditions
2643 }, # target_defaults
2644 }], # OS=="mac" or OS=="ios"
2645 ['OS=="mac"', {
2646 'target_defaults': {
2647 'variables': {
2648 # These should end with %, but there seems to be a bug with % in
2649 # variables that are intended to be set to different values in
2650 # different targets, like these.
2651 'mac_pie': 1, # Most executables can be position-independent.
2652 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases.
2653 # Strip debugging symbols from the target.
2654 'mac_strip': '<(mac_strip_release)',
2655 },
2656 'xcode_settings': {
2657 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic
2658 # (Equivalent to -fPIC)
2659 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min
2660 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)',
2661 'PREBINDING': 'NO', # No -Wl,-prebind
2662 # Keep pch files below xcodebuild/.
2663 'SHARED_PRECOMPS_DIR': '$(CONFIGURATION_BUILD_DIR)/SharedPrecompiledHe aders',
2664 'OTHER_CFLAGS': [
2665 '-fno-strict-aliasing', # See http://crbug.com/32204
2666 ],
2667 'conditions': [
2626 ['clang==1', { 2668 ['clang==1', {
2627 'CC': '$(SOURCE_ROOT)/<(clang_dir)/clang', 2669 'CC': '$(SOURCE_ROOT)/<(clang_dir)/clang',
2628 'LDPLUSPLUS': '$(SOURCE_ROOT)/<(clang_dir)/clang++', 2670 'LDPLUSPLUS': '$(SOURCE_ROOT)/<(clang_dir)/clang++',
2629 2671
2630 # Don't use -Wc++0x-extensions, which Xcode 4 enables by default 2672 # Don't use -Wc++0x-extensions, which Xcode 4 enables by default
2631 # when buliding with clang. This warning is triggered when the 2673 # when buliding with clang. This warning is triggered when the
2632 # override keyword is used via the OVERRIDE macro from 2674 # override keyword is used via the OVERRIDE macro from
2633 # base/compiler_specific.h. 2675 # base/compiler_specific.h.
2634 'CLANG_WARN_CXX0X_EXTENSIONS': 'NO', 2676 'CLANG_WARN_CXX0X_EXTENSIONS': 'NO',
2635 2677
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
2818 'action': ['<(strip_from_xcode_path)'], 2860 'action': ['<(strip_from_xcode_path)'],
2819 }, 2861 },
2820 ], # postbuilds 2862 ], # postbuilds
2821 }], # mac_real_dsym 2863 }], # mac_real_dsym
2822 ], # target_conditions 2864 ], # target_conditions
2823 }], # (_type=="executable" or _type=="shared_library" or 2865 }], # (_type=="executable" or _type=="shared_library" or
2824 # _type=="loadable_module") and mac_strip!=0 2866 # _type=="loadable_module") and mac_strip!=0
2825 ], # target_conditions 2867 ], # target_conditions
2826 }, # target_defaults 2868 }, # target_defaults
2827 }], # OS=="mac" 2869 }], # OS=="mac"
2870 ['OS=="ios"', {
2871 'target_defaults': {
2872 'defines': [
2873 # There is no predefined CPP symbol for iOS. One can use
2874 # TARGET_OS_IPHONE, but that is defined via AvailabilityMacros.h and
2875 # TargetConditionals.h (from the SDK headers). To avoid dragging
2876 # those into build_config.h, this provides a symbol to tell when
2877 # the build is targeting Mac OS X or iOS.
2878 'MAC_TGT_IOS=1',
Mark Mentovai 2012/06/29 13:31:25 I think this is a little hairy and I’m not convinc
stuartmorgan 2012/06/29 14:58:25 Done.
2879 ],
2880 # If building for iOS, it means Xcode 4.2+. So no gcc is available, so
Mark Mentovai 2012/06/29 13:31:25 Don’t start sentences with so! This comment seems
stuartmorgan 2012/06/29 14:58:25 Yeah, it predates the switch. I'll just remove the
2881 # use clang instead.
2882 'xcode_settings' : {
2883 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
2884
2885 # This next block is mostly common with the 'mac' section above,
2886 # but keying off (or setting) 'clang' isn't valid for iOS as it
2887 # also seems to mean using the custom build of clang.
2888
2889 # Don't use -Wc++0x-extensions, which Xcode 4 enables by default
2890 # when buliding with clang. This warning is triggered when the
2891 # override keyword is used via the OVERRIDE macro from
2892 # base/compiler_specific.h.
2893 'CLANG_WARN_CXX0X_EXTENSIONS': 'NO',
2894 'WARNING_CFLAGS': [
2895 '-Wheader-hygiene',
2896 # Don't die on dtoa code that uses a char as an array index.
2897 # This is required solely for base/third_party/dmg_fp/dtoa.cc.
2898 '-Wno-char-subscripts',
2899 # Clang spots more unused functions.
2900 '-Wno-unused-function',
2901 # See comments on this flag higher up in this file.
2902 '-Wno-unnamed-type-template-args',
2903 # This (rightyfully) complains about 'override', which we use
2904 # heavily.
2905 '-Wno-c++11-extensions',
2906 ],
2907 },
2908 'target_conditions': [
2909 ['_type=="executable"', {
2910 'configurations': {
2911 'Release_Base': {
2912 'xcode_settings': {
2913 'DEPLOYMENT_POSTPROCESSING': 'YES',
2914 'STRIP_INSTALLED_PRODUCT': 'YES',
2915 },
2916 },
2917 },
2918 'xcode_settings': {
2919 'conditions': [
2920 ['chromium_ios_signing', {
2921 # iOS SDK wants everything for device signed.
2922 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer',
2923 }, {
2924 'CODE_SIGNING_REQUIRED': 'NO',
2925 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': '',
2926 }],
2927 ],
2928 },
2929 }],
2930 ], # target_conditions
2931 }, # target_defaults
2932 }], # OS=="ios"
2828 ['OS=="win"', { 2933 ['OS=="win"', {
2829 'target_defaults': { 2934 'target_defaults': {
2830 'defines': [ 2935 'defines': [
2831 '_WIN32_WINNT=0x0601', 2936 '_WIN32_WINNT=0x0601',
2832 'WINVER=0x0601', 2937 'WINVER=0x0601',
2833 'WIN32', 2938 'WIN32',
2834 '_WINDOWS', 2939 '_WINDOWS',
2835 'NOMINMAX', 2940 'NOMINMAX',
2836 'PSAPI_VERSION=1', 2941 'PSAPI_VERSION=1',
2837 '_CRT_RAND_S', 2942 '_CRT_RAND_S',
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
3104 ['LINK.host', '<!(which g++)'], 3209 ['LINK.host', '<!(which g++)'],
3105 ], 3210 ],
3106 }], 3211 }],
3107 ], 3212 ],
3108 'xcode_settings': { 3213 'xcode_settings': {
3109 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! 3214 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT!
3110 # This block adds *project-wide* configuration settings to each project 3215 # This block adds *project-wide* configuration settings to each project
3111 # file. It's almost always wrong to put things here. Specify your 3216 # file. It's almost always wrong to put things here. Specify your
3112 # custom xcode_settings in target_defaults to add them to targets instead. 3217 # custom xcode_settings in target_defaults to add them to targets instead.
3113 3218
3114 # In an Xcode Project Info window, the "Base SDK for All Configurations" 3219 'conditions': [
3115 # setting sets the SDK on a project-wide basis. In order to get the 3220 ['OS=="mac"', {
3116 # configured SDK to show properly in the Xcode UI, SDKROOT must be set 3221 # In an Xcode Project Info window, the "Base SDK for All Configurations"
3117 # here at the project level. 3222 # setting sets the SDK on a project-wide basis. In order to get the
3118 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot 3223 # configured SDK to show properly in the Xcode UI, SDKROOT must be set
3224 # here at the project level.
3225 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot
3226 }],
3227 ['OS=="ios"', {
3228 # iPhone and iPad targets
3229 'TARGETED_DEVICE_FAMILY': '1,2',
Mark Mentovai 2012/06/29 13:31:25 What’s this do? A comment could help. Should this
stuartmorgan 2012/06/29 14:58:25 The comment above is actually about this line; I'l
3230 'SDKROOT': 'iphoneos<(ios_sdk)', # -isysroot
3231 'IPHONEOS_DEPLOYMENT_TARGET': '<(ios_deployment_target)',
3232 # Just build armv7 since we're 4.3+ and that is the only chip set we
Mark Mentovai 2012/06/29 13:31:25 Reword without saying “we.”
stuartmorgan 2012/06/29 14:58:25 Done.
3233 # need to support.
3234 'ARCHS': '$(ARCHS_UNIVERSAL_IPHONE_OS)',
3235 }],
3236 ],
3119 3237
3120 # The Xcode generator will look for an xcode_settings section at the root 3238 # The Xcode generator will look for an xcode_settings section at the root
3121 # of each dict and use it to apply settings on a file-wide basis. Most 3239 # of each dict and use it to apply settings on a file-wide basis. Most
3122 # settings should not be here, they should be in target-specific 3240 # settings should not be here, they should be in target-specific
3123 # xcode_settings sections, or better yet, should use non-Xcode-specific 3241 # xcode_settings sections, or better yet, should use non-Xcode-specific
3124 # settings in target dicts. SYMROOT is a special case, because many other 3242 # settings in target dicts. SYMROOT is a special case, because many other
3125 # Xcode variables depend on it, including variables such as 3243 # Xcode variables depend on it, including variables such as
3126 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3244 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3127 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3245 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3128 # files to appear (when present) in the UI as actual files and not red 3246 # files to appear (when present) in the UI as actual files and not red
3129 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3247 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3130 # and therefore SYMROOT, needs to be set at the project level. 3248 # and therefore SYMROOT, needs to be set at the project level.
3131 'SYMROOT': '<(DEPTH)/xcodebuild', 3249 'SYMROOT': '<(DEPTH)/xcodebuild',
3132 }, 3250 },
3133 } 3251 }
OLDNEW
« build/build_config.h ('K') | « build/build_config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698