Rename "platform" to "system" namespace in the ART linker config.
This is a follow-up for I23d865ac71a80619f291eb9ae0761a2cad5df352,
which broke ART tests with a lot of errors like this:
Exception in thread "main" java.lang.UnsatisfiedLinkError: dlopen failed: library "libc.so" not found: needed by /data/nativetest64/art/arm64/libarttest.so in namespace classloader-namespace
at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
at java.lang.System.loadLibrary(System.java:1665)
at Main.main(Main.java:42)
Test: aosp_walleye-userdebug builds
Test: test 461-get-reference-vreg passes (failed before the fix)
Instructions to run test in chroot:
unset ART_TEST_ANDROID_ROOT
unset CUSTOM_TARGET_LINKER
unset ART_TEST_ANDROID_RUNTIME_ROOT
unset ART_TEST_ANDROID_TZDATA_ROOT
export ART_TEST_CHROOT=/data/local/art-test-chroot
export OVERRIDE_TARGET_FLATTEN_APEX=true
. ./build/envsetup.sh
lunch aosp_walleye-userdebug
m adb -j72
art/tools/buildbot-build.sh --target -j72
art/tools/buildbot-cleanup-device.sh
art/tools/buildbot-setup-device.sh
art/tools/buildbot-sync.sh
art/test/run-test --chroot $ART_TEST_CHROOT --always-clean -O --prebuild --compact-dex-level fast --optimizing --no-relocate --runtime-option -Xcheck:jni --64 461-get-reference-vreg
art/tools/buildbot-teardown-device.sh
art/tools/buildbot-cleanup-device.sh
Change-Id: If40e6ea9cfc12051db493ee28b2c24538a023e00
1 file changed