summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp10
1 files changed, 2 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index eb7729b..509ffa3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -61,16 +61,10 @@ apex_key {
private_key: "com.android.gki.pem",
}
-// Use cc_prebuilt_binary because sh_binary does not support product_specific.
-// TODO(b/169954965): Change to sh_binary when product_specific is supported.
-cc_prebuilt_binary {
+sh_binary {
name: "com.android.gki.preinstall",
product_specific: true,
- srcs: ["preinstall.sh"],
- apex_available: ["com.android.gki.*"],
- strip: {
- none: true,
- },
+ src: "preinstall.sh",
}
// Common defaults for all GKI APEXes.