1###########################################
2## A thin wrapper around BUILD_EXECUTABLE
3## Common flags for native tests are added.
4###########################################
5$(call record-module-type,NATIVE_TEST)
6
7ifdef LOCAL_MODULE_CLASS
8ifneq ($(LOCAL_MODULE_CLASS),NATIVE_TESTS)
9$(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must be NATIVE_TESTS with BUILD_HOST_NATIVE_TEST)
10endif
11endif
12
13LOCAL_MODULE_CLASS := NATIVE_TESTS
14
15include $(BUILD_SYSTEM)/target_test_internal.mk
16
17ifndef LOCAL_MULTILIB
18ifndef LOCAL_32_BIT_ONLY
19LOCAL_MULTILIB := both
20endif
21endif
22
23include $(BUILD_EXECUTABLE)
24