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:
parent
7d90faa8b7
commit
09e7cea7c1
1 changed files with 7 additions and 1 deletions
|
|
@ -68,10 +68,16 @@ cc_defaults {
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "toolbox",
|
name: "toolbox",
|
||||||
defaults: ["toolbox_binary_defaults"],
|
defaults: ["toolbox_binary_defaults"],
|
||||||
recovery_available: true,
|
|
||||||
vendor_ramdisk_available: true,
|
vendor_ramdisk_available: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_binary {
|
||||||
|
name: "toolbox.recovery",
|
||||||
|
defaults: ["toolbox_binary_defaults"],
|
||||||
|
recovery: true,
|
||||||
|
stem: "toolbox",
|
||||||
|
}
|
||||||
|
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "toolbox_vendor",
|
name: "toolbox_vendor",
|
||||||
stem: "toolbox",
|
stem: "toolbox",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue