clang: Enable using a different compiler path for standalone webkit make builds.

BUG=none
TEST=none


Review URL: http://codereview.chromium.org/8352029

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
thakis@chromium.org 2011-10-20 21:52:24 +00:00
Родитель dd5853e029
Коммит 4250057b73
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -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.
@ -2540,8 +2539,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)'],