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

Commit 1fa4b8d0 authored by Sasha Smundak's avatar Sasha Smundak
Browse files

Use sh_binary instead of cc_prebuilt_binary for shell scripts

Bug: 123829926
Test: treehugger
Change-Id: If9d2da84b30aebf8881c6da12efbe99549f5e0cc
parent 58ec9993
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -229,16 +229,16 @@ cc_binary {
}
}


// OTA slot script
// OTA slot script
cc_prebuilt_binary {
sh_binary {
    name: "otapreopt_slot",
    name: "otapreopt_slot",
    srcs: ["otapreopt_slot.sh"],
    src: "otapreopt_slot.sh",
    init_rc: ["otapreopt.rc"],
    init_rc: ["otapreopt.rc"],
}
}


// OTA postinstall script
// OTA postinstall script
cc_prebuilt_binary {
sh_binary {
    name: "otapreopt_script",
    name: "otapreopt_script",
    srcs: ["otapreopt_script.sh"],
    src: "otapreopt_script.sh",
    // Let this depend on otapreopt, the chroot tool and the slot script,
    // Let this depend on otapreopt, the chroot tool and the slot script,
    // so we just have to mention one in a configuration.
    // so we just have to mention one in a configuration.
    required: [
    required: [