Commit 50f36a01 authored by thakis@chromium.org's avatar thakis@chromium.org

envsetup: Unbreak android_gyp for a while.

r262292 accidentally broke android_gyp. Unbreak it for a while, by using
an env var with a long name that hopefully nobody will refer to from anywhere
in the 3-4 weeks it's going to be in the tree.

BUG=330631
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263143 0039d316-1c4b-4281-b951-d872f2087c98
parent 0e275e14
...@@ -46,10 +46,12 @@ android_envsetup_main() { ...@@ -46,10 +46,12 @@ android_envsetup_main() {
# Add Chromium Android development scripts to system path. # Add Chromium Android development scripts to system path.
# Must be after CHROME_SRC is set. # Must be after CHROME_SRC is set.
export PATH=$PATH:${CHROME_SRC}/build/android export PATH=$PATH:${CHROME_SRC}/build/android
export ENVSETUP_GYP_CHROME_SRC=${CHROME_SRC} # TODO(thakis): Remove.
} }
android_envsetup_main android_envsetup_main
android_gyp() { android_gyp() {
echo "Please call build/gyp_chromium instead. android_gyp is going away." echo "Please call build/gyp_chromium instead. android_gyp is going away."
"${CHROME_SRC}/build/gyp_chromium" --depth="${CHROME_SRC}" --check "$@" "${ENVSETUP_GYP_CHROME_SRC}/build/gyp_chromium" --depth="${ENVSETUP_GYP_CHROME_SRC}" --check "$@"
} }
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