DescriptionSet CC to clang when GYP_DEFINES=clang=1.
This makes it a lot easier to build with clang, since setting the GYP_DEFINES
is now the only thing one has to do. The rest is set automatically.
In preparation of setting clang=1 in build/common.gypi on mac.
Depends on http://codereview.chromium.org/7779041/ . Idea and xcode
part of the patch by Mark.
BUG=none
TEST= Set GYP_DEFINES=clang=1, create xcode and make projects
1.) Building with Xcode 3.2 uses clang
2.) Building with Xcode 4 gives functional fixits
3.) Building with make uses clang both for host and target
4.) Building with xcodebuild and goma still works on mac
5.) Building with make and goma still works
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99835
Patch Set 1 #
Total comments: 3
Messages
Total messages: 6 (0 generated)
|