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

Side by Side Diff: build/common.gypi

Issue 970053002: Build and install LLVM gold plugin on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, drop CLANG_SUB_REVISION change Created 5 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 | build/download_gold_plugin.py » ('j') | 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 5876 matching lines...) Expand 10 before | Expand all | Expand 10 after
5887 'target_defaults': { 5887 'target_defaults': {
5888 'target_conditions': [ 5888 'target_conditions': [
5889 ['_toolset=="target"', { 5889 ['_toolset=="target"', {
5890 'cflags': [ 5890 'cflags': [
5891 '-ffat-lto-objects', 5891 '-ffat-lto-objects',
5892 ], 5892 ],
5893 }], 5893 }],
5894 ], 5894 ],
5895 }, 5895 },
5896 }], 5896 }],
5897 ['use_lto==1 and clang==1', {
5898 'target_defaults': {
5899 'target_conditions': [
5900 ['_toolset=="target"', {
5901 'arflags': [
5902 '--plugin', '../../<(make_clang_dir)/lib/LLVMgold.so',
5903 ],
5904 }],
5905 ],
5906 },
5907 }],
5897 ['(use_lto==1 or use_lto_o2==1) and clang==0', { 5908 ['(use_lto==1 or use_lto_o2==1) and clang==0', {
5898 'target_defaults': { 5909 'target_defaults': {
5899 'target_conditions': [ 5910 'target_conditions': [
5900 ['_toolset=="target"', { 5911 ['_toolset=="target"', {
5901 'ldflags': [ 5912 'ldflags': [
5902 '-flto=32', 5913 '-flto=32',
5903 ], 5914 ],
5904 }], 5915 }],
5905 ], 5916 ],
5906 }, 5917 },
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
5979 # settings in target dicts. SYMROOT is a special case, because many other 5990 # settings in target dicts. SYMROOT is a special case, because many other
5980 # Xcode variables depend on it, including variables such as 5991 # Xcode variables depend on it, including variables such as
5981 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5992 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5982 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5993 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5983 # files to appear (when present) in the UI as actual files and not red 5994 # files to appear (when present) in the UI as actual files and not red
5984 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5995 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5985 # and therefore SYMROOT, needs to be set at the project level. 5996 # and therefore SYMROOT, needs to be set at the project level.
5986 'SYMROOT': '<(DEPTH)/xcodebuild', 5997 'SYMROOT': '<(DEPTH)/xcodebuild',
5987 }, 5998 },
5988 } 5999 }
OLDNEW
« no previous file with comments | « no previous file | build/download_gold_plugin.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698