summaryrefslogtreecommitdiffstats
path: root/build/Android.gtest.mk
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-01-07 14:35:44 -0800
committerAndreas Gampe <agampe@google.com>2015-01-07 15:30:20 -0800
commitbced67d061049b607ce02a9813ef9dd0c87f8081 (patch)
tree4c553e615fb4bd6bfd22c6418197acca1dfc78e5 /build/Android.gtest.mk
parent4ea18c02148cffe72e025990e9b2727bfec563da (diff)
downloadart-bced67d061049b607ce02a9813ef9dd0c87f8081.zip
art-bced67d061049b607ce02a9813ef9dd0c87f8081.tar.gz
art-bced67d061049b607ce02a9813ef9dd0c87f8081.tar.bz2
ART: Fix Clang CFLAGS inclusion
Only include the CFLAGS if Clang is not explicitly disabled for the architecture. Change-Id: Ic63d7c8018f633a9b20a4ff9285d6380426017a5
Diffstat (limited to 'build/Android.gtest.mk')
-rw-r--r--build/Android.gtest.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/Android.gtest.mk b/build/Android.gtest.mk
index 5aa264c..8180ce8 100644
--- a/build/Android.gtest.mk
+++ b/build/Android.gtest.mk
@@ -210,14 +210,14 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libart-gtest
LOCAL_MODULE_TAGS := optional
LOCAL_CPP_EXTENSION := cc
-LOCAL_CFLAGS := $(ART_TARGET_CFLAGS)
LOCAL_SRC_FILES := runtime/common_runtime_test.cc compiler/common_compiler_test.cc
LOCAL_C_INCLUDES := $(ART_C_INCLUDES) art/runtime art/compiler
LOCAL_SHARED_LIBRARIES := libartd libartd-compiler libdl
LOCAL_STATIC_LIBRARIES += libgtest
-LOCAL_CLANG := $(ART_TARGET_CLANG)
LOCAL_ADDITIONAL_DEPENDENCIES := art/build/Android.common_build.mk
LOCAL_ADDITIONAL_DEPENDENCIES += art/build/Android.gtest.mk
+$(eval $(call set-target-local-clang-vars))
+$(eval $(call set-target-local-cflags-vars,debug))
include external/libcxx/libcxx.mk
include $(BUILD_SHARED_LIBRARY)