| 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 | ################################################ | 
| Dan Willemsen | 1684b32 | 2016-07-25 16:03:53 -0700 | [diff] [blame] | 5 | $(call record-module-type,HOST_NATIVE_TEST) | 
| Ying Wang | 4c68174 | 2010-07-20 11:08:47 -0700 | [diff] [blame] | 6 |  | 
| Dan Willemsen | 7fe992c | 2016-03-02 13:54:51 -0800 | [diff] [blame] | 7 | ifdef LOCAL_MODULE_CLASS | 
|  | 8 | ifneq ($(LOCAL_MODULE_CLASS),NATIVE_TESTS) | 
|  | 9 | $(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must be NATIVE_TESTS with BUILD_HOST_NATIVE_TEST) | 
|  | 10 | endif | 
|  | 11 | endif | 
|  | 12 |  | 
|  | 13 | LOCAL_MODULE_CLASS := NATIVE_TESTS | 
|  | 14 |  | 
| Christopher Ferris | 70ca5e5 | 2014-02-04 22:09:16 -0800 | [diff] [blame] | 15 | include $(BUILD_SYSTEM)/host_test_internal.mk | 
| Elliott Hughes | 52e52d1 | 2014-01-28 17:32:30 -0800 | [diff] [blame] | 16 |  | 
| Dan Willemsen | 8b9a464 | 2015-12-21 16:34:25 -0800 | [diff] [blame] | 17 | ifndef LOCAL_MULTILIB | 
| Dan Willemsen | 7fe992c | 2016-03-02 13:54:51 -0800 | [diff] [blame] | 18 | ifndef LOCAL_32_BIT_ONLY | 
|  | 19 | LOCAL_MULTILIB := both | 
|  | 20 | endif | 
|  | 21 | endif | 
| Dan Willemsen | 8b9a464 | 2015-12-21 16:34:25 -0800 | [diff] [blame] | 22 |  | 
| Ying Wang | 4c68174 | 2010-07-20 11:08:47 -0700 | [diff] [blame] | 23 | include $(BUILD_HOST_EXECUTABLE) |