Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e575b483 authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

Merge "Add toolbox to vendor"

am: ea4c7d57

Change-Id: I62f3796b693faa5c1bc8dfb70c04a176fa3611f6
parents e3decc32 ea4c7d57
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ phony {
        "sh",
        "sh_vendor",
        "toolbox",
        "toolbox_vendor",
        "toybox",
        "toybox_vendor",
    ],
+15 −2
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ cc_defaults {
cc_library_static {
    name: "libtoolbox_dd",
    defaults: ["toolbox_defaults"],
    vendor_available: true,
    srcs: [
        "upstream-netbsd/bin/dd/args.c",
        "upstream-netbsd/bin/dd/conv.c",
@@ -40,8 +41,8 @@ genrule {
    out: ["input.h-labels.h"],
}

cc_binary {
    name: "toolbox",
cc_defaults {
    name: "toolbox_binary_defaults",
    defaults: ["toolbox_defaults"],
    srcs: [
        "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.
cc_binary {
    name: "r",