Colin Cross | 52a341b | 2013-11-15 14:37:23 -0800 | [diff] [blame] | 1 | ########################################### |
| 2 | ## A thin wrapper around BUILD_EXECUTABLE |
| 3 | ## Common flags for native benchmarks are added. |
| 4 | ########################################### |
Dan Willemsen | 1684b32 | 2016-07-25 16:03:53 -0700 | [diff] [blame] | 5 | $(call record-module-type,NATIVE_BENCHMARK) |
Colin Cross | 52a341b | 2013-11-15 14:37:23 -0800 | [diff] [blame] | 6 | |
Elliott Hughes | 9919d3b | 2016-03-04 13:37:43 -0800 | [diff] [blame] | 7 | LOCAL_STATIC_LIBRARIES += libgoogle-benchmark |
Colin Cross | 52a341b | 2013-11-15 14:37:23 -0800 | [diff] [blame] | 8 | |
Julien Desprez | 188a1dd | 2016-04-12 10:22:06 +0100 | [diff] [blame] | 9 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_DATA_METRIC_TESTS)/$(LOCAL_MODULE) |
| 10 | LOCAL_MODULE_PATH_32 := $($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_DATA_METRIC_TESTS)/$(LOCAL_MODULE) |
| 11 | |
| 12 | ifndef LOCAL_MULTILIB |
| 13 | ifndef LOCAL_32_BIT_ONLY |
| 14 | LOCAL_MULTILIB := both |
| 15 | endif |
Colin Cross | 52a341b | 2013-11-15 14:37:23 -0800 | [diff] [blame] | 16 | endif |
| 17 | |
| 18 | include $(BUILD_EXECUTABLE) |