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

Side by Side Diff: build/install-build-deps-android.sh

Issue 106173002: Mirror images for RTL languages at build time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/bash -e 1 #!/bin/bash -e
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script to install everything needed to build chromium on android that 7 # Script to install everything needed to build chromium on android that
8 # requires sudo privileges. 8 # requires sudo privileges.
9 # See http://code.google.com/p/chromium/wiki/AndroidBuildInstructions 9 # See http://code.google.com/p/chromium/wiki/AndroidBuildInstructions
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 # Fix deps 38 # Fix deps
39 sudo apt-get -f install 39 sudo apt-get -f install
40 40
41 # Install deps 41 # Install deps
42 # This step differs depending on what Ubuntu release we are running 42 # This step differs depending on what Ubuntu release we are running
43 # on since the package names are different, and Sun's Java must 43 # on since the package names are different, and Sun's Java must
44 # be installed manually on late-model versions. 44 # be installed manually on late-model versions.
45 45
46 # common 46 # common
47 sudo apt-get -y install checkstyle lighttpd python-pexpect xvfb x11-utils 47 sudo apt-get -y install checkstyle imagemagick lighttpd python-pexpect xvfb \
cjhopman 2013/12/06 17:28:23 Could we start a pattern of documenting what these
newt (away) 2013/12/06 19:22:51 Done. Not sure if there's a prettier way of doing
48 x11-utils
48 49
49 # Few binaries in the Android SDK require 32-bit libraries on the host. 50 # Few binaries in the Android SDK require 32-bit libraries on the host.
50 sudo apt-get -y install lib32z1 g++-multilib 51 sudo apt-get -y install lib32z1 g++-multilib
51 52
52 if [ $(/usr/bin/lsb_release -r -s | cut -d"." -f1) -ge 12 ]; then 53 if [ $(/usr/bin/lsb_release -r -s | cut -d"." -f1) -ge 12 ]; then
53 # Ubuntu >= 12.x 54 # Ubuntu >= 12.x
54 sudo apt-get -y install ant 55 sudo apt-get -y install ant
55 56
56 # Java can not be installed via ppa on Ubuntu 12.04+ so we'll 57 # Java can not be installed via ppa on Ubuntu 12.04+ so we'll
57 # simply check to see if it has been setup properly -- if not 58 # simply check to see if it has been setup properly -- if not
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 then 96 then
96 # If there are non-javaplugin.so errors, treat as errors and exit 97 # If there are non-javaplugin.so errors, treat as errors and exit
97 echo 'ERRORS: Failed to update alternatives for java-6-sun:' 98 echo 'ERRORS: Failed to update alternatives for java-6-sun:'
98 grep -v 'javaplugin.so' "${TEMPDIR}"/update-java-alternatives.out 99 grep -v 'javaplugin.so' "${TEMPDIR}"/update-java-alternatives.out
99 exit 1 100 exit 1
100 fi 101 fi
101 fi 102 fi
102 fi 103 fi
103 104
104 echo "install-build-deps-android.sh complete." 105 echo "install-build-deps-android.sh complete."
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698