Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(561)

Unified Diff: build/android/envsetup.sh

Issue 159133002: android envsetup: Don't set script-local variable toolchain_dir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/envsetup.sh
diff --git a/build/android/envsetup.sh b/build/android/envsetup.sh
index 4c6c7245d5a47a27097a3f9098081ed91ac2ba05..46e3a4eaeccdfbfddf1a76d2c35e756460287aa6 100755
--- a/build/android/envsetup.sh
+++ b/build/android/envsetup.sh
@@ -49,18 +49,6 @@ case "${host_arch}" in
return 1
esac
-case "${host_os}" in
- "linux")
- toolchain_dir="linux-${host_arch}"
- ;;
- "mac")
- toolchain_dir="darwin-${host_arch}"
- ;;
- *)
- echo "Host platform ${host_os} is not supported" >& 2
- return 1
-esac
-
CURRENT_DIR="$(readlink -f "${SCRIPT_DIR}/../../")"
if [[ -z "${CHROME_SRC}" ]]; then
# If $CHROME_SRC was not set, assume current directory is CHROME_SRC.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698