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

Side by Side Diff: build/common.gypi

Issue 225093005: Linux: Add yet another workaround to keep 32-bit linkers from going OOM. (try 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 3788 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ['target_arch=="ia32" and OS!="android"', { 3809 ['linux_use_gold_binary==0 and OS!="android"', {
3810 'target_conditions': [ 3810 'target_conditions': [
3811 ['_toolset=="target"', { 3811 ['_toolset=="target"', {
3812 'ldflags': [ 3812 'ldflags': [
3813 # Workaround for linker OOM. 3813 # Workarounds for linker OOM.
3814 '-Wl,--no-keep-memory', 3814 '-Wl,--no-keep-memory',
3815 '-Wl,--reduce-memory-overheads',
3815 ], 3816 ],
3816 }], 3817 }],
3817 ], 3818 ],
3818 }], 3819 }],
3819 ], 3820 ],
3820 }], 3821 }],
3821 # TODO(dmikurube): Kill {linux|android}_use_tcmalloc. http://crbug.com /345554 3822 # TODO(dmikurube): Kill {linux|android}_use_tcmalloc. http://crbug.com /345554
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)))', { 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)))', {
3823 'defines': ['NO_TCMALLOC'], 3824 'defines': ['NO_TCMALLOC'],
3824 }], 3825 }],
(...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after
5216 # settings in target dicts. SYMROOT is a special case, because many other 5217 # settings in target dicts. SYMROOT is a special case, because many other
5217 # Xcode variables depend on it, including variables such as 5218 # Xcode variables depend on it, including variables such as
5218 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5219 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5219 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5220 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5220 # files to appear (when present) in the UI as actual files and not red 5221 # files to appear (when present) in the UI as actual files and not red
5221 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5222 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5222 # and therefore SYMROOT, needs to be set at the project level. 5223 # and therefore SYMROOT, needs to be set at the project level.
5223 'SYMROOT': '<(DEPTH)/xcodebuild', 5224 'SYMROOT': '<(DEPTH)/xcodebuild',
5224 }, 5225 },
5225 } 5226 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698