aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools
diff options
context:
space:
mode:
authorGravatar borenet <borenet@chromium.org>2016-04-13 09:37:25 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-13 09:37:26 -0700
commit2892668f1b36de25c63a70858dfab5ff0f5caf72 (patch)
tree48501cc4a586485f65b6889231b8992af25c7c4e /platform_tools
parent33b6b8ef99f7b2df498f7a3e242ffa197e1fc734 (diff)
Fix ChromeOS Swarming bot compile
Diffstat (limited to 'platform_tools')
-rwxr-xr-xplatform_tools/chromeos/bin/chromeos_make6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform_tools/chromeos/bin/chromeos_make b/platform_tools/chromeos/bin/chromeos_make
index a1cb2ba6a3..cb58a9c08f 100755
--- a/platform_tools/chromeos/bin/chromeos_make
+++ b/platform_tools/chromeos/bin/chromeos_make
@@ -63,6 +63,12 @@ fi
# thinks we're in a Chrome checkout.
echo "Delete me!" > "${CHROMEOS_CHROOT}/.gclient"
+# We may also need a .git directory.
+GIT_DIR="${CHROMEOS_CHROOT}/src/third_party/chromite/.git"
+if ! [[ -d "${GIT_DIR}" ]]; then
+ mkdir -p ${GIT_DIR}
+fi
+
# Where the Skia code will pretend to live inside the chroot.
SKIA_TOP_DIR="${SCRIPT_DIR}/../../.."