summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alexander Smundak <asmundak@google.com> 2019-02-04 22:19:33 -0800
committer android-build-merger <android-build-merger@google.com> 2019-02-04 22:19:33 -0800
commitf2cd6be4e620a38eae271d3da3cebd975f6da3ab (patch)
tree38efef7f2700a932613d82f1c1d4330953d159e1
parent50e95a1d7dbf992228b029b14a4671074064f310 (diff)
parentc8ff983e122998c6a298249bd6fb728499905f18 (diff)
Merge "Use sh_binary instead of cc_prebuilt_binary for shell scripts" am: 5a3804f0cb am: 65c7b75ca8
am: c8ff983e12 Change-Id: I47b4bd04e5475c86ce8878c3bf4cb638da82dce4
-rw-r--r--cmds/installd/Android.bp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmds/installd/Android.bp b/cmds/installd/Android.bp
index 488070d338..e33b2a82ab 100644
--- a/cmds/installd/Android.bp
+++ b/cmds/installd/Android.bp
@@ -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: [