blob: 2a6097df377ca58b34259aa19f287ef01e2b3cbe [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################################################
5
Dan Willemsen7fe992c2016-03-02 13:54:51 -08006ifdef LOCAL_MODULE_CLASS
7ifneq ($(LOCAL_MODULE_CLASS),NATIVE_TESTS)
8$(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must be NATIVE_TESTS with BUILD_HOST_NATIVE_TEST)
9endif
10endif
11
12LOCAL_MODULE_CLASS := NATIVE_TESTS
13
Christopher Ferris70ca5e52014-02-04 22:09:16 -080014include $(BUILD_SYSTEM)/host_test_internal.mk
Elliott Hughes52e52d12014-01-28 17:32:30 -080015
Dan Willemsen8b9a4642015-12-21 16:34:25 -080016ifndef LOCAL_MULTILIB
Dan Willemsen7fe992c2016-03-02 13:54:51 -080017ifndef LOCAL_32_BIT_ONLY
18LOCAL_MULTILIB := both
19endif
20endif
Dan Willemsen8b9a4642015-12-21 16:34:25 -080021
Ying Wang4c681742010-07-20 11:08:47 -070022include $(BUILD_HOST_EXECUTABLE)