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

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: Move the plugin to a separate tarball and introduce a script to download it manually 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') | build/download_gold_plugin.py » ('J')
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 5872 matching lines...) Expand 10 before | Expand all | Expand 10 after
5883 'target_defaults': { 5883 'target_defaults': {
5884 'target_conditions': [ 5884 'target_conditions': [
5885 ['_toolset=="target"', { 5885 ['_toolset=="target"', {
5886 'cflags': [ 5886 'cflags': [
5887 '-ffat-lto-objects', 5887 '-ffat-lto-objects',
5888 ], 5888 ],
5889 }], 5889 }],
5890 ], 5890 ],
5891 }, 5891 },
5892 }], 5892 }],
5893 ['use_lto==1 and clang==1', {
5894 'target_defaults': {
5895 'target_conditions': [
5896 ['_toolset=="target"', {
5897 'arflags': [
5898 '--plugin', '../../<(make_clang_dir)/lib/LLVMgold.so',
5899 ],
5900 }],
5901 ],
5902 },
5903 }],
5893 ['(use_lto==1 or use_lto_o2==1) and clang==0', { 5904 ['(use_lto==1 or use_lto_o2==1) and clang==0', {
5894 'target_defaults': { 5905 'target_defaults': {
5895 'target_conditions': [ 5906 'target_conditions': [
5896 ['_toolset=="target"', { 5907 ['_toolset=="target"', {
5897 'ldflags': [ 5908 'ldflags': [
5898 '-flto=32', 5909 '-flto=32',
5899 ], 5910 ],
5900 }], 5911 }],
5901 ], 5912 ],
5902 }, 5913 },
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
5975 # settings in target dicts. SYMROOT is a special case, because many other 5986 # settings in target dicts. SYMROOT is a special case, because many other
5976 # Xcode variables depend on it, including variables such as 5987 # Xcode variables depend on it, including variables such as
5977 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5988 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5978 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5989 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5979 # files to appear (when present) in the UI as actual files and not red 5990 # files to appear (when present) in the UI as actual files and not red
5980 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5991 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5981 # and therefore SYMROOT, needs to be set at the project level. 5992 # and therefore SYMROOT, needs to be set at the project level.
5982 'SYMROOT': '<(DEPTH)/xcodebuild', 5993 'SYMROOT': '<(DEPTH)/xcodebuild',
5983 }, 5994 },
5984 } 5995 }
OLDNEW
« no previous file with comments | « no previous file | build/download_gold_plugin.py » ('j') | build/download_gold_plugin.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698