1# Build the unit tests. 2LOCAL_PATH := $(call my-dir) 3include $(CLEAR_VARS) 4 5# Target unit test. 6 7include $(CLEAR_VARS) 8LOCAL_MODULE := JniInvocation_test 9LOCAL_CLANG := true 10LOCAL_SRC_FILES := JniInvocation_test.cpp 11LOCAL_SHARED_LIBRARIES := \ 12 libnativehelper 13 14include external/libcxx/libcxx.mk 15 16LOCAL_MULTILIB := both 17LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32 18LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64 19include $(BUILD_NATIVE_TEST) 20 21# Host unit test. 22 23include $(CLEAR_VARS) 24LOCAL_MODULE := JniInvocation_test 25LOCAL_CLANG := true 26LOCAL_SRC_FILES := JniInvocation_test.cpp 27LOCAL_SHARED_LIBRARIES := \ 28 libnativehelper 29 30include external/libcxx/libcxx.mk 31 32LOCAL_MULTILIB := both 33LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32 34LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64 35include $(BUILD_HOST_NATIVE_TEST) 36