Don't copy prebuilt implementation libs that should be built from
source.
See https://r.android.com/2198690 for details.
Also added a note on how standalone-apex-files is broken. It'd be a lot
of work to make that approach safe. Instead refer to b/129332183, which
is about moving Golem to chroot, which would make this whole thing
obsolete.
Test: art/tools/run-gtests.sh
art/test/testrunner/testrunner.py --target --64
in the ART chroot setup.
Bug: 129332183
Bug: 243935575
Change-Id: I43c6f8b6315bc9cdd0d0e7a6bf57ce4ca3f5f60e
diff --git a/Android.mk b/Android.mk
index 6ae2e2d..d3e37dc 100644
--- a/Android.mk
+++ b/Android.mk
@@ -647,6 +647,13 @@
#
# TODO(b/129332183): Remove this when Golem has full support for the
# ART APEX.
+#
+# TODO(b/129332183): This approach is flawed: We mix DSOs from prebuilt APEXes
+# and prebuilts/runtime/mainline/platform/impl with source built ones, and both
+# may depend on the same DSOs, and some of them don't have stable ABIs.
+# libbase.so in particular is such a problematic dependency. When those
+# dependencies eventually don't work anymore we don't have much choice but to
+# update all prebuilts.
.PHONY: standalone-apex-files
standalone-apex-files: deapexer \
$(RELEASE_ART_APEX) \
diff --git a/tools/buildbot-build.sh b/tools/buildbot-build.sh
index 4a4be8f..59164ee 100755
--- a/tools/buildbot-build.sh
+++ b/tools/buildbot-build.sh
@@ -193,11 +193,9 @@
"heapprofd_client_api.so"
"libandroid_runtime_lazy.so"
"libartpalette-system.so"
- "libbase.so"
"libbinder.so"
"libbinder_ndk.so"
"libcutils.so"
- "liblog.so"
"libutils.so"
"libvndksupport.so"
)