2013-11-16 06:37:23 +08:00
|
|
|
###########################################
|
|
|
|
## A thin wrapper around BUILD_EXECUTABLE
|
|
|
|
## Common flags for native benchmarks are added.
|
|
|
|
###########################################
|
2016-07-26 07:03:53 +08:00
|
|
|
$(call record-module-type,NATIVE_BENCHMARK)
|
2013-11-16 06:37:23 +08:00
|
|
|
|
2016-03-05 05:37:43 +08:00
|
|
|
LOCAL_STATIC_LIBRARIES += libgoogle-benchmark
|
2013-11-16 06:37:23 +08:00
|
|
|
|
2016-04-12 17:22:06 +08:00
|
|
|
LOCAL_MODULE_PATH_64 := $(TARGET_OUT_DATA_METRIC_TESTS)/$(LOCAL_MODULE)
|
|
|
|
LOCAL_MODULE_PATH_32 := $($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_DATA_METRIC_TESTS)/$(LOCAL_MODULE)
|
|
|
|
|
|
|
|
ifndef LOCAL_MULTILIB
|
|
|
|
ifndef LOCAL_32_BIT_ONLY
|
|
|
|
LOCAL_MULTILIB := both
|
|
|
|
endif
|
2013-11-16 06:37:23 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|