blob: 7cba1ae9b1f261ac56cc677fd7fd6b56abae183b [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
Christopher Ferris70ca5e52014-02-04 22:09:16 -08006include $(BUILD_SYSTEM)/host_test_internal.mk
Elliott Hughes52e52d12014-01-28 17:32:30 -08007
Dan Willemsen8b9a4642015-12-21 16:34:25 -08008needs_symlink :=
9ifndef 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
19endif
20
Ying Wang4c681742010-07-20 11:08:47 -070021include $(BUILD_HOST_EXECUTABLE)
Dan Willemsen8b9a4642015-12-21 16:34:25 -080022
23ifdef needs_symlink
24include $(BUILD_SYSTEM)/executable_prefer_symlink.mk
25needs_symlink :=
26endif