Avoid stderr warnings from Bionic in the run tests (reland).

system/usr/share/zoneinfo/tzdata is created when Bionic is compiled
from source, but not when the prebuilt is used.

This relands https://r.android.com/1344561.

Bug: 159355595
Test: art/test/testrunner/testrunner.py \
      --target --64 --optimizing -t 933
  in device chroot with and without Bionic prebuilt SDK (WIP)
Change-Id: If3d0a085e0bbd61e4b34e96820caeca27f52b00f
diff --git a/tools/buildbot-build.sh b/tools/buildbot-build.sh
index 9f2b9a8..e352fab 100755
--- a/tools/buildbot-build.sh
+++ b/tools/buildbot-build.sh
@@ -188,6 +188,14 @@
     done
   done
 
+  # TODO(b/159355595): Ensure there is a tzdata in system to avoid warnings on
+  # stderr from Bionic.
+  if [ ! -f $ANDROID_PRODUCT_OUT/system/usr/share/zoneinfo/tzdata ]; then
+    mkdir -p $ANDROID_PRODUCT_OUT/system/usr/share/zoneinfo
+    cp $ANDROID_PRODUCT_OUT/system/apex/com.android.tzdata/etc/tz/tzdata \
+      $ANDROID_PRODUCT_OUT/system/usr/share/zoneinfo/tzdata
+  fi
+
   # Create linker config files. We run linkerconfig on host to avoid problems
   # building it statically for device in an unbundled tree.