OLD | NEW |
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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 # Set to 1 to not store any build metadata, e.g. ifdef out all __DATE__ | 311 # Set to 1 to not store any build metadata, e.g. ifdef out all __DATE__ |
312 # and __TIME__. Set to 0 to reenable the use of these macros in the code | 312 # and __TIME__. Set to 0 to reenable the use of these macros in the code |
313 # base. See http://crbug.com/314403. | 313 # base. See http://crbug.com/314403. |
314 'dont_embed_build_metadata%': 1, | 314 'dont_embed_build_metadata%': 1, |
315 | 315 |
316 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. | 316 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. |
317 # This is useful for parallel compilation tools which can't support /Zi. | 317 # This is useful for parallel compilation tools which can't support /Zi. |
318 # Only used on Windows. | 318 # Only used on Windows. |
319 'win_z7%' : 0, | 319 'win_z7%' : 0, |
320 | 320 |
321 # Set to 1 to enable dcheck in release. | 321 # Set to 1 to enable dcheck in Release build. |
322 'dcheck_always_on%': 0, | 322 'dcheck_always_on%': 0, |
323 | 323 |
324 # Set to 1 to make a build that disables unshipped tracing events. | 324 # Set to 1 to make a build that disables unshipped tracing events. |
325 # Note: this setting is ignored if buildtype=="Official". | 325 # Note: this setting is ignored if buildtype=="Official". |
326 'tracing_like_official_build%': 0, | 326 'tracing_like_official_build%': 0, |
327 | 327 |
328 # Disable image loader component extension by default. | 328 # Disable image loader component extension by default. |
329 'image_loader_extension%': 0, | 329 'image_loader_extension%': 0, |
330 | 330 |
331 # Set NEON compilation flags. | 331 # Set NEON compilation flags. |
(...skipping 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1581 ['target_arch=="mipsel" or target_arch=="mips64el"', { | 1581 ['target_arch=="mipsel" or target_arch=="mips64el"', { |
1582 'werror%': '', | 1582 'werror%': '', |
1583 'disable_nacl%': 1, | 1583 'disable_nacl%': 1, |
1584 'nacl_untrusted_build%': 0, | 1584 'nacl_untrusted_build%': 0, |
1585 'use_allocator%': 'none', | 1585 'use_allocator%': 'none', |
1586 }], | 1586 }], |
1587 ['OS=="linux" and target_arch=="mipsel"', { | 1587 ['OS=="linux" and target_arch=="mipsel"', { |
1588 'sysroot%': '<(sysroot)', | 1588 'sysroot%': '<(sysroot)', |
1589 'CXX%': '<(CXX)', | 1589 'CXX%': '<(CXX)', |
1590 }], | 1590 }], |
| 1591 # Use a 64-bit linker to avoid running out of address space. The |
| 1592 # buildbots should have a 64-bit kernel and a 64-bit libc installed. |
| 1593 ['host_arch=="ia32" and target_arch=="ia32"', { |
| 1594 # TODO(thestig) This is a horrible way to force the desired |
| 1595 # configuration. Our gyp variable scoping is likely wrong and |
| 1596 # needs to be cleaned up. The GN configuration should be changed |
| 1597 # to match. |
| 1598 'binutils_version%': 224, |
| 1599 'linux_use_bundled_binutils%': '1', |
| 1600 'linux_use_bundled_gold%': '1', |
| 1601 'binutils_dir%': 'third_party/binutils/Linux_x64/Release/bin', |
| 1602 }], |
1591 # All Chrome builds have breakpad symbols, but only process the | 1603 # All Chrome builds have breakpad symbols, but only process the |
1592 # symbols from official builds. | 1604 # symbols from official builds. |
1593 ['(branding=="Chrome" and buildtype=="Official")', { | 1605 ['(branding=="Chrome" and buildtype=="Official")', { |
1594 'linux_dump_symbols%': 1, | 1606 'linux_dump_symbols%': 1, |
1595 | 1607 |
1596 # Omit unwind support in official release builds to save space. We | 1608 # Omit unwind support in official release builds to save space. We |
1597 # can use breakpad for these builds. | 1609 # can use breakpad for these builds. |
1598 'release_unwind_tables%': 0, | 1610 'release_unwind_tables%': 0, |
1599 | |
1600 'conditions': [ | |
1601 # For official builds, use a 64-bit linker to avoid running out | |
1602 # of address space. The buildbots should have a 64-bit kernel | |
1603 # and a 64-bit libc installed. | |
1604 ['host_arch=="ia32" and target_arch=="ia32"', { | |
1605 'linux_use_bundled_gold%': '1', | |
1606 'binutils_dir%': 'third_party/binutils/Linux_x64/Release/bin', | |
1607 }], | |
1608 ], | |
1609 }], | 1611 }], |
1610 ], | 1612 ], |
1611 }], # os_posix==1 and OS!="mac" and OS!="ios" | 1613 }], # os_posix==1 and OS!="mac" and OS!="ios" |
1612 ['OS=="ios"', { | 1614 ['OS=="ios"', { |
1613 'disable_nacl%': 1, | 1615 'disable_nacl%': 1, |
1614 'enable_background%': 0, | 1616 'enable_background%': 0, |
1615 'icu_use_data_file_flag%': 1, | 1617 'icu_use_data_file_flag%': 1, |
1616 'enable_web_speech%': 0, | 1618 'enable_web_speech%': 0, |
1617 'use_system_libxml%': 1, | 1619 'use_system_libxml%': 1, |
1618 'use_system_sqlite%': 1, | 1620 'use_system_sqlite%': 1, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1659 'android_host_arch%': '<!(uname -m)', | 1661 'android_host_arch%': '<!(uname -m)', |
1660 # Android API-level of the SDK used for compilation. | 1662 # Android API-level of the SDK used for compilation. |
1661 'android_sdk_version%': '21', | 1663 'android_sdk_version%': '21', |
1662 'android_sdk_build_tools_version%': '21.0.1', | 1664 'android_sdk_build_tools_version%': '21.0.1', |
1663 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')", | 1665 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')", |
1664 }, | 1666 }, |
1665 # Copy conditionally-set variables out one scope. | 1667 # Copy conditionally-set variables out one scope. |
1666 'android_ndk_root%': '<(android_ndk_root)', | 1668 'android_ndk_root%': '<(android_ndk_root)', |
1667 'android_sdk_root%': '<(android_sdk_root)', | 1669 'android_sdk_root%': '<(android_sdk_root)', |
1668 'android_sdk_version%': '<(android_sdk_version)', | 1670 'android_sdk_version%': '<(android_sdk_version)', |
1669 'android_stlport_root': '<(android_ndk_root)/sources/cxx-stl/stlport', | 1671 'android_libcpp_root': '<(android_ndk_root)/sources/cxx-stl/llvm-libc+
+', |
1670 'host_os%': '<(host_os)', | 1672 'host_os%': '<(host_os)', |
1671 | 1673 |
1672 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_v
ersion)', | 1674 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_v
ersion)', |
1673 # Android SDK build tools (e.g. dx, aapt, aidl) | 1675 # Android SDK build tools (e.g. dx, aapt, aidl) |
1674 'android_sdk_tools%': '<(android_sdk_root)/build-tools/<(android_sdk_b
uild_tools_version)', | 1676 'android_sdk_tools%': '<(android_sdk_root)/build-tools/<(android_sdk_b
uild_tools_version)', |
1675 | 1677 |
1676 # Android API level 14 is ICS (Android 4.0) which is the minimum | 1678 # Android API level 14 is ICS (Android 4.0) which is the minimum |
1677 # platform requirement for Chrome on Android, we use it for native | 1679 # platform requirement for Chrome on Android, we use it for native |
1678 # code compilation. | 1680 # code compilation. |
1679 'conditions': [ | 1681 'conditions': [ |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1736 'android_sdk_root%': '<(android_sdk_root)', | 1738 'android_sdk_root%': '<(android_sdk_root)', |
1737 'android_sdk_version%': '<(android_sdk_version)', | 1739 'android_sdk_version%': '<(android_sdk_version)', |
1738 'android_toolchain%': '<(android_toolchain)', | 1740 'android_toolchain%': '<(android_toolchain)', |
1739 | 1741 |
1740 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', | 1742 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', |
1741 'android_ndk_lib': '<(android_ndk_sysroot)/<(android_ndk_lib_dir)', | 1743 'android_ndk_lib': '<(android_ndk_sysroot)/<(android_ndk_lib_dir)', |
1742 'android_sdk_tools%': '<(android_sdk_tools)', | 1744 'android_sdk_tools%': '<(android_sdk_tools)', |
1743 'android_sdk%': '<(android_sdk)', | 1745 'android_sdk%': '<(android_sdk)', |
1744 'android_sdk_jar%': '<(android_sdk)/android.jar', | 1746 'android_sdk_jar%': '<(android_sdk)/android.jar', |
1745 | 1747 |
1746 'android_stlport_root': '<(android_stlport_root)', | 1748 'android_libcpp_root': '<(android_libcpp_root)', |
1747 'android_stlport_include': '<(android_stlport_root)/stlport', | 1749 'android_libcpp_include': '<(android_libcpp_root)/libcxx/include', |
1748 'android_stlport_libs_dir': '<(android_stlport_root)/libs/<(android_app_
abi)', | 1750 'android_libcpp_libs_dir': '<(android_libcpp_root)/libs/<(android_app_ab
i)', |
| 1751 |
1749 'host_os%': '<(host_os)', | 1752 'host_os%': '<(host_os)', |
1750 | 1753 |
1751 # Location of the "objcopy" binary, used by both gyp and scripts. | 1754 # Location of the "objcopy" binary, used by both gyp and scripts. |
1752 'android_objcopy%' : '<!(/bin/echo -n <(android_toolchain)/*-objcopy)', | 1755 'android_objcopy%' : '<!(/bin/echo -n <(android_toolchain)/*-objcopy)', |
1753 | 1756 |
1754 # Location of the "strip" binary, used by both gyp and scripts. | 1757 # Location of the "strip" binary, used by both gyp and scripts. |
1755 'android_strip%' : '<!(/bin/echo -n <(android_toolchain)/*-strip)', | 1758 'android_strip%' : '<!(/bin/echo -n <(android_toolchain)/*-strip)', |
1756 | 1759 |
1757 # Location of the "readelf" binary. | 1760 # Location of the "readelf" binary. |
1758 'android_readelf%' : '<!(/bin/echo -n <(android_toolchain)/*-readelf)', | 1761 'android_readelf%' : '<!(/bin/echo -n <(android_toolchain)/*-readelf)', |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2136 'grit_defines': ['-D', 'enable_service_discovery'], | 2139 'grit_defines': ['-D', 'enable_service_discovery'], |
2137 'enable_service_discovery%': 1 | 2140 'enable_service_discovery%': 1 |
2138 }], | 2141 }], |
2139 ['clang_use_chrome_plugins==1 and OS!="win"', { | 2142 ['clang_use_chrome_plugins==1 and OS!="win"', { |
2140 'clang_chrome_plugins_flags': [ | 2143 'clang_chrome_plugins_flags': [ |
2141 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' | 2144 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' |
2142 ], | 2145 ], |
2143 'conditions': [ | 2146 'conditions': [ |
2144 # TODO(dcheng): https://crbug.com/417463 -- work to enable this flag | 2147 # TODO(dcheng): https://crbug.com/417463 -- work to enable this flag |
2145 # on all platforms is currently underway. | 2148 # on all platforms is currently underway. |
2146 ['OS=="linux" or OS=="mac" or OS=="ios"', { | 2149 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="ios"', { |
2147 'clang_chrome_plugins_flags': [ | 2150 'clang_chrome_plugins_flags': [ |
2148 '-Xclang', | 2151 '-Xclang', |
2149 '-plugin-arg-find-bad-constructs', | 2152 '-plugin-arg-find-bad-constructs', |
2150 '-Xclang', | 2153 '-Xclang', |
2151 'strict-virtual-specifiers', | 2154 'strict-virtual-specifiers', |
2152 ], | 2155 ], |
2153 }], | 2156 }], |
2154 ], | 2157 ], |
2155 }], | 2158 }], |
2156 ['asan==1 or msan==1 or lsan==1 or tsan==1', { | 2159 ['asan==1 or msan==1 or lsan==1 or tsan==1', { |
(...skipping 2239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4396 'ldflags': [ '-fuse-ld=gold', ], | 4399 'ldflags': [ '-fuse-ld=gold', ], |
4397 | 4400 |
4398 'target_conditions': [ | 4401 'target_conditions': [ |
4399 ['_toolset=="target"', { | 4402 ['_toolset=="target"', { |
4400 'ldflags': [ | 4403 'ldflags': [ |
4401 # Experimentation found that using four linking threads | 4404 # Experimentation found that using four linking threads |
4402 # saved ~20% of link time. | 4405 # saved ~20% of link time. |
4403 # https://groups.google.com/a/chromium.org/group/chromium-dev/
browse_thread/thread/281527606915bb36 | 4406 # https://groups.google.com/a/chromium.org/group/chromium-dev/
browse_thread/thread/281527606915bb36 |
4404 # Only apply this to the target linker, since the host | 4407 # Only apply this to the target linker, since the host |
4405 # linker might not be gold, but isn't used much anyway. | 4408 # linker might not be gold, but isn't used much anyway. |
4406 # TODO(raymes): Disable threading because gold is frequently | 4409 '-Wl,--threads', |
4407 # crashing on the bots: crbug.com/161942. | 4410 '-Wl,--thread-count=4', |
4408 # '-Wl,--threads', | |
4409 # '-Wl,--thread-count=4', | |
4410 ], | 4411 ], |
4411 }], | 4412 }], |
4412 ], | 4413 ], |
4413 'conditions': [ | 4414 'conditions': [ |
4414 ['release_valgrind_build==0 and order_profiling==0', { | 4415 ['release_valgrind_build==0 and order_profiling==0', { |
4415 'target_conditions': [ | 4416 'target_conditions': [ |
4416 ['_toolset=="target"', { | 4417 ['_toolset=="target"', { |
4417 'ldflags': [ | 4418 'ldflags': [ |
4418 '-Wl,--icf=safe', | 4419 '-Wl,--icf=safe', |
4419 ], | 4420 ], |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4491 ['OS=="android"', { | 4492 ['OS=="android"', { |
4492 'variables': { | 4493 'variables': { |
4493 # This is a unique identifier for a given build. It's used for | 4494 # This is a unique identifier for a given build. It's used for |
4494 # identifying various build artifacts corresponding to a particular | 4495 # identifying various build artifacts corresponding to a particular |
4495 # build of chrome (e.g. where to find archived symbols). | 4496 # build of chrome (e.g. where to find archived symbols). |
4496 'chrome_build_id%': '', | 4497 'chrome_build_id%': '', |
4497 'conditions': [ | 4498 'conditions': [ |
4498 # Figure this out early since it needs symbols from libgcc.a, so it | 4499 # Figure this out early since it needs symbols from libgcc.a, so it |
4499 # has to be before that in the set of libraries. | 4500 # has to be before that in the set of libraries. |
4500 ['component=="shared_library"', { | 4501 ['component=="shared_library"', { |
4501 'android_stlport_library': 'stlport_shared', | 4502 'android_libcpp_library': 'c++_shared', |
4502 }, { | 4503 }, { |
4503 'android_stlport_library': 'stlport_static', | 4504 'android_libcpp_library': 'c++_static', |
4504 }], | 4505 }], |
4505 ], | 4506 ], |
4506 | 4507 |
4507 # Placing this variable here prevents from forking libvpx, used | 4508 # Placing this variable here prevents from forking libvpx, used |
4508 # by remoting. Remoting is off, so it needn't built, | 4509 # by remoting. Remoting is off, so it needn't built, |
4509 # so forking it's deps seems like overkill. | 4510 # so forking it's deps seems like overkill. |
4510 # But this variable need defined to properly run gyp. | 4511 # But this variable need defined to properly run gyp. |
4511 # A proper solution is to have an OS==android conditional | 4512 # A proper solution is to have an OS==android conditional |
4512 # in third_party/libvpx/libvpx.gyp to define it. | 4513 # in third_party/libvpx/libvpx.gyp to define it. |
4513 'libvpx_path': 'lib/linux/arm', | 4514 'libvpx_path': 'lib/linux/arm', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4577 '-g', | 4578 '-g', |
4578 '-fstack-protector', | 4579 '-fstack-protector', |
4579 '-fno-short-enums', | 4580 '-fno-short-enums', |
4580 '-finline-limit=64', | 4581 '-finline-limit=64', |
4581 '-Wa,--noexecstack', | 4582 '-Wa,--noexecstack', |
4582 '<@(release_extra_cflags)', | 4583 '<@(release_extra_cflags)', |
4583 ], | 4584 ], |
4584 'defines': [ | 4585 'defines': [ |
4585 'ANDROID', | 4586 'ANDROID', |
4586 '__GNU_SOURCE=1', # Necessary for clone() | 4587 '__GNU_SOURCE=1', # Necessary for clone() |
4587 'USE_STLPORT=1', | |
4588 '_STLP_USE_PTR_SPECIALIZATIONS=1', | |
4589 'CHROME_BUILD_ID="<(chrome_build_id)"', | 4588 'CHROME_BUILD_ID="<(chrome_build_id)"', |
4590 ], | 4589 ], |
4591 'ldflags!': [ | 4590 'ldflags!': [ |
4592 '-pthread', # Not supported by Android toolchain. | 4591 '-pthread', # Not supported by Android toolchain. |
4593 ], | 4592 ], |
4594 'ldflags': [ | 4593 'ldflags': [ |
4595 '-Wl,--no-undefined', | 4594 '-Wl,--no-undefined', |
4596 ], | 4595 ], |
4597 'conditions': [ | 4596 'conditions': [ |
4598 ['component=="static_library"', { | 4597 ['component=="static_library"', { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4652 'HAVE_SYS_UIO_H', | 4651 'HAVE_SYS_UIO_H', |
4653 ], | 4652 ], |
4654 'cflags': [ | 4653 'cflags': [ |
4655 '--sysroot=<(android_ndk_sysroot)', | 4654 '--sysroot=<(android_ndk_sysroot)', |
4656 ], | 4655 ], |
4657 'ldflags': [ | 4656 'ldflags': [ |
4658 '--sysroot=<(android_ndk_sysroot)', | 4657 '--sysroot=<(android_ndk_sysroot)', |
4659 '-nostdlib', | 4658 '-nostdlib', |
4660 ], | 4659 ], |
4661 'libraries': [ | 4660 'libraries': [ |
4662 '-l<(android_stlport_library)', | 4661 '-l<(android_libcpp_library)', |
| 4662 '-latomic', |
4663 # Manually link the libgcc.a that the cross compiler uses. | 4663 # Manually link the libgcc.a that the cross compiler uses. |
4664 '<!(<(android_toolchain)/*-gcc -print-libgcc-file-name)', | 4664 '<!(<(android_toolchain)/*-gcc -print-libgcc-file-name)', |
| 4665 '-lm', |
4665 '-lc', | 4666 '-lc', |
4666 '-ldl', | 4667 '-ldl', |
4667 '-lm', | |
4668 ], | 4668 ], |
4669 }], | 4669 }], |
4670 ['android_webview_build==1', { | 4670 ['android_webview_build==1', { |
4671 'cflags': [ | 4671 'cflags': [ |
4672 # Android predefines this as 1; undefine it here so Chromium | 4672 # Android predefines this as 1; undefine it here so Chromium |
4673 # can redefine it later to be 2 for chromium code and unset | 4673 # can redefine it later to be 2 for chromium code and unset |
4674 # for third party code. This works because cflags are added | 4674 # for third party code. This works because cflags are added |
4675 # before defines. | 4675 # before defines. |
4676 '-U_FORTIFY_SOURCE', | 4676 '-U_FORTIFY_SOURCE', |
4677 # Disable any additional warnings enabled by the Android build
system but which | 4677 # Disable any additional warnings enabled by the Android build
system but which |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4709 ], | 4709 ], |
4710 }], | 4710 }], |
4711 ], | 4711 ], |
4712 }], | 4712 }], |
4713 ['target_arch == "arm" and order_profiling==0', { | 4713 ['target_arch == "arm" and order_profiling==0', { |
4714 'ldflags': [ | 4714 'ldflags': [ |
4715 # Enable identical code folding to reduce size. | 4715 # Enable identical code folding to reduce size. |
4716 '-Wl,--icf=safe', | 4716 '-Wl,--icf=safe', |
4717 ], | 4717 ], |
4718 }], | 4718 }], |
4719 # NOTE: The stlport header include paths below are specified in | |
4720 # cflags rather than include_dirs because they need to come | |
4721 # after include_dirs. Think of them like system headers, but | |
4722 # don't use '-isystem' because the arm-linux-androideabi-4.4.3 | |
4723 # toolchain (circa Gingerbread) will exhibit strange errors. | |
4724 # The include ordering here is important; change with caution. | |
4725 ['android_webview_build==0', { | 4719 ['android_webview_build==0', { |
4726 'cflags': [ | 4720 'cflags': [ |
4727 '-isystem<(android_stlport_include)', | 4721 '-isystem<(android_libcpp_include)', |
| 4722 '-isystem<(android_ndk_root)/sources/cxx-stl/llvm-libc++abi/li
bcxxabi/include', |
| 4723 '-isystem<(android_ndk_root)/sources/android/support/include', |
4728 ], | 4724 ], |
4729 'ldflags': [ | 4725 'ldflags': [ |
4730 '-L<(android_stlport_libs_dir)', | 4726 '-L<(android_libcpp_libs_dir)', |
4731 ], | 4727 ], |
4732 }, { # else: android_webview_build!=0 | 4728 }, { # else: android_webview_build!=0 |
| 4729 'defines': [ |
| 4730 'USE_STLPORT=1', |
| 4731 '_STLP_USE_PTR_SPECIALIZATIONS=1', |
| 4732 ], |
4733 'aosp_build_settings': { | 4733 'aosp_build_settings': { |
4734 # Specify that we want to statically link stlport from the | 4734 # Specify that we want to statically link stlport from the |
4735 # NDK. This will provide all the include and library paths | 4735 # NDK. This will provide all the include and library paths |
4736 # automatically at build time, and link the right library. | 4736 # automatically at build time, and link the right library. |
4737 'LOCAL_NDK_STL_VARIANT': 'stlport_static', | 4737 'LOCAL_NDK_STL_VARIANT': 'stlport_static', |
4738 }, | 4738 }, |
4739 }], | 4739 }], |
4740 ['target_arch=="ia32"', { | 4740 ['target_arch=="ia32"', { |
4741 # The x86 toolchain currently has problems with stack-protector. | 4741 # The x86 toolchain currently has problems with stack-protector. |
4742 'cflags!': [ | 4742 'cflags!': [ |
(...skipping 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5889 # settings in target dicts. SYMROOT is a special case, because many other | 5889 # settings in target dicts. SYMROOT is a special case, because many other |
5890 # Xcode variables depend on it, including variables such as | 5890 # Xcode variables depend on it, including variables such as |
5891 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5891 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5892 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5892 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5893 # files to appear (when present) in the UI as actual files and not red | 5893 # files to appear (when present) in the UI as actual files and not red |
5894 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5894 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5895 # and therefore SYMROOT, needs to be set at the project level. | 5895 # and therefore SYMROOT, needs to be set at the project level. |
5896 'SYMROOT': '<(DEPTH)/xcodebuild', | 5896 'SYMROOT': '<(DEPTH)/xcodebuild', |
5897 }, | 5897 }, |
5898 } | 5898 } |
OLD | NEW |