Automation: use sh_binary for installing shell script
cc_prebuilt_binary is meant for elf binaries, not for shell scripts.
Change-Id: Icd294ab49a994c61173a959c867cc54c004b6e2b
diff --git a/automation_setup/Android.bp b/automation_setup/Android.bp
index 7715903..197ccce 100644
--- a/automation_setup/Android.bp
+++ b/automation_setup/Android.bp
@@ -4,15 +4,15 @@
// SPDX-License-Identifier: Apache-2.0
//
-cc_prebuilt_binary {
+sh_binary {
name: "automation_setup",
- srcs: ["automation_setup.sh"],
+ src: "automation_setup.sh",
init_rc: ["automation_setup.rc"],
}
-cc_prebuilt_binary {
+sh_binary {
name: "automation_adb_setup",
- srcs: ["automation_adb_setup.sh"],
+ src: "automation_adb_setup.sh",
}