Ying Wang | 4c68174 | 2010-07-20 11:08:47 -0700 | [diff] [blame] | 1 | ################################################ |
| 2 | ## A thin wrapper around BUILD_HOST_EXECUTABLE |
| 3 | ## Common flags for host native tests are added. |
| 4 | ################################################ |
| 5 | |
Dan Willemsen | 7fe992c | 2016-03-02 13:54:51 -0800 | [diff] [blame] | 6 | ifdef LOCAL_MODULE_CLASS |
| 7 | ifneq ($(LOCAL_MODULE_CLASS),NATIVE_TESTS) |
| 8 | $(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must be NATIVE_TESTS with BUILD_HOST_NATIVE_TEST) |
| 9 | endif |
| 10 | endif |
| 11 | |
| 12 | LOCAL_MODULE_CLASS := NATIVE_TESTS |
| 13 | |
Christopher Ferris | 70ca5e5 | 2014-02-04 22:09:16 -0800 | [diff] [blame] | 14 | include $(BUILD_SYSTEM)/host_test_internal.mk |
Elliott Hughes | 52e52d1 | 2014-01-28 17:32:30 -0800 | [diff] [blame] | 15 | |
Dan Willemsen | 8b9a464 | 2015-12-21 16:34:25 -0800 | [diff] [blame] | 16 | ifndef LOCAL_MULTILIB |
Dan Willemsen | 7fe992c | 2016-03-02 13:54:51 -0800 | [diff] [blame] | 17 | ifndef LOCAL_32_BIT_ONLY |
| 18 | LOCAL_MULTILIB := both |
| 19 | endif |
| 20 | endif |
Dan Willemsen | 8b9a464 | 2015-12-21 16:34:25 -0800 | [diff] [blame] | 21 | |
Ying Wang | 4c68174 | 2010-07-20 11:08:47 -0700 | [diff] [blame] | 22 | include $(BUILD_HOST_EXECUTABLE) |