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

Unified 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: better 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 9e3fe7ca8127bd6e1270e61c9b1a059a157a0ad4..481bae8fe5f0e89ebe65b426c0b41f467c558747 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -489,9 +489,8 @@
# Set this to true when building with Clang.
# See http://code.google.com/p/chromium/wiki/Clang for details.
- # TODO: eventually clang should behave identically to gcc, and this
- # won't be necessary.
'clang%': 0,
+ 'make_clang_dir%': 'third_party/llvm-build/Release+Asserts',
# These two variables can be set in GYP_DEFINES while running
# |gclient runhooks| to let clang run a plugin in every compilation.
@@ -2537,8 +2536,8 @@
}],
['clang==1', {
'make_global_settings': [
- ['CC', 'third_party/llvm-build/Release+Asserts/bin/clang'],
- ['CXX', 'third_party/llvm-build/Release+Asserts/bin/clang++'],
+ ['CC', '<(make_clang_dir)/bin/clang'],
+ ['CXX', '<(make_clang_dir)/bin/clang++'],
['LINK', '$(CXX)'],
['CC.host', '$(CC)'],
['CXX.host', '$(CXX)'],
« 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