Switch from dist-for-goals to dist in Android.bp
Removes a few more Android.mk files. Test: check for adb, mkbootfs, and fastboot in the build artifacts Change-Id: Ie4e50a363a734d0b9207f0d0098c54719f038e76
This commit is contained in:
parent
eb1213f170
commit
3f439a7a88
6 changed files with 20 additions and 16 deletions
|
@ -285,6 +285,15 @@ cc_binary_host {
|
|||
"deploypatchgenerator",
|
||||
],
|
||||
|
||||
// Archive adb, adb.exe.
|
||||
dist: {
|
||||
targets: [
|
||||
"dist_files",
|
||||
"sdk",
|
||||
"win_sdk",
|
||||
],
|
||||
},
|
||||
|
||||
target: {
|
||||
darwin: {
|
||||
cflags: [
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
# Archive adb, adb.exe.
|
||||
$(call dist-for-goals,dist_files sdk win_sdk,$(HOST_OUT_EXECUTABLES)/adb)
|
||||
|
||||
ifdef HOST_CROSS_OS
|
||||
$(call dist-for-goals,dist_files sdk win_sdk,$(ALL_MODULES.host_cross_adb.BUILT))
|
||||
endif
|
|
@ -5,4 +5,7 @@ cc_binary_host {
|
|||
srcs: ["mkbootfs.c"],
|
||||
cflags: ["-Werror"],
|
||||
shared_libs: ["libcutils"],
|
||||
dist: {
|
||||
targets: ["dist_files"],
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# Copyright 2005 The Android Open Source Project
|
||||
|
||||
$(call dist-for-goals,dist_files,$(ALL_MODULES.mkbootfs.BUILT))
|
|
@ -252,6 +252,13 @@ cc_binary_host {
|
|||
"mke2fs",
|
||||
"make_f2fs",
|
||||
],
|
||||
dist: {
|
||||
targets: [
|
||||
"dist_files",
|
||||
"sdk",
|
||||
"win_sdk",
|
||||
],
|
||||
},
|
||||
|
||||
target: {
|
||||
not_windows: {
|
||||
|
|
|
@ -18,13 +18,9 @@ LOCAL_PATH:= $(call my-dir)
|
|||
# Package fastboot-related executables.
|
||||
#
|
||||
|
||||
my_dist_files := $(HOST_OUT_EXECUTABLES)/fastboot
|
||||
my_dist_files += $(HOST_OUT_EXECUTABLES)/mke2fs
|
||||
my_dist_files := $(HOST_OUT_EXECUTABLES)/mke2fs
|
||||
my_dist_files += $(HOST_OUT_EXECUTABLES)/e2fsdroid
|
||||
my_dist_files += $(HOST_OUT_EXECUTABLES)/make_f2fs
|
||||
my_dist_files += $(HOST_OUT_EXECUTABLES)/sload_f2fs
|
||||
$(call dist-for-goals,dist_files sdk win_sdk,$(my_dist_files))
|
||||
ifdef HOST_CROSS_OS
|
||||
$(call dist-for-goals,dist_files sdk win_sdk,$(ALL_MODULES.host_cross_fastboot.BUILT))
|
||||
endif
|
||||
my_dist_files :=
|
||||
|
|
Loading…
Reference in a new issue