Revert "Reland "Copy crash_dump from device to chroot.""
This reverts commit 69c4d26fb350aa7079629634012e69eaa935b8bc.
Reason for revert: Does not work, crash_dump uses libunwindstack.so and the chroot will have a different version.
Change-Id: Ida7f7c805e5d498c6cc3841072e33ed865062625
diff --git a/tools/buildbot-sync.sh b/tools/buildbot-sync.sh
index 5970cc7..28dab0c 100755
--- a/tools/buildbot-sync.sh
+++ b/tools/buildbot-sync.sh
@@ -111,26 +111,6 @@
activate_apex com.android.conscrypt
activate_apex com.android.os.statsd
-# Replace the crash dump binary with the one on the device. This is because
-# the tombstoned server running is the one on the device.
-crash_dump_locations=(
- # Location for Q+ devices.
- "/apex/com.android.runtime/bin"
- # Location on devices prior to Q.
- "/system/bin/"
-)
-
-for b in 32 64; do
- for crash_dump_location in ${crash_dump_locations[@]}; do
- crash_dump_path="$crash_dump_location/crash_dump$b"
- if adb shell test -x "$crash_dump_path"; then
- msginfo "Copying $crash_dump_path from device to chroot"
- adb shell cp "$crash_dump_path" "$ART_TEST_CHROOT/$crash_dump_path"
- break
- fi
- done
-done
-
# Generate primary boot images on device for testing.
for b in {32,64}; do
basename="generate-boot-image$b"