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

Commit 09e7cea7 authored by Jihoon Kang's avatar Jihoon Kang
Browse files

Define toolbox.recovery

By removing `recovery_available` property from "toolbox" and defining a
dedicated recovery-specific module for "toolbox". `recovery_available`
property should be used to allow the reverse dependencies recovery
modules to depend on the module, not to install the module to the
recovery partition.

Test: m soong_generated_recovery_filesystem_test
Bug: 381888358
Change-Id: I8e1bbf56aaf5ba4a761d84e60afa420ba6f825b9
parent 7d90faa8
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -68,10 +68,16 @@ cc_defaults {
cc_binary {
    name: "toolbox",
    defaults: ["toolbox_binary_defaults"],
    recovery_available: true,
    vendor_ramdisk_available: true,
}

cc_binary {
    name: "toolbox.recovery",
    defaults: ["toolbox_binary_defaults"],
    recovery: true,
    stem: "toolbox",
}

cc_binary {
    name: "toolbox_vendor",
    stem: "toolbox",