summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2019-06-24 15:09:01 +0100
committer Roland Levillain <rpl@google.com> 2019-06-25 11:00:05 +0000
commit89867bf1273fd76c6421b4f663076be08d6b51c0 (patch)
tree4ac32dcf4ac404666e4ba0e535a712131eb45ae2
parentf284a2d185ef4b45e3e794fa29eb78707f398bf1 (diff)
Refactor `native_shared_libs` in `com.android.runtime-defaults`.
Also rename `bionic_native_shared_libs_device` as `bionic_native_device_only_shared_libs` for consistency. Test: art/build/apex/runtests.sh Change-Id: I48cd9996e85397118ae815d1c2f1fcd6085fc969
-rw-r--r--build/apex/Android.bp8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/apex/Android.bp b/build/apex/Android.bp
index fcd64344de..529662608e 100644
--- a/build/apex/Android.bp
+++ b/build/apex/Android.bp
@@ -49,7 +49,7 @@ bionic_native_shared_libs = [
"libdl",
]
-bionic_native_shared_libs_device = [
+bionic_native_device_only_shared_libs = [
// ... and their internal dependencies
// These are available only on device
"libc_malloc_debug",
@@ -204,6 +204,7 @@ prebuilt_etc {
installable: false,
}
+// Default values shared by device Runtime APEXes.
apex_defaults {
name: "com.android.runtime-defaults",
compile_multilib: "both",
@@ -211,6 +212,7 @@ apex_defaults {
java_libs: libcore_java_libs,
native_shared_libs: art_runtime_base_native_shared_libs +
bionic_native_shared_libs +
+ bionic_native_device_only_shared_libs +
libcore_native_device_only_shared_libs +
libcore_native_shared_libs,
multilib: {
@@ -245,7 +247,6 @@ apex_defaults {
apex {
name: "com.android.runtime.release",
defaults: ["com.android.runtime-defaults"],
- native_shared_libs: bionic_native_shared_libs_device,
certificate: ":com.android.runtime.release.certificate",
}
@@ -256,8 +257,7 @@ apex {
name: "com.android.runtime.debug",
defaults: ["com.android.runtime-defaults"],
native_shared_libs: art_runtime_debug_native_shared_libs +
- libcore_debug_native_shared_libs +
- bionic_native_shared_libs_device,
+ libcore_debug_native_shared_libs,
multilib: {
both: {
binaries: art_tools_debug_binaries_both,