aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmark/Android.mk4
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