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

Side by Side Diff: build/common.gypi

Issue 8352029: clang: Enable using a different compiler path for standalone webkit make builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 2526 matching lines...) Expand 10 before | Expand all | Expand 10 after
2537 }], 2537 }],
2538 ['clang==1', { 2538 ['clang==1', {
2539 'make_global_settings': [ 2539 'make_global_settings': [
2540 ['CC', 'third_party/llvm-build/Release+Asserts/bin/clang'], 2540 ['CC', 'third_party/llvm-build/Release+Asserts/bin/clang'],
2541 ['CXX', 'third_party/llvm-build/Release+Asserts/bin/clang++'], 2541 ['CXX', 'third_party/llvm-build/Release+Asserts/bin/clang++'],
2542 ['LINK', '$(CXX)'], 2542 ['LINK', '$(CXX)'],
2543 ['CC.host', '$(CC)'], 2543 ['CC.host', '$(CC)'],
2544 ['CXX.host', '$(CXX)'], 2544 ['CXX.host', '$(CXX)'],
2545 ['LINK.host', '$(LINK)'], 2545 ['LINK.host', '$(LINK)'],
2546 ], 2546 ],
2547 'conditions': [
2548 ['inside_chromium_build==0', {
Mark Mentovai 2011/10/20 13:28:57 What else sets this variable? You’re using it to
Nico 2011/10/20 14:36:55 It's named unfortunately, no other build sets it.
2549 'make_global_settings': [
2550 # Fix up the paths to work in a stand-alone webkit checkout.
2551 ['CC', 'Source/WebKit/chromium/third_party/llvm-build/Release+Assert s/bin/clang'],
2552 ['CXX', 'Source/WebKit/chromium/third_party/llvm-build/Release+Asser ts/bin/clang++'],
2553 ],
2554 }],
2555 ],
2547 }], 2556 }],
2548 ], 2557 ],
2549 'xcode_settings': { 2558 'xcode_settings': {
2550 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! 2559 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT!
2551 # This block adds *project-wide* configuration settings to each project 2560 # This block adds *project-wide* configuration settings to each project
2552 # file. It's almost always wrong to put things here. Specify your 2561 # file. It's almost always wrong to put things here. Specify your
2553 # custom xcode_settings in target_defaults to add them to targets instead. 2562 # custom xcode_settings in target_defaults to add them to targets instead.
2554 2563
2555 # In an Xcode Project Info window, the "Base SDK for All Configurations" 2564 # In an Xcode Project Info window, the "Base SDK for All Configurations"
2556 # setting sets the SDK on a project-wide basis. In order to get the 2565 # setting sets the SDK on a project-wide basis. In order to get the
2557 # configured SDK to show properly in the Xcode UI, SDKROOT must be set 2566 # configured SDK to show properly in the Xcode UI, SDKROOT must be set
2558 # here at the project level. 2567 # here at the project level.
2559 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot 2568 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot
2560 2569
2561 # The Xcode generator will look for an xcode_settings section at the root 2570 # The Xcode generator will look for an xcode_settings section at the root
2562 # of each dict and use it to apply settings on a file-wide basis. Most 2571 # of each dict and use it to apply settings on a file-wide basis. Most
2563 # settings should not be here, they should be in target-specific 2572 # settings should not be here, they should be in target-specific
2564 # xcode_settings sections, or better yet, should use non-Xcode-specific 2573 # xcode_settings sections, or better yet, should use non-Xcode-specific
2565 # settings in target dicts. SYMROOT is a special case, because many other 2574 # settings in target dicts. SYMROOT is a special case, because many other
2566 # Xcode variables depend on it, including variables such as 2575 # Xcode variables depend on it, including variables such as
2567 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2576 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2568 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2577 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2569 # files to appear (when present) in the UI as actual files and not red 2578 # files to appear (when present) in the UI as actual files and not red
2570 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2579 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2571 # and therefore SYMROOT, needs to be set at the project level. 2580 # and therefore SYMROOT, needs to be set at the project level.
2572 'SYMROOT': '<(DEPTH)/xcodebuild', 2581 'SYMROOT': '<(DEPTH)/xcodebuild',
2573 }, 2582 },
2574 } 2583 }
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