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

Side by Side Diff: build/common.gypi

Issue 12942010: Enable gold linker for Android x86 build. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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 2683 matching lines...) Expand 10 before | Expand all | Expand 10 after
2694 }], 2694 }],
2695 # ChromeOS targets Pinetrail, which is sse3, but most of the 2695 # ChromeOS targets Pinetrail, which is sse3, but most of the
2696 # benefit comes from sse2 so this setting allows ChromeOS 2696 # benefit comes from sse2 so this setting allows ChromeOS
2697 # to build on other CPUs. In the future -march=atom would 2697 # to build on other CPUs. In the future -march=atom would
2698 # help but requires a newer compiler. 2698 # help but requires a newer compiler.
2699 ['chromeos==1 and disable_sse2==0', { 2699 ['chromeos==1 and disable_sse2==0', {
2700 'cflags': [ 2700 'cflags': [
2701 '-msse2', 2701 '-msse2',
2702 ], 2702 ],
2703 }], 2703 }],
2704 # Use gold linker for Android ia32 target.
2705 ['OS=="android"', {
2706 'cflags': [
2707 '-fuse-ld=gold',
2708 ],
2709 'ldflags': [
2710 '-fuse-ld=gold',
2711 ],
2712 }],
2704 # Install packages have started cropping up with 2713 # Install packages have started cropping up with
2705 # different headers between the 32-bit and 64-bit 2714 # different headers between the 32-bit and 64-bit
2706 # versions, so we have to shadow those differences off 2715 # versions, so we have to shadow those differences off
2707 # and make sure a 32-bit-on-64-bit build picks up the 2716 # and make sure a 32-bit-on-64-bit build picks up the
2708 # right files. 2717 # right files.
2709 # For android build, use NDK headers instead of host headers 2718 # For android build, use NDK headers instead of host headers
2710 ['host_arch!="ia32" and OS!="android"', { 2719 ['host_arch!="ia32" and OS!="android"', {
2711 'include_dirs+': [ 2720 'include_dirs+': [
2712 '/usr/include32', 2721 '/usr/include32',
2713 ], 2722 ],
(...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after
4173 # settings in target dicts. SYMROOT is a special case, because many other 4182 # settings in target dicts. SYMROOT is a special case, because many other
4174 # Xcode variables depend on it, including variables such as 4183 # Xcode variables depend on it, including variables such as
4175 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4184 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4176 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4185 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4177 # files to appear (when present) in the UI as actual files and not red 4186 # files to appear (when present) in the UI as actual files and not red
4178 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4187 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4179 # and therefore SYMROOT, needs to be set at the project level. 4188 # and therefore SYMROOT, needs to be set at the project level.
4180 'SYMROOT': '<(DEPTH)/xcodebuild', 4189 'SYMROOT': '<(DEPTH)/xcodebuild',
4181 }, 4190 },
4182 } 4191 }
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