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
This commit is contained in:
Jihoon Kang 2024-12-06 01:51:35 +00:00
parent 7d90faa8b7
commit 09e7cea7c1

View file

@ -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",