diff options
| author | 2022-12-21 10:18:36 +0900 | |
|---|---|---|
| committer | 2022-12-28 01:45:25 +0000 | |
| commit | cc77cdec4eeb4299efa1a94d942cec99ffe16adb (patch) | |
| tree | 6f5cb9f0683bb15869b417c839cbf26d3b16350d | |
| parent | de88488dc76c8be175273ed7f6eb8684a02f48f4 (diff) | |
Remove duplicates in ART apex
bootclasspath_fragment causes the dependent libs to be in the apex.
Having those libs in java_libs as well is confusing because
bootclasspath_fragment might do something with those deps but it's not
clear which artifacts are used in the apex.
Now, it's clear that those dependencies are from bootclasspath_fragment,
not from java_libs.
Bug: 191770320
Test: m com.android.art
Change-Id: I17df5fc25c1d518e38155509a8b111545ec4305a
| -rw-r--r-- | build/apex/Android.bp | 3 | ||||
| -rw-r--r-- | odrefresh/Android.bp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/build/apex/Android.bp b/build/apex/Android.bp index 04ab94343b..504ce92bb0 100644 --- a/build/apex/Android.bp +++ b/build/apex/Android.bp @@ -166,6 +166,8 @@ art_tools_host_only_binaries = [ ] // Core Java libraries. +// This list must be the same as art-bootclasspath-fragment because it's that which is pulled in +// through bootclasspath_fragments below. (com.android.art-device-defaults-minus-odrefresh) libcore_java_libs = [ "core-oj", "core-libart", @@ -262,7 +264,6 @@ apex_defaults { bootclasspath_fragments: ["art-bootclasspath-fragment"], systemserverclasspath_fragments: ["art-systemserverclasspath-fragment"], compat_configs: ["libcore-platform-compat-config"], - java_libs: libcore_java_libs, native_shared_libs: art_runtime_base_native_shared_libs + art_runtime_base_native_device_only_shared_libs + libcore_native_shared_libs, diff --git a/odrefresh/Android.bp b/odrefresh/Android.bp index 9958e3a797..7fe4dc4325 100644 --- a/odrefresh/Android.bp +++ b/odrefresh/Android.bp @@ -122,6 +122,7 @@ art_cc_binary { local_include_dirs: ["include"], header_libs: ["libbase_headers"], srcs: ["odrefresh_broken.cc"], + installable: false, apex_available: ["test_jitzygote_com.android.art"], } |