diff options
author | Josh Gao <jmgao@google.com> | 2015-11-12 22:50:03 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-11-12 22:50:03 +0000 |
commit | 26f2e1fd4ff02cb8a3927c86a90656269ebcb412 (patch) | |
tree | 155c9d50afb6d86c1014aeb2c1c8a60b88274f04 /base/Android.mk | |
parent | 8591f719d0c7f8db6bd5dc742e0d210afb12eb03 (diff) | |
parent | 7df6b5fc79a0f4521d171280cd431640ac567d27 (diff) | |
download | core-26f2e1fd4ff02cb8a3927c86a90656269ebcb412.tar.gz core-26f2e1fd4ff02cb8a3927c86a90656269ebcb412.tar.bz2 core-26f2e1fd4ff02cb8a3927c86a90656269ebcb412.zip |
Merge changes Ic124ecb9,I94de55d2
* changes:
libbase: remove exit-time destructors.
adb: remove exit-time destructors.
Diffstat (limited to 'base/Android.mk')
-rw-r--r-- | base/Android.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/base/Android.mk b/base/Android.mk index 4e6bd10a2..cba70d4c9 100644 --- a/base/Android.mk +++ b/base/Android.mk @@ -42,6 +42,12 @@ libbase_cppflags := \ -Wextra \ -Werror \ +libbase_linux_cppflags := \ + -Wexit-time-destructors \ + +libbase_darwin_cppflags := \ + -Wexit-time-destructors \ + # Device # ------------------------------------------------------------------------------ include $(CLEAR_VARS) @@ -52,7 +58,7 @@ LOCAL_SRC_FILES_darwin := $(libbase_darwin_src_files) LOCAL_SRC_FILES_linux := $(libbase_linux_src_files) LOCAL_SRC_FILES_windows := $(libbase_windows_src_files) LOCAL_C_INCLUDES := $(LOCAL_PATH)/include -LOCAL_CPPFLAGS := $(libbase_cppflags) +LOCAL_CPPFLAGS := $(libbase_cppflags) $(libbase_linux_cppflags) LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include LOCAL_STATIC_LIBRARIES := libcutils LOCAL_MULTILIB := both @@ -78,6 +84,8 @@ LOCAL_SRC_FILES_linux := $(libbase_linux_src_files) LOCAL_SRC_FILES_windows := $(libbase_windows_src_files) LOCAL_C_INCLUDES := $(LOCAL_PATH)/include LOCAL_CPPFLAGS := $(libbase_cppflags) +LOCAL_CPPFLAGS_darwin := $(libbase_darwin_cppflags) +LOCAL_CPPFLAGS_linux := $(libbase_linux_cppflags) LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include LOCAL_STATIC_LIBRARIES := libcutils LOCAL_MULTILIB := both |