Merge "Change USE_CLANG_PLATFORM_BUILD default to true."

This commit is contained in:
Chih-hung Hsieh 2016-01-06 21:33:24 +00:00 committed by Android (Google) Code Review
commit 6685ebedee

View file

@ -217,11 +217,13 @@ ifdef LOCAL_IS_HOST_MODULE
my_clang := true my_clang := true
endif endif
endif endif
# Add option to make clang the default for device build # Add option to make gcc the default for device build
else ifeq ($(USE_CLANG_PLATFORM_BUILD),true) else ifeq ($(USE_CLANG_PLATFORM_BUILD),false)
ifeq ($(my_clang),) ifeq ($(my_clang),)
my_clang := true my_clang := false
endif endif
else ifeq ($(my_clang),)
my_clang := true
endif endif
my_cpp_std_version := -std=gnu++14 my_cpp_std_version := -std=gnu++14