Make ART chroot setup & sync scripts a bit more robust.

Before this change, if one forgot to run
`art/tools/setup-buildbot-device.sh` before running
`art/tools/buildbot-sync.sh`, the tree on the device under
`$ART_TEST_CHROOT` would become messy (as the contents of
`$ANDROID_PRODUCT_OUT/system` and `$ANDROID_PRODUCT_OUT/data` would be
directly copied into `$ART_TEST_CHROOT`) and scripts
`tools/teardown-buildbot-device.sh` and
`art/tools/cleanup-buildbot-device.sh` would not work correctly.

To avoid that issue, have `tools/buildbot-sync.sh` create all the
expected directories under `$ART_TEST_CHROOT` prior to pushing files
into them, so that the behavior of `tools/buildbot-sync.sh` is
independent of whether `art/tools/setup-buildbot-device.sh` had run
before or not.

Test: Check that running:
        `art/tools/buildbot-sync.sh && art/tools/setup-buildbot-device.sh`
      produces the same effect as running:
        `art/tools/setup-buildbot-device.sh && art/tools/buildbot-sync.sh`
Bug: 34729697
Bug: 121117762
Change-Id: Ieebb3588648f2f61efaa82fb25078e0018db97be
1 file changed