Create the linker configs on host.
The reason is to avoid building the linkerconfig binary for device -
it's a static binary, which can't be built with a prebuilt Bionic SDK.
Test: m installclean && \
art/tools/buildbot-build.sh --target && \
art/tools/buildbot-teardown-device.sh && \
art/tools/buildbot-cleanup-device.sh && \
art/tools/buildbot-setup-device.sh && \
art/tools/buildbot-sync.sh
Then pull data/local/art-test-chroot back and compare it before and
after the change. The only difference is that
system/bin/linkerconfig is gone.
(data/nativetest64/art/art-gtest-MainEmptyUncompressed{,Aligned}.jar
also differ, but that's due to build nondeterminism since the zip
archives contain build time ctimes for empty dex files.)
Bug: 152255951
Change-Id: I8d56612adbe6575d6dbb25308d787c1937c04a11
2 files changed