diff --git a/core/host_executable.mk b/core/host_executable.mk index 0091f3f734..5601b015eb 100644 --- a/core/host_executable.mk +++ b/core/host_executable.mk @@ -1,4 +1,4 @@ - +LOCAL_IS_HOST_MODULE := true my_prefix := HOST_ include $(BUILD_SYSTEM)/multilib.mk diff --git a/core/host_executable_internal.mk b/core/host_executable_internal.mk index 0c0ac3d910..c59f15122f 100644 --- a/core/host_executable_internal.mk +++ b/core/host_executable_internal.mk @@ -5,7 +5,6 @@ ## None. ########################################################### -LOCAL_IS_HOST_MODULE := true ifeq ($(strip $(LOCAL_MODULE_CLASS)),) LOCAL_MODULE_CLASS := EXECUTABLES endif diff --git a/core/host_shared_library.mk b/core/host_shared_library.mk index e84078013e..6964cc950e 100644 --- a/core/host_shared_library.mk +++ b/core/host_shared_library.mk @@ -1,3 +1,4 @@ +LOCAL_IS_HOST_MODULE := true my_prefix := HOST_ include $(BUILD_SYSTEM)/multilib.mk diff --git a/core/host_shared_library_internal.mk b/core/host_shared_library_internal.mk index 645098a60a..9da778ae6f 100644 --- a/core/host_shared_library_internal.mk +++ b/core/host_shared_library_internal.mk @@ -7,8 +7,6 @@ ## LOCAL_MODULE_SUFFIX will be set for you. ########################################################### -LOCAL_IS_HOST_MODULE := true - ifeq ($(strip $(LOCAL_MODULE_CLASS)),) LOCAL_MODULE_CLASS := SHARED_LIBRARIES endif diff --git a/core/host_static_library.mk b/core/host_static_library.mk index 52c42ef931..dd7462d85d 100644 --- a/core/host_static_library.mk +++ b/core/host_static_library.mk @@ -1,3 +1,4 @@ +LOCAL_IS_HOST_MODULE := true my_prefix := HOST_ include $(BUILD_SYSTEM)/multilib.mk diff --git a/core/host_static_library_internal.mk b/core/host_static_library_internal.mk index a533cf5ddf..3946aa7bc9 100644 --- a/core/host_static_library_internal.mk +++ b/core/host_static_library_internal.mk @@ -18,8 +18,6 @@ $(error $(LOCAL_PATH): Cannot set module stem for a library) endif LOCAL_UNINSTALLABLE_MODULE := true -LOCAL_IS_HOST_MODULE := true - include $(BUILD_SYSTEM)/binary.mk $(LOCAL_BUILT_MODULE): $(built_whole_libraries)