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 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
742 # be used except on x86 and x86-64 (the only two architectures which | 742 # be used except on x86 and x86-64 (the only two architectures which |
743 # are currently checke in). Force this off via GYP_DEFINES when you | 743 # are currently checke in). Force this off via GYP_DEFINES when you |
744 # are using a custom toolchain and need to control -B in cflags. | 744 # are using a custom toolchain and need to control -B in cflags. |
745 ['OS=="linux" and (target_arch=="x64")', { | 745 ['OS=="linux" and (target_arch=="x64")', { |
746 'linux_use_bundled_binutils%': 1, | 746 'linux_use_bundled_binutils%': 1, |
747 }, { | 747 }, { |
748 'linux_use_bundled_binutils%': 0, | 748 'linux_use_bundled_binutils%': 0, |
749 }], | 749 }], |
750 | 750 |
751 # linux_use_gold_flags: whether to use build flags that rely on gold. | 751 # linux_use_gold_flags: whether to use build flags that rely on gold. |
752 # On by default for x64 Linux. Temporarily off for ChromeOS as | 752 # On by default for x64 Linux. |
753 # it failed on a buildbot. | 753 ['OS=="linux" and target_arch=="x64"', { |
Lei Zhang
2014/04/18 06:42:40
The .ebuild controls this for full ChromeOS builds
| |
754 ['OS=="linux" and target_arch=="x64" and chromeos==0', { | |
755 'linux_use_gold_flags%': 1, | 754 'linux_use_gold_flags%': 1, |
756 }, { | 755 }, { |
757 'linux_use_gold_flags%': 0, | 756 'linux_use_gold_flags%': 0, |
758 }], | 757 }], |
759 | 758 |
760 ['OS=="android" or OS=="ios"', { | 759 ['OS=="android" or OS=="ios"', { |
761 'enable_captive_portal_detection%': 0, | 760 'enable_captive_portal_detection%': 0, |
762 }, { | 761 }, { |
763 'enable_captive_portal_detection%': 1, | 762 'enable_captive_portal_detection%': 1, |
764 }], | 763 }], |
(...skipping 3024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3789 # Avoids errors with current NDK: | 3788 # Avoids errors with current NDK: |
3790 # "third_party/android_tools/ndk/toolchains/arm-linux-androide abi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/a rm_neon.h:3426:3: error: argument must be a constant" | 3789 # "third_party/android_tools/ndk/toolchains/arm-linux-androide abi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/a rm_neon.h:3426:3: error: argument must be a constant" |
3791 '-finstrument-functions-exclude-file-list=arm_neon.h', | 3790 '-finstrument-functions-exclude-file-list=arm_neon.h', |
3792 ], | 3791 ], |
3793 }], | 3792 }], |
3794 ], | 3793 ], |
3795 }], | 3794 }], |
3796 ['linux_dump_symbols==1', { | 3795 ['linux_dump_symbols==1', { |
3797 'cflags': [ '-g' ], | 3796 'cflags': [ '-g' ], |
3798 'conditions': [ | 3797 'conditions': [ |
3799 # TODO(thestig) We should not need to specify chromeos==0 here, | 3798 ['linux_use_gold_flags==0 and OS!="android"', { |
3800 # but somehow ChromeOS uses gold despite linux_use_bundled_gold==0 . | |
3801 # http://crbug.com./360082 | |
3802 ['linux_use_bundled_gold==0 and chromeos==0 and OS!="android"', { | |
3803 'target_conditions': [ | 3799 'target_conditions': [ |
3804 ['_toolset=="target"', { | 3800 ['_toolset=="target"', { |
3805 'ldflags': [ | 3801 'ldflags': [ |
3806 # Workarounds for linker OOM. | 3802 # Workarounds for linker OOM. |
3807 '-Wl,--no-keep-memory', | 3803 '-Wl,--no-keep-memory', |
3808 '-Wl,--reduce-memory-overheads', | 3804 '-Wl,--reduce-memory-overheads', |
3809 ], | 3805 ], |
3810 }], | 3806 }], |
3811 ], | 3807 ], |
3812 }], | 3808 }], |
(...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5203 # settings in target dicts. SYMROOT is a special case, because many other | 5199 # settings in target dicts. SYMROOT is a special case, because many other |
5204 # Xcode variables depend on it, including variables such as | 5200 # Xcode variables depend on it, including variables such as |
5205 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5201 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5206 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5202 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5207 # files to appear (when present) in the UI as actual files and not red | 5203 # files to appear (when present) in the UI as actual files and not red |
5208 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5204 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5209 # and therefore SYMROOT, needs to be set at the project level. | 5205 # and therefore SYMROOT, needs to be set at the project level. |
5210 'SYMROOT': '<(DEPTH)/xcodebuild', | 5206 'SYMROOT': '<(DEPTH)/xcodebuild', |
5211 }, | 5207 }, |
5212 } | 5208 } |
OLD | NEW |