am de6a0bd5: am 841e4cf2: am a82f7db9: Merge "add BUILD_NATIVE_BENCHMARK"

* commit 'de6a0bd545cae62bab4bc91a2de670044b9219ec':
  add BUILD_NATIVE_BENCHMARK
This commit is contained in:
Colin Cross 2015-02-25 17:00:12 +00:00 committed by Android Git Automerger
commit 46aceb2363
2 changed files with 13 additions and 0 deletions

View file

@ -83,6 +83,7 @@ BUILD_HOST_JAVA_LIBRARY:= $(BUILD_SYSTEM)/host_java_library.mk
BUILD_DROIDDOC:= $(BUILD_SYSTEM)/droiddoc.mk
BUILD_COPY_HEADERS := $(BUILD_SYSTEM)/copy_headers.mk
BUILD_NATIVE_TEST := $(BUILD_SYSTEM)/native_test.mk
BUILD_NATIVE_BENCHMARK := $(BUILD_SYSTEM)/native_benchmark.mk
BUILD_HOST_NATIVE_TEST := $(BUILD_SYSTEM)/host_native_test.mk
BUILD_SHARED_TEST_LIBRARY := $(BUILD_SYSTEM)/shared_test_lib.mk

12
core/native_benchmark.mk Normal file
View file

@ -0,0 +1,12 @@
###########################################
## 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)