diff options
author | Dan Albert <danalbert@google.com> | 2016-03-16 19:01:25 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-03-16 19:01:25 +0000 |
commit | b75412a91cb4212fb61a7d1e75e618bc999a329a (patch) | |
tree | 8959876dc49692f5cee9eec99c6a8952968655de | |
parent | 81cb746e0ba7ce98a77b175139c7425fd41021c6 (diff) | |
parent | 385bc12a1941581f6d202b4cfda3e12e48054f6b (diff) | |
download | gtest-b75412a91cb4212fb61a7d1e75e618bc999a329a.tar.gz |
Merge "Add libgtest_prod."
am: 385bc12
* commit '385bc12a1941581f6d202b4cfda3e12e48054f6b':
Add libgtest_prod.
-rw-r--r-- | src/Android.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Android.mk b/src/Android.mk index 8763244..575f229 100644 --- a/src/Android.mk +++ b/src/Android.mk @@ -150,3 +150,17 @@ LOCAL_SANITIZE := never include $(BUILD_STATIC_LIBRARY) endif + +# Header only libraries for modules that need gtest_prod.h. Libraries exporting +# public headers that use gtest_prod.h should pull this in with +# LOCAL_WHOLE_STATIC_LIBRARIES so that their users will also get the include +# paths. +include $(CLEAR_VARS) +LOCAL_MODULE := libgtest_prod +LOCAL_EXPORT_C_INCLUDE_DIRS := $(libgtest_export_include_dirs) +include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := libgtest_prod +LOCAL_EXPORT_C_INCLUDE_DIRS := $(libgtest_export_include_dirs) +include $(BUILD_HOST_STATIC_LIBRARY) |