Merge "Add toolbox to vendor"
This commit is contained in:
commit
ea4c7d5727
2 changed files with 16 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ phony {
|
||||||
"sh",
|
"sh",
|
||||||
"sh_vendor",
|
"sh_vendor",
|
||||||
"toolbox",
|
"toolbox",
|
||||||
|
"toolbox_vendor",
|
||||||
"toybox",
|
"toybox",
|
||||||
"toybox_vendor",
|
"toybox_vendor",
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ cc_defaults {
|
||||||
cc_library_static {
|
cc_library_static {
|
||||||
name: "libtoolbox_dd",
|
name: "libtoolbox_dd",
|
||||||
defaults: ["toolbox_defaults"],
|
defaults: ["toolbox_defaults"],
|
||||||
|
vendor_available: true,
|
||||||
srcs: [
|
srcs: [
|
||||||
"upstream-netbsd/bin/dd/args.c",
|
"upstream-netbsd/bin/dd/args.c",
|
||||||
"upstream-netbsd/bin/dd/conv.c",
|
"upstream-netbsd/bin/dd/conv.c",
|
||||||
|
|
@ -40,8 +41,8 @@ genrule {
|
||||||
out: ["input.h-labels.h"],
|
out: ["input.h-labels.h"],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_binary {
|
cc_defaults {
|
||||||
name: "toolbox",
|
name: "toolbox_binary_defaults",
|
||||||
defaults: ["toolbox_defaults"],
|
defaults: ["toolbox_defaults"],
|
||||||
srcs: [
|
srcs: [
|
||||||
"toolbox.c",
|
"toolbox.c",
|
||||||
|
|
@ -63,6 +64,18 @@ cc_binary {
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_binary {
|
||||||
|
name: "toolbox",
|
||||||
|
defaults: ["toolbox_binary_defaults"],
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_binary {
|
||||||
|
name: "toolbox_vendor",
|
||||||
|
stem: "toolbox",
|
||||||
|
vendor: true,
|
||||||
|
defaults: ["toolbox_binary_defaults"],
|
||||||
|
}
|
||||||
|
|
||||||
// We only want 'r' on userdebug and eng builds.
|
// We only want 'r' on userdebug and eng builds.
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "r",
|
name: "r",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue