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_flags==0 and OS!="android"', { | 3809 ['target_arch=="ia32" and OS!="android"', { |
3810 'target_conditions': [ | 3810 'target_conditions': [ |
3811 ['_toolset=="target"', { | 3811 ['_toolset=="target"', { |
3812 'ldflags': [ | 3812 'ldflags': [ |
3813 # Workarounds for linker OOM. | 3813 # Workaround for linker OOM. |
3814 '-Wl,--no-keep-memory', | 3814 '-Wl,--no-keep-memory', |
3815 '-Wl,--reduce-memory-overheads', | |
3816 ], | 3815 ], |
3817 }], | 3816 }], |
3818 ], | 3817 ], |
3819 }], | 3818 }], |
3820 ], | 3819 ], |
3821 }], | 3820 }], |
3822 # TODO(dmikurube): Kill {linux|android}_use_tcmalloc. http://crbug.com
/345554 | 3821 # TODO(dmikurube): Kill {linux|android}_use_tcmalloc. http://crbug.com
/345554 |
3823 ['use_allocator!="tcmalloc" and (use_allocator!="see_use_tcmalloc" or
((OS=="linux" and linux_use_tcmalloc==0) or (OS=="android" and android_use_tcmal
loc==0)))', { | 3822 ['use_allocator!="tcmalloc" and (use_allocator!="see_use_tcmalloc" or
((OS=="linux" and linux_use_tcmalloc==0) or (OS=="android" and android_use_tcmal
loc==0)))', { |
3824 'defines': ['NO_TCMALLOC'], | 3823 'defines': ['NO_TCMALLOC'], |
3825 }], | 3824 }], |
(...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5217 # settings in target dicts. SYMROOT is a special case, because many other | 5216 # settings in target dicts. SYMROOT is a special case, because many other |
5218 # Xcode variables depend on it, including variables such as | 5217 # Xcode variables depend on it, including variables such as |
5219 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5218 # 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 | 5219 # 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 | 5220 # 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, | 5221 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5223 # and therefore SYMROOT, needs to be set at the project level. | 5222 # and therefore SYMROOT, needs to be set at the project level. |
5224 'SYMROOT': '<(DEPTH)/xcodebuild', | 5223 'SYMROOT': '<(DEPTH)/xcodebuild', |
5225 }, | 5224 }, |
5226 } | 5225 } |
OLD | NEW |