blob: aa05bb3156e068b57fbaa594f47e9ebc42584ef0 [file] [log] [blame]
Ying Wang4c681742010-07-20 11:08:47 -07001################################################
2## A thin wrapper around BUILD_HOST_EXECUTABLE
3## Common flags for host native tests are added.
4################################################
Dan Willemsen1684b322016-07-25 16:03:53 -07005$(call record-module-type,HOST_NATIVE_TEST)
Ying Wang4c681742010-07-20 11:08:47 -07006
Dan Willemsen7fe992c2016-03-02 13:54:51 -08007ifdef 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
Christopher Ferris70ca5e52014-02-04 22:09:16 -080015include $(BUILD_SYSTEM)/host_test_internal.mk
Elliott Hughes52e52d12014-01-28 17:32:30 -080016
Dan Willemsen8b9a4642015-12-21 16:34:25 -080017ifndef LOCAL_MULTILIB
Dan Willemsen7fe992c2016-03-02 13:54:51 -080018ifndef LOCAL_32_BIT_ONLY
19LOCAL_MULTILIB := both
20endif
21endif
Dan Willemsen8b9a4642015-12-21 16:34:25 -080022
Ying Wang4c681742010-07-20 11:08:47 -070023include $(BUILD_HOST_EXECUTABLE)