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 3788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3799 # Avoids errors with current NDK: | 3799 # Avoids errors with current NDK: |
3800 # "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" | 3800 # "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" |
3801 '-finstrument-functions-exclude-file-list=arm_neon.h', | 3801 '-finstrument-functions-exclude-file-list=arm_neon.h', |
3802 ], | 3802 ], |
3803 }], | 3803 }], |
3804 ], | 3804 ], |
3805 }], | 3805 }], |
3806 ['linux_dump_symbols==1', { | 3806 ['linux_dump_symbols==1', { |
3807 'cflags': [ '-g' ], | 3807 'cflags': [ '-g' ], |
3808 'conditions': [ | 3808 'conditions': [ |
3809 ['linux_use_gold_binary==0 and OS!="android"', { | 3809 # TODO(thestig) We should not need to specify chromeos==0 here, |
| 3810 # but somehow ChromeOS uses gold despite linux_use_gold_binary==0. |
| 3811 # http://crbug.com./360082 |
| 3812 ['linux_use_gold_binary==0 and chromeos==0 and OS!="android"', { |
3810 'target_conditions': [ | 3813 'target_conditions': [ |
3811 ['_toolset=="target"', { | 3814 ['_toolset=="target"', { |
3812 'ldflags': [ | 3815 'ldflags': [ |
3813 # Workarounds for linker OOM. | 3816 # Workarounds for linker OOM. |
3814 '-Wl,--no-keep-memory', | 3817 '-Wl,--no-keep-memory', |
3815 '-Wl,--reduce-memory-overheads', | 3818 '-Wl,--reduce-memory-overheads', |
3816 ], | 3819 ], |
3817 }], | 3820 }], |
3818 ], | 3821 ], |
3819 }], | 3822 }], |
(...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5217 # settings in target dicts. SYMROOT is a special case, because many other | 5220 # settings in target dicts. SYMROOT is a special case, because many other |
5218 # Xcode variables depend on it, including variables such as | 5221 # Xcode variables depend on it, including variables such as |
5219 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5222 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5220 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5223 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5221 # files to appear (when present) in the UI as actual files and not red | 5224 # files to appear (when present) in the UI as actual files and not red |
5222 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5225 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5223 # and therefore SYMROOT, needs to be set at the project level. | 5226 # and therefore SYMROOT, needs to be set at the project level. |
5224 'SYMROOT': '<(DEPTH)/xcodebuild', | 5227 'SYMROOT': '<(DEPTH)/xcodebuild', |
5225 }, | 5228 }, |
5226 } | 5229 } |
OLD | NEW |