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

Side by Side Diff: build/common.gypi

Issue 897163002: Always use the 64 bit linker on Linux 32 bit builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« 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 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 'linux_use_bundled_gold%': '1',
1595 'binutils_dir%': 'third_party/binutils/Linux_x64/Release/bin',
1596 }],
1591 # All Chrome builds have breakpad symbols, but only process the 1597 # All Chrome builds have breakpad symbols, but only process the
1592 # symbols from official builds. 1598 # symbols from official builds.
1593 ['(branding=="Chrome" and buildtype=="Official")', { 1599 ['(branding=="Chrome" and buildtype=="Official")', {
1594 'linux_dump_symbols%': 1, 1600 'linux_dump_symbols%': 1,
1595 1601
1596 # Omit unwind support in official release builds to save space. We 1602 # Omit unwind support in official release builds to save space. We
1597 # can use breakpad for these builds. 1603 # can use breakpad for these builds.
1598 'release_unwind_tables%': 0, 1604 '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 }], 1605 }],
1610 ], 1606 ],
1611 }], # os_posix==1 and OS!="mac" and OS!="ios" 1607 }], # os_posix==1 and OS!="mac" and OS!="ios"
1612 ['OS=="ios"', { 1608 ['OS=="ios"', {
1613 'disable_nacl%': 1, 1609 'disable_nacl%': 1,
1614 'enable_background%': 0, 1610 'enable_background%': 0,
1615 'icu_use_data_file_flag%': 1, 1611 'icu_use_data_file_flag%': 1,
1616 'enable_web_speech%': 0, 1612 'enable_web_speech%': 0,
1617 'use_system_libxml%': 1, 1613 'use_system_libxml%': 1,
1618 'use_system_sqlite%': 1, 1614 'use_system_sqlite%': 1,
(...skipping 4270 matching lines...) Expand 10 before | Expand all | Expand 10 after
5889 # settings in target dicts. SYMROOT is a special case, because many other 5885 # settings in target dicts. SYMROOT is a special case, because many other
5890 # Xcode variables depend on it, including variables such as 5886 # Xcode variables depend on it, including variables such as
5891 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5887 # 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 5888 # 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 5889 # 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, 5890 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5895 # and therefore SYMROOT, needs to be set at the project level. 5891 # and therefore SYMROOT, needs to be set at the project level.
5896 'SYMROOT': '<(DEPTH)/xcodebuild', 5892 'SYMROOT': '<(DEPTH)/xcodebuild',
5897 }, 5893 },
5898 } 5894 }
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