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

Side by Side Diff: build/common.gypi

Issue 9316002: linux: use an in-tree copy of gold by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« DEPS ('K') | « DEPS ('k') | 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 594
595 # Disable shadow stack keeping used by heapcheck to unwind the stacks 595 # Disable shadow stack keeping used by heapcheck to unwind the stacks
596 # better. 596 # better.
597 'linux_keep_shadow_stacks%': 0, 597 'linux_keep_shadow_stacks%': 0,
598 598
599 # Set to 1 to link against libgnome-keyring instead of using dlopen(). 599 # Set to 1 to link against libgnome-keyring instead of using dlopen().
600 'linux_link_gnome_keyring%': 0, 600 'linux_link_gnome_keyring%': 0,
601 # Set to 1 to link against gsettings APIs instead of using dlopen(). 601 # Set to 1 to link against gsettings APIs instead of using dlopen().
602 'linux_link_gsettings%': 0, 602 'linux_link_gsettings%': 0,
603 603
604 # Set to 0 to not use third_party/gold as the linker.
605 'linux_use_gold_binary%': 1,
606
604 # Set Thumb compilation flags. 607 # Set Thumb compilation flags.
605 'arm_thumb%': 0, 608 'arm_thumb%': 0,
606 609
607 # Set ARM fpu compilation flags (only meaningful if armv7==1 and 610 # Set ARM fpu compilation flags (only meaningful if armv7==1 and
608 # arm_neon==0). 611 # arm_neon==0).
609 'arm_fpu%': 'vfpv3', 612 'arm_fpu%': 'vfpv3',
610 613
611 # Enable new NPDevice API. 614 # Enable new NPDevice API.
612 'enable_new_npdevice_api%': 0, 615 'enable_new_npdevice_api%': 0,
613 616
(...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after
1993 'variables': {'linux_use_tcmalloc%': 1}, 1996 'variables': {'linux_use_tcmalloc%': 1},
1994 'defines': ['USE_HEAPCHECKER'], 1997 'defines': ['USE_HEAPCHECKER'],
1995 }], 1998 }],
1996 ['linux_use_tcmalloc==0', { 1999 ['linux_use_tcmalloc==0', {
1997 'defines': ['NO_TCMALLOC'], 2000 'defines': ['NO_TCMALLOC'],
1998 }], 2001 }],
1999 ['linux_keep_shadow_stacks==1', { 2002 ['linux_keep_shadow_stacks==1', {
2000 'defines': ['KEEP_SHADOW_STACKS'], 2003 'defines': ['KEEP_SHADOW_STACKS'],
2001 'cflags': ['-finstrument-functions'], 2004 'cflags': ['-finstrument-functions'],
2002 }], 2005 }],
2006 ['linux_use_gold_binary==1', {
2007 'target_conditions': [
2008 ['_toolset=="target"', {
2009 'ldflags': [
2010 # Put our gold binary in the search path for the linker.
2011 '-Bthird_party/gold',
2012 ],
2013 }],
2014 ],
2015 }],
2003 ], 2016 ],
2004 }, 2017 },
2005 }], 2018 }],
2006 # FreeBSD-specific options; note that most FreeBSD options are set above, 2019 # FreeBSD-specific options; note that most FreeBSD options are set above,
2007 # with Linux. 2020 # with Linux.
2008 ['OS=="freebsd"', { 2021 ['OS=="freebsd"', {
2009 'target_defaults': { 2022 'target_defaults': {
2010 'ldflags': [ 2023 'ldflags': [
2011 '-Wl,--no-keep-memory', 2024 '-Wl,--no-keep-memory',
2012 ], 2025 ],
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
2748 # settings in target dicts. SYMROOT is a special case, because many other 2761 # settings in target dicts. SYMROOT is a special case, because many other
2749 # Xcode variables depend on it, including variables such as 2762 # Xcode variables depend on it, including variables such as
2750 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2763 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2751 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2764 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2752 # files to appear (when present) in the UI as actual files and not red 2765 # files to appear (when present) in the UI as actual files and not red
2753 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2766 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2754 # and therefore SYMROOT, needs to be set at the project level. 2767 # and therefore SYMROOT, needs to be set at the project level.
2755 'SYMROOT': '<(DEPTH)/xcodebuild', 2768 'SYMROOT': '<(DEPTH)/xcodebuild',
2756 }, 2769 },
2757 } 2770 }
OLDNEW
« DEPS ('K') | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698