Move bionic ("runtime") apex definition into bionic/.
Bug: http://b/139176024
Test: boots
Change-Id: Ifc3829e00b99c2f65ed932f0b42ab1ae59fec27c
diff --git a/apex/Android.bp b/apex/Android.bp
new file mode 100644
index 0000000..276541e
--- /dev/null
+++ b/apex/Android.bp
@@ -0,0 +1,43 @@
+// Runtime (Bionic) APEX module
+//
+// In Q this contained Bionic, ART and Libcore.
+// It keeps the name /apex/com.android.runtime for app compat reasons.
+
+android_app_certificate {
+ name: "com.android.runtime.certificate",
+ certificate: "com.android.runtime",
+}
+
+apex_key {
+ name: "com.android.runtime.key",
+ public_key: "com.android.runtime.avbpubkey",
+ private_key: "com.android.runtime.pem",
+}
+
+prebuilt_etc {
+ name: "com.android.runtime.ld.config.txt",
+ src: "ld.config.txt",
+ filename: "ld.config.txt",
+ installable: false,
+}
+
+apex {
+ name: "com.android.runtime",
+ compile_multilib: "both",
+ manifest: "manifest.json",
+ native_shared_libs: [
+ "libc",
+ "libm",
+ "libdl",
+ "libc_malloc_debug",
+ "libc_malloc_hooks",
+ ],
+ multilib: {
+ both: {
+ binaries: ["linker"],
+ },
+ },
+ prebuilts: ["com.android.runtime.ld.config.txt"],
+ key: "com.android.runtime.key",
+ certificate: ":com.android.runtime.certificate",
+}