Checkout libimobiledevice* and libusbmuxd to flutter branch

Uses branch with empty commit to trigger an ARM build. Also, point the
libimobiledeviceglue remote to the mirror instead of the GitHub repo.
cl/897835343

- https://flutter-review.googlesource.com/c/third_party/libimobiledevice/+/77481
- https://flutter-review.googlesource.com/c/third_party/libimobiledevice-glue/+/77500
- https://flutter-review.googlesource.com/c/third_party/libusbmuxd/+/77480

Bug: https://github.com/flutter/flutter/issues/182587
Change-Id: Ie1b5db75ffcd38a59eb9018301fb73cd2a373ef4
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/77520
Reviewed-by: Jason Simmons <jsimmons@google.com>
Commit-Queue: Jenn Magder <magder@google.com>
diff --git a/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libimobiledevice.sh b/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libimobiledevice.sh
index 6987e23..e98e58d 100755
--- a/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libimobiledevice.sh
+++ b/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libimobiledevice.sh
@@ -17,7 +17,8 @@
 OUTPUT_DIR="$3"
 REMOTE_URL="https://flutter.googlesource.com/third_party/libimobiledevice"
 
-git clone "$REMOTE_URL" "$SRC_DIR"
+# Checkout flutter branch https://flutter-review.googlesource.com/c/third_party/libimobiledevice/+/77481
+git clone "$REMOTE_URL" "$SRC_DIR" --branch flutter
 cd "$SRC_DIR"
 git rev-parse HEAD > "commit_sha.txt"
 
diff --git a/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libimobiledeviceglue.sh b/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libimobiledeviceglue.sh
index 237f406..755da8e 100755
--- a/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libimobiledeviceglue.sh
+++ b/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libimobiledeviceglue.sh
@@ -15,9 +15,10 @@
 SRC_DIR="$1"
 INSTALL_DIR="$2"
 OUTPUT_DIR="$3"
-REMOTE_URL="https://github.com/libimobiledevice/libimobiledevice-glue.git"
+REMOTE_URL="https://flutter.googlesource.com/third_party/libimobiledevice-glue.git"
 
-git clone "$REMOTE_URL" "$SRC_DIR"
+# Checkout flutter branch https://flutter-review.googlesource.com/c/third_party/libimobiledevice-glue/+/77500
+git clone "$REMOTE_URL" "$SRC_DIR" --branch flutter
 cd "$SRC_DIR"
 git rev-parse HEAD > "commit_sha.txt"
 
diff --git a/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libusbmuxd.sh b/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libusbmuxd.sh
index 7a8d082..d177e96 100755
--- a/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libusbmuxd.sh
+++ b/recipes/ios_usb_dependencies/ios-usb-dependencies.resources/libusbmuxd.sh
@@ -17,7 +17,8 @@
 OUTPUT_DIR="$3"
 REMOTE_URL="https://flutter.googlesource.com/third_party/libusbmuxd"
 
-git clone "$REMOTE_URL" "$SRC_DIR"
+# Checkout flutter branch https://flutter-review.googlesource.com/c/third_party/libusbmuxd/+/77480
+git clone "$REMOTE_URL" "$SRC_DIR" --branch flutter
 cd "$SRC_DIR"
 git rev-parse HEAD > "commit_sha.txt"