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

Commit c8ff983e 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

Change-Id: Id335d48fd13a04f3962b5fb87f1753a8e3a4c931
parents 3f019283 65c7b75c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -229,16 +229,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: [