Removing -std=c++14 from bootstat Android.mk

From comments in 7e04be06d1, this
is not needed.

Change-Id: I427efac8d5e0750ea5f4e77e1582d134d9cae089
This commit is contained in:
Ian Pedowitz 2016-01-22 20:25:58 -08:00
parent e04b60d2b9
commit 5699ee889a

View file

@ -40,16 +40,12 @@ bootstat_cflags := \
-Werror
bootstat_cppflags := \
-Wno-non-virtual-dtor \
-std=c++14
-Wno-non-virtual-dtor
bootstat_debug_cflags := \
$(bootstat_cflags) \
-UNDEBUG
bootstat_debug_cppflags := \
-std=c++14
# 524291 corresponds to sysui_histogram, from
# frameworks/base/core/java/com/android/internal/logging/EventLogTags.logtags
bootstat_cflags += -DHISTOGRAM_LOG_TAG=524291
@ -66,6 +62,7 @@ LOCAL_CPPFLAGS := $(bootstat_cppflags)
LOCAL_C_INCLUDES := $(bootstat_c_includes)
LOCAL_SHARED_LIBRARIES := $(bootstat_shared_libs)
LOCAL_SRC_FILES := $(bootstat_lib_src_files)
# Clang is required because of C++14
LOCAL_CLANG := true
include $(BUILD_STATIC_LIBRARY)
@ -81,6 +78,7 @@ LOCAL_CPPFLAGS := $(bootstat_debug_cppflags)
LOCAL_C_INCLUDES := $(bootstat_c_includes)
LOCAL_SHARED_LIBRARIES := $(bootstat_shared_libs)
LOCAL_SRC_FILES := $(bootstat_lib_src_files)
# Clang is required because of C++14
LOCAL_CLANG := true
include $(BUILD_STATIC_LIBRARY)
@ -96,6 +94,7 @@ LOCAL_CPPFLAGS := $(bootstat_cppflags)
LOCAL_C_INCLUDES := $(bootstat_c_includes)
LOCAL_SHARED_LIBRARIES := $(bootstat_shared_libs)
LOCAL_SRC_FILES := $(bootstat_lib_src_files)
# Clang is required because of C++14
LOCAL_CLANG := true
include $(BUILD_HOST_STATIC_LIBRARY)
@ -112,6 +111,7 @@ LOCAL_C_INCLUDES := $(bootstat_c_includes)
LOCAL_SHARED_LIBRARIES := $(bootstat_shared_libs)
LOCAL_STATIC_LIBRARIES := libbootstat
LOCAL_SRC_FILES := $(bootstat_src_files)
# Clang is required because of C++14
LOCAL_CLANG := true
include $(BUILD_EXECUTABLE)
@ -127,6 +127,7 @@ LOCAL_CPPFLAGS := $(bootstat_cppflags)
LOCAL_SHARED_LIBRARIES := $(bootstat_shared_libs)
LOCAL_STATIC_LIBRARIES := libbootstat_debug libgmock
LOCAL_SRC_FILES := $(bootstat_test_src_files)
# Clang is required because of C++14
LOCAL_CLANG := true
include $(BUILD_NATIVE_TEST)
@ -142,6 +143,7 @@ LOCAL_CPPFLAGS := $(bootstat_cppflags)
LOCAL_SHARED_LIBRARIES := $(bootstat_shared_libs)
LOCAL_STATIC_LIBRARIES := libbootstat_host_debug libgmock_host
LOCAL_SRC_FILES := $(bootstat_test_src_files)
# Clang is required because of C++14
LOCAL_CLANG := true
include $(BUILD_HOST_NATIVE_TEST)