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 | |
Christopher Ferris | 70ca5e5 | 2014-02-04 22:09:16 -0800 | [diff] [blame] | 6 | include $(BUILD_SYSTEM)/host_test_internal.mk |
Elliott Hughes | 52e52d1 | 2014-01-28 17:32:30 -0800 | [diff] [blame] | 7 | |
Dan Willemsen | 8b9a464 | 2015-12-21 16:34:25 -0800 | [diff] [blame] | 8 | needs_symlink := |
| 9 | ifndef LOCAL_MULTILIB |
| 10 | ifndef LOCAL_32_BIT_ONLY |
| 11 | LOCAL_MULTILIB := both |
| 12 | |
| 13 | ifeq (,$(LOCAL_MODULE_STEM_32)$(LOCAL_MODULE_STEM_64)) |
| 14 | LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32 |
| 15 | LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64 |
| 16 | needs_symlink := true |
| 17 | endif |
| 18 | endif |
| 19 | endif |
| 20 | |
Ying Wang | 4c68174 | 2010-07-20 11:08:47 -0700 | [diff] [blame] | 21 | include $(BUILD_HOST_EXECUTABLE) |
Dan Willemsen | 8b9a464 | 2015-12-21 16:34:25 -0800 | [diff] [blame] | 22 | |
| 23 | ifdef needs_symlink |
| 24 | include $(BUILD_SYSTEM)/executable_prefer_symlink.mk |
| 25 | needs_symlink := |
| 26 | endif |