blob: e73bcad0c57c5589db6ab31d4805f1afe297d9e7 [file] [log] [blame]
Colin Cross52a341b2013-11-15 14:37:23 -08001###########################################
2## A thin wrapper around BUILD_EXECUTABLE
3## Common flags for native benchmarks are added.
4###########################################
Dan Willemsen1684b322016-07-25 16:03:53 -07005$(call record-module-type,NATIVE_BENCHMARK)
Colin Cross52a341b2013-11-15 14:37:23 -08006
Elliott Hughes9919d3b2016-03-04 13:37:43 -08007LOCAL_STATIC_LIBRARIES += libgoogle-benchmark
Colin Cross52a341b2013-11-15 14:37:23 -08008
Julien Desprez188a1dd2016-04-12 10:22:06 +01009LOCAL_MODULE_PATH_64 := $(TARGET_OUT_DATA_METRIC_TESTS)/$(LOCAL_MODULE)
10LOCAL_MODULE_PATH_32 := $($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_DATA_METRIC_TESTS)/$(LOCAL_MODULE)
11
12ifndef LOCAL_MULTILIB
13ifndef LOCAL_32_BIT_ONLY
14LOCAL_MULTILIB := both
15endif
Colin Cross52a341b2013-11-15 14:37:23 -080016endif
17
18include $(BUILD_EXECUTABLE)