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

Unified Diff: build/install-build-deps-android.sh

Issue 222183002: Call install-build-deps.sh from install-build-deps-android.sh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually, just invoke the full linux deps script Created 6 years, 9 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/install-build-deps-android.sh
diff --git a/build/install-build-deps-android.sh b/build/install-build-deps-android.sh
index 73e534a286922d02a8ef5cb4594b6af7c1433508..c3375ad858cf1b6023498ccc7eb8a013faa437e8 100755
--- a/build/install-build-deps-android.sh
+++ b/build/install-build-deps-android.sh
@@ -17,11 +17,9 @@ if ! uname -m | egrep -q "i686|x86_64"; then
exit
fi
-if [ "x$(id -u)" != x0 ]; then
- echo "Running as non-root user."
- echo "You might have to enter your password one or more times for 'sudo'."
- echo
-fi
+# Install first the default Linux build deps.
+"$(dirname "${BASH_SOURCE[0]}")/install-build-deps.sh" \
Nico 2014/04/03 20:19:56 Is `$(dirname "${0}") enough? It's not like there'
Primiano Tucci (use gerrit) 2014/04/03 20:54:10 I think the difference between $0 vs $BASH_SOURCE
Nico 2014/04/03 20:58:36 We use $0 in a bunch of places, and I never heard
Primiano Tucci (use gerrit) 2014/04/03 21:30:31 ~ $ cat foo #!/bin/bash echo My dir-1 is $(dirname
+ --no-syms --no-arm --no-chromeos-fonts --no-nacl --no-prompt
# The temporary directory used to store output of update-java-alternatives
TEMPDIR=$(mktemp -d)
« 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