By removing the "recovery_available" property from "reboot" and "watchdogd" modules. "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: I48014774714957885f3ad648ac302cc3c13687ae
28 lines
466 B
Text
28 lines
466 B
Text
// Copyright 2013 The Android Open Source Project
|
|
|
|
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
cc_defaults {
|
|
name: "reboot_defaults",
|
|
srcs: ["reboot.c"],
|
|
shared_libs: ["libcutils"],
|
|
cflags: ["-Werror"],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "reboot",
|
|
defaults: [
|
|
"reboot_defaults",
|
|
],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "reboot.recovery",
|
|
defaults: [
|
|
"reboot_defaults",
|
|
],
|
|
recovery: true,
|
|
stem: "reboot",
|
|
}
|