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

Side by Side Diff: build/common.gypi

Issue 7838013: clang/make: Set LINK to $(CXX). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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
« 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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 1998 matching lines...) Expand 10 before | Expand all | Expand 10 after
2009 'target_defaults': { 2009 'target_defaults': {
2010 'defines': [ 2010 'defines': [
2011 'ENABLE_NEW_NPDEVICE_API', 2011 'ENABLE_NEW_NPDEVICE_API',
2012 ], 2012 ],
2013 }, 2013 },
2014 }], 2014 }],
2015 ['clang==1', { 2015 ['clang==1', {
2016 'make_global_settings': [ 2016 'make_global_settings': [
2017 ['CC', 'third_party/llvm-build/Release+Asserts/bin/clang'], 2017 ['CC', 'third_party/llvm-build/Release+Asserts/bin/clang'],
2018 ['CXX', 'third_party/llvm-build/Release+Asserts/bin/clang++'], 2018 ['CXX', 'third_party/llvm-build/Release+Asserts/bin/clang++'],
2019 ['LINK', 'third_party/llvm-build/Release+Asserts/bin/clang++'], 2019 ['LINK', '$(CXX)'],
Nico 2011/09/06 23:37:59 Setting this at all is required to set LINK.host t
2020 ['CC.host', '$(CC)'], 2020 ['CC.host', '$(CC)'],
2021 ['CXX.host', '$(CXX)'], 2021 ['CXX.host', '$(CXX)'],
2022 ['LINK.host', '$(LINK)'], 2022 ['LINK.host', '$(LINK)'],
2023 ], 2023 ],
2024 }], 2024 }],
2025 ], 2025 ],
2026 'xcode_settings': { 2026 'xcode_settings': {
2027 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! 2027 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT!
2028 # This block adds *project-wide* configuration settings to each project 2028 # This block adds *project-wide* configuration settings to each project
2029 # file. It's almost always wrong to put things here. Specify your 2029 # file. It's almost always wrong to put things here. Specify your
(...skipping 12 matching lines...) Expand all
2042 # settings in target dicts. SYMROOT is a special case, because many other 2042 # settings in target dicts. SYMROOT is a special case, because many other
2043 # Xcode variables depend on it, including variables such as 2043 # Xcode variables depend on it, including variables such as
2044 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2044 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2045 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2045 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2046 # files to appear (when present) in the UI as actual files and not red 2046 # files to appear (when present) in the UI as actual files and not red
2047 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2047 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2048 # and therefore SYMROOT, needs to be set at the project level. 2048 # and therefore SYMROOT, needs to be set at the project level.
2049 'SYMROOT': '<(DEPTH)/xcodebuild', 2049 'SYMROOT': '<(DEPTH)/xcodebuild',
2050 }, 2050 },
2051 } 2051 }
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