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

Commit f2cd6be4 authored by Alexander Smundak's avatar Alexander Smundak Committed by android-build-merger
Browse files

Merge "Use sh_binary instead of cc_prebuilt_binary for shell scripts" am: 5a3804f0 am: 65c7b75c

am: c8ff983e

Change-Id: I47b4bd04e5475c86ce8878c3bf4cb638da82dce4
parents 50e95a1d c8ff983e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -231,16 +231,16 @@ cc_binary {
}

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

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