Mark bionic APEX as visible
Linkerconfig is going to remove all hard-coded dependencies from APEX
modules and let APEX modules specify its own requirements. As part of
it, this change adds a new configuration file for linkerconfig and let
it aware that bionic APEX should be visible from all sections.
Bug: 167946001
Test: atest passed
Change-Id: If934d9a3e72b1466ee0d7bbb66d9383b90986a6b
diff --git a/apex/Android.bp b/apex/Android.bp
index 100430d..c6c4cbf 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -36,6 +36,9 @@
},
key: "com.android.runtime.key",
certificate: ":com.android.runtime.certificate",
+ prebuilts: [
+ "bionic-linker-config",
+ ],
}
sdk {
@@ -76,3 +79,10 @@
},
},
}
+
+prebuilt_etc {
+ name: "bionic-linker-config",
+ src: "linker.config.txt",
+ filename: "linker.config.txt",
+ installable: false,
+}