Commit d8807ee1 authored by isheriff's avatar isheriff Committed by Commit bot

Report better error message on update sandbox for gn builds

The documentation for gn builds specifies using a different
output directory than gyp builds, but the update sandbox script
reports error message assuming only gyp builds.

Update the error message to prod user into specifying BUILDTYPE
to find the sandbox in the right place

BUG=

Review URL: https://codereview.chromium.org/1309433002

Cr-Commit-Position: refs/heads/master@{#344600}
parent 5cd819b3
......@@ -39,8 +39,9 @@ if [ ! -d "${CHROME_OUT_DIR}" ]; then
fi
if [ ! -f "${CHROME_SANDBOX_BUILD_PATH}" ]; then
echo -n "Could not find ${CHROME_SANDBOX_BUILD_PATH}, "
echo "please make sure you build the chrome_sandbox target"
echo "Could not find ${CHROME_SANDBOX_BUILD_PATH}"
echo -n "BUILDTYPE is $BUILDTYPE, use \"BUILDTYPE=<value> ${0}\" to override "
echo "after you build the chrome_sandbox target"
exit 1
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment