Add com.android.vndk.current.on_vendor
The VNDK APEX overrides com.android.vndk.current in the vendor
partition. It is used to move the vndk apex from the system partition to
the vendor partition, for the aosp_* targets that use prebuilt
vendor.img
Bug: 140136207
Test: m
Change-Id: I678a76c63eb190d43a67c8c0f3507973833197e0
diff --git a/apex/Android.bp b/apex/Android.bp
index ff0b527..d6082b6 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -20,6 +20,12 @@
file_contexts: ":com.android.vndk-file_contexts",
}
+override_apex {
+ name: "com.android.vndk.current.on_vendor",
+ base: "com.android.vndk.current",
+ vendor: true,
+}
+
apex_key {
name: "com.android.vndk.current.key",
public_key: "com.android.vndk.current.pubkey",