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

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

Issue 463353004: Fix install-build-deps-android for Trusty (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment Created 6 years, 4 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
« no previous file with comments | « no previous file | no next file » | 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 29 matching lines...) Expand all
40 # This step differs depending on what Ubuntu release we are running 40 # This step differs depending on what Ubuntu release we are running
41 # on since the package names are different, and Sun's Java must 41 # on since the package names are different, and Sun's Java must
42 # be installed manually on late-model versions. 42 # be installed manually on late-model versions.
43 43
44 # common 44 # common
45 sudo apt-get -y install lighttpd python-pexpect xvfb x11-utils 45 sudo apt-get -y install lighttpd python-pexpect xvfb x11-utils
46 46
47 # Few binaries in the Android SDK require 32-bit libraries on the host. 47 # Few binaries in the Android SDK require 32-bit libraries on the host.
48 sudo apt-get -y install lib32z1 g++-multilib 48 sudo apt-get -y install lib32z1 g++-multilib
49 49
50 # On Trusty-based systems you can't compile V8's mksnapshot without this one.
51 # It is compiled for the host, using the -m32 flag, so it needs some 32 bit
52 # development support. It seems harmless on older Linux releases.
53 sudo apt-get -y install linux-libc-dev:i386
54
50 sudo apt-get -y install ant 55 sudo apt-get -y install ant
51 56
52 # Install openjdk and openjre 7 stuff 57 # Install openjdk and openjre 7 stuff
53 sudo apt-get -y install openjdk-7-jre openjdk-7-jdk 58 sudo apt-get -y install openjdk-7-jre openjdk-7-jdk
54 59
55 # Switch version of Java to openjdk 7. 60 # Switch version of Java to openjdk 7.
56 # Some Java plugins (e.g. for firefox, mozilla) are not required to build, and 61 # Some Java plugins (e.g. for firefox, mozilla) are not required to build, and
57 # thus are treated only as warnings. Any errors in updating java alternatives 62 # thus are treated only as warnings. Any errors in updating java alternatives
58 # which are not '*-javaplugin.so' will cause errors and stop the script from 63 # which are not '*-javaplugin.so' will cause errors and stop the script from
59 # completing successfully. 64 # completing successfully.
(...skipping 13 matching lines...) Expand all
73 >& /dev/null 78 >& /dev/null
74 then 79 then
75 # If there are non-javaplugin.so errors, treat as errors and exit 80 # If there are non-javaplugin.so errors, treat as errors and exit
76 echo 'ERRORS: Failed to update alternatives for java-6-sun:' 81 echo 'ERRORS: Failed to update alternatives for java-6-sun:'
77 grep -v 'javaplugin.so' "${TEMPDIR}"/update-java-alternatives.out 82 grep -v 'javaplugin.so' "${TEMPDIR}"/update-java-alternatives.out
78 exit 1 83 exit 1
79 fi 84 fi
80 fi 85 fi
81 86
82 echo "install-build-deps-android.sh complete." 87 echo "install-build-deps-android.sh complete."
OLDNEW
« 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