diff options
author | Satish Patel <satish.patel@linaro.org> | 2016-04-18 11:34:53 +0530 |
---|---|---|
committer | Satish Patel <satish.patel@linaro.org> | 2016-04-18 11:34:53 +0530 |
commit | 4e447c8194c7165502f245c7c2a2227c568f6fa5 (patch) | |
tree | d3ac2b41a944ec921cc04906b85996a1805287b2 | |
parent | 197b6cafbcd3f848455d75c046bd8210b0e24c02 (diff) | |
download | gperftools-4e447c8194c7165502f245c7c2a2227c568f6fa5.tar.gz |
Add flag to build benchmark tool
Add 'ENABLE_GPERF_BENCHMARK' flag to build benchmark tool.
This is to avoid, multiple builds of same module. As tools is also included as
a part of common malloc-benchmarks
-rw-r--r-- | benchmark/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/benchmark/Android.mk b/benchmark/Android.mk index 61f5282..d586883 100644 --- a/benchmark/Android.mk +++ b/benchmark/Android.mk @@ -15,6 +15,8 @@ # limitations under the License. # +ifeq ($(ENABLE_GPERF_BENCHMARK), true) + LOCAL_PATH:= $(call my-dir) gperftools_cppflags := \ @@ -70,3 +72,5 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) LOCAL_MODULE_TAGS := debug LOCAL_SHARED_LIBRARIES += libcutils include $(BUILD_EXECUTABLE) + +endif #ENABLE_GPERF_BENCHMARK |