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

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

Issue 126543004: Revert of Mirror images for RTL languages at build time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/android/gyp/process_resources.py ('k') | build/java.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 25 matching lines...) Expand all
36 sudo apt-get update 36 sudo apt-get update
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 to all Ubuntu versions: 46 # common
47 # - checkstyle: Used to check Java coding style during presubmit. 47 sudo apt-get -y install checkstyle lighttpd python-pexpect xvfb x11-utils
48 # - imagemagick: Used to mirror image assets for RTL at build time.
49 # - lighttpd
50 # - python-pexpect
51 # - xvfb
52 # - x11-utils
53 sudo apt-get -y install checkstyle imagemagick lighttpd python-pexpect xvfb \
54 x11-utils
55 48
56 # Few binaries in the Android SDK require 32-bit libraries on the host. 49 # Few binaries in the Android SDK require 32-bit libraries on the host.
57 sudo apt-get -y install lib32z1 g++-multilib 50 sudo apt-get -y install lib32z1 g++-multilib
58 51
59 if [ $(/usr/bin/lsb_release -r -s | cut -d"." -f1) -ge 12 ]; then 52 if [ $(/usr/bin/lsb_release -r -s | cut -d"." -f1) -ge 12 ]; then
60 # Ubuntu >= 12.x 53 # Ubuntu >= 12.x
61 sudo apt-get -y install ant 54 sudo apt-get -y install ant
62 55
63 # Java can not be installed via ppa on Ubuntu 12.04+ so we'll 56 # Java can not be installed via ppa on Ubuntu 12.04+ so we'll
64 # simply check to see if it has been setup properly -- if not 57 # simply check to see if it has been setup properly -- if not
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 then 95 then
103 # If there are non-javaplugin.so errors, treat as errors and exit 96 # If there are non-javaplugin.so errors, treat as errors and exit
104 echo 'ERRORS: Failed to update alternatives for java-6-sun:' 97 echo 'ERRORS: Failed to update alternatives for java-6-sun:'
105 grep -v 'javaplugin.so' "${TEMPDIR}"/update-java-alternatives.out 98 grep -v 'javaplugin.so' "${TEMPDIR}"/update-java-alternatives.out
106 exit 1 99 exit 1
107 fi 100 fi
108 fi 101 fi
109 fi 102 fi
110 103
111 echo "install-build-deps-android.sh complete." 104 echo "install-build-deps-android.sh complete."
OLDNEW
« no previous file with comments | « build/android/gyp/process_resources.py ('k') | build/java.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698