Skip to content

Commit

Permalink
Merge "Switch from dist-for-goals to dist in Android.bp"
Browse files Browse the repository at this point in the history
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Nov 27, 2018
2 parents 66a6d88 + 3f439a7 commit ee9d638
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 16 deletions.
9 changes: 9 additions & 0 deletions adb/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,15 @@ cc_binary_host {
"deploypatchgenerator",
],

// Archive adb, adb.exe.
dist: {
targets: [
"dist_files",
"sdk",
"win_sdk",
],
},

target: {
darwin: {
cflags: [
Expand Down
8 changes: 0 additions & 8 deletions adb/Android.mk

This file was deleted.

3 changes: 3 additions & 0 deletions cpio/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ cc_binary_host {
srcs: ["mkbootfs.c"],
cflags: ["-Werror"],
shared_libs: ["libcutils"],
dist: {
targets: ["dist_files"],
},
}
3 changes: 0 additions & 3 deletions cpio/Android.mk

This file was deleted.

7 changes: 7 additions & 0 deletions fastboot/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,13 @@ cc_binary_host {
"mke2fs",
"make_f2fs",
],
dist: {
targets: [
"dist_files",
"sdk",
"win_sdk",
],
},

target: {
not_windows: {
Expand Down
6 changes: 1 addition & 5 deletions fastboot/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 :=

0 comments on commit ee9d638

Please sign in to comment.