OSDN Git Service

Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
[android-x86/build.git] / core / host_native_test.mk
1 ################################################
2 ## A thin wrapper around BUILD_HOST_EXECUTABLE
3 ## Common flags for host native tests are added.
4 ################################################
5
6 include $(BUILD_SYSTEM)/host_test_internal.mk
7
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
21 include $(BUILD_HOST_EXECUTABLE)
22
23 ifdef needs_symlink
24 include $(BUILD_SYSTEM)/executable_prefer_symlink.mk
25 needs_symlink :=
26 endif