Have the ART Buildbot generate ICU .dat files in /system/etc/icu on target.
Have tools/buildbot-build.sh build target `icu-data-art-test`, copying
ICU .dat prebuilt files into /system/etc/icu, so that they can be
found even if the Runtime APEX is not available, by setting the
environment variable `ART_TEST_ANDROID_RUNTIME_ROOT` to "/system" on
This is a temporary change needed until the ART Buildbot fully
supports the Runtime APEX.
Test: Rely on the ART Buildbot.
diff --git a/tools/buildbot-build.sh b/tools/buildbot-build.sh
index ce1a246..d4888f9 100755
@@ -83,6 +83,15 @@
# Build the Debug Runtime APEX (which is a superset of the Release Runtime APEX).
+ # Create a copy of the ICU .dat prebuilt files in /system/etc/icu on target,
+ # so that it can found even if the Runtime APEX is not available, by setting
+ # the environment variable `ART_TEST_ANDROID_RUNTIME_ROOT` to "/system" on
+ # device. This is a temporary change needed until both the ART Buildbot and
+ # Golem fully support the Runtime APEX.
+ # TODO(b/121117762): Remove this when the ART Buildbot and Golem have full
+ # support for the Runtime APEX.
+ make_command+=" icu-data-art-test"