e1c6deab10
Now that the source trees all use NATIVE_TESTS for intermediate files and generated sources, make it a requirement. Change-Id: Id5718fabe63f6e8dde7981a6f0f5bd89e0ec7ee5
22 lines
567 B
Makefile
22 lines
567 B
Makefile
################################################
|
|
## A thin wrapper around BUILD_HOST_EXECUTABLE
|
|
## Common flags for host native tests are added.
|
|
################################################
|
|
|
|
ifdef LOCAL_MODULE_CLASS
|
|
ifneq ($(LOCAL_MODULE_CLASS),NATIVE_TESTS)
|
|
$(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must be NATIVE_TESTS with BUILD_HOST_NATIVE_TEST)
|
|
endif
|
|
endif
|
|
|
|
LOCAL_MODULE_CLASS := NATIVE_TESTS
|
|
|
|
include $(BUILD_SYSTEM)/host_test_internal.mk
|
|
|
|
ifndef LOCAL_MULTILIB
|
|
ifndef LOCAL_32_BIT_ONLY
|
|
LOCAL_MULTILIB := both
|
|
endif
|
|
endif
|
|
|
|
include $(BUILD_HOST_EXECUTABLE)
|