summaryrefslogtreecommitdiffstats
path: root/fastboot/Android.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2016-02-29 19:27:06 -0800
committerYing Wang <wangying@google.com>2016-02-29 19:27:06 -0800
commit71edfc8b9ab78f00206828993526aedd115c46b1 (patch)
treeb293286d80a5b41f051e4cf0d27fc05f34448a48 /fastboot/Android.mk
parent68de85bda98d7d03f63134209f9e2c149cad1852 (diff)
downloadcore-71edfc8b9ab78f00206828993526aedd115c46b1.tar.gz
core-71edfc8b9ab78f00206828993526aedd115c46b1.tar.bz2
core-71edfc8b9ab78f00206828993526aedd115c46b1.zip
Also archive adb.exe/fastboot.exe when building win_sdk.
On linux we archive both Linux and Windows binaries. Bug: 27315911 Change-Id: I17d25cd1ea611a9c917f1e78b47f21a8959eea20
Diffstat (limited to 'fastboot/Android.mk')
-rw-r--r--fastboot/Android.mk6
1 files changed, 5 insertions, 1 deletions
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)