diff options
-rw-r--r-- | adb/Android.mk | 6 | ||||
-rw-r--r-- | fastboot/Android.mk | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/adb/Android.mk b/adb/Android.mk index 2dba41d86..f1d3bee95 100644 --- a/adb/Android.mk +++ b/adb/Android.mk @@ -288,7 +288,11 @@ LOCAL_SHARED_LIBRARIES := include $(BUILD_HOST_EXECUTABLE) -$(call dist-for-goals,dist_files sdk,$(LOCAL_BUILT_MODULE)) +$(call dist-for-goals,dist_files sdk win_sdk,$(LOCAL_BUILT_MODULE)) +ifdef HOST_CROSS_OS +# Archive adb.exe for win_sdk build. +$(call dist-for-goals,win_sdk,$(ALL_MODULES.host_cross_adb.BUILT)) +endif # adbd device daemon diff --git a/fastboot/Android.mk b/fastboot/Android.mk index a326f55d6..1b4ecbe51 100644 --- a/fastboot/Android.mk +++ b/fastboot/Android.mk @@ -90,7 +90,11 @@ my_dist_files := $(LOCAL_BUILT_MODULE) ifeq ($(HOST_OS),linux) my_dist_files += $(HOST_LIBRARY_PATH)/libf2fs_fmt_host_dyn$(HOST_SHLIB_SUFFIX) endif -$(call dist-for-goals,dist_files sdk,$(my_dist_files)) +$(call dist-for-goals,dist_files sdk win_sdk,$(my_dist_files)) +ifdef HOST_CROSS_OS +# Archive fastboot.exe for win_sdk build. +$(call dist-for-goals,win_sdk,$(ALL_MODULES.host_cross_fastboot.BUILT)) +endif my_dist_files := ifeq ($(HOST_OS),linux) |