summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge E. Moreira <jemoreira@google.com>2019-11-06 17:49:08 -0800
committerJorge E. Moreira <jemoreira@google.com>2019-11-06 17:49:08 -0800
commit744c327ad5ac2123be72fd8c0dd3a63b07cbf0f0 (patch)
tree1b98307ca736c68bb944e7f0adfdcc904267de8e
parent6809488b429a1285ef430b56760f50ec20bff92b (diff)
downloadcuttlefish_common-744c327ad5ac2123be72fd8c0dd3a63b07cbf0f0.tar.gz
Use the correct module type for script files
sh_binay_host instead of cc_prebuilt_binary for cf_qemu.sh and cf_bpttool. cf_bpttool is actually a python script, but it's closer to a shell script that it is to a c++ prebuilt. Bug: none Test: locally Change-Id: Ie184b8dbd406f92fb27cc22315a9c9900cf698e8
-rw-r--r--host/commands/assemble_cvd/Android.bp5
-rw-r--r--host/libs/vm_manager/Android.bp5
2 files changed, 4 insertions, 6 deletions
diff --git a/host/commands/assemble_cvd/Android.bp b/host/commands/assemble_cvd/Android.bp
index e2965264..18e42f51 100644
--- a/host/commands/assemble_cvd/Android.bp
+++ b/host/commands/assemble_cvd/Android.bp
@@ -65,8 +65,7 @@ cc_binary_host {
defaults: ["cuttlefish_host_only", "cuttlefish_libicuuc"],
}
-cc_prebuilt_binary {
+sh_binary_host {
name: "cf_bpttool",
- srcs: ["cf_bpttool"],
- defaults: ["cuttlefish_host_only"],
+ src: "cf_bpttool",
}
diff --git a/host/libs/vm_manager/Android.bp b/host/libs/vm_manager/Android.bp
index 6c638ea1..eadcb123 100644
--- a/host/libs/vm_manager/Android.bp
+++ b/host/libs/vm_manager/Android.bp
@@ -38,8 +38,7 @@ cc_library_host_static {
defaults: ["cuttlefish_host_only"],
}
-cc_prebuilt_binary {
+sh_binary_host {
name: "cf_qemu.sh",
- srcs: ["cf_qemu.sh"],
- defaults: ["cuttlefish_host_only"],
+ src: "cf_qemu.sh",
}