Home | History | Annotate | Download | only in core
      1 ################################################
      2 ## A thin wrapper around BUILD_HOST_EXECUTABLE
      3 ## Common flags for host native tests are added.
      4 ################################################
      5 $(call record-module-type,HOST_NATIVE_TEST)
      6 
      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 
     15 include $(BUILD_SYSTEM)/host_test_internal.mk
     16 
     17 ifndef LOCAL_MULTILIB
     18 ifndef LOCAL_32_BIT_ONLY
     19 LOCAL_MULTILIB := both
     20 endif
     21 endif
     22 
     23 include $(BUILD_HOST_EXECUTABLE)
     24