platform_build/core/native_benchmark.mk
Colin Cross 52a341b995 add BUILD_NATIVE_BENCHMARK
Similar to BUILD_NATIVE_TEST, but links against libbenchmark
instead of libgtest.

Change-Id: I97d44db4807a79efa9bca56c108082ac45c943b8
2013-11-15 14:43:33 -08:00

12 lines
349 B
Makefile

###########################################
## A thin wrapper around BUILD_EXECUTABLE
## Common flags for native benchmarks are added.
###########################################
LOCAL_STATIC_LIBRARIES += libbenchmark
ifndef LOCAL_MODULE_PATH
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
endif
include $(BUILD_EXECUTABLE)