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

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

Issue 2596653002: Remove support for Ubuntu/Precise sysroot (Closed)
Patch Set: . Created 3 years, 8 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
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
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, including 7 # Script to install everything needed to build chromium on android, including
8 # items requiring sudo privileges. 8 # items requiring sudo privileges.
9 # See https://www.chromium.org/developers/how-tos/android-build-instructions 9 # See https://www.chromium.org/developers/how-tos/android-build-instructions
10 10
(...skipping 14 matching lines...) Expand all
25 --no-syms --lib32 --no-arm --no-chromeos-fonts --no-nacl --no-prompt "${args}" 25 --no-syms --lib32 --no-arm --no-chromeos-fonts --no-nacl --no-prompt "${args}"
26 26
27 # Fix deps 27 # Fix deps
28 sudo apt-get -f install 28 sudo apt-get -f install
29 29
30 # common 30 # common
31 sudo apt-get -y install lib32z1 lighttpd python-pexpect xvfb x11-utils 31 sudo apt-get -y install lib32z1 lighttpd python-pexpect xvfb x11-utils
32 32
33 # Some binaries in the Android SDK require 32-bit libraries on the host. 33 # Some binaries in the Android SDK require 32-bit libraries on the host.
34 # See https://developer.android.com/sdk/installing/index.html?pkg=tools 34 # See https://developer.android.com/sdk/installing/index.html?pkg=tools
35 if [[ $lsb_release == "precise" ]]; then 35 sudo apt-get -y install libncurses5:i386 libstdc++6:i386 zlib1g:i386
36 sudo apt-get -y install ia32-libs
37 else
38 sudo apt-get -y install libncurses5:i386 libstdc++6:i386 zlib1g:i386
39 fi
40 36
41 # Required by //components/cronet/tools/generate_javadoc.py 37 # Required by //components/cronet/tools/generate_javadoc.py
42 # TODO(375324): Stop requiring ANT. 38 # TODO(375324): Stop requiring ANT.
43 sudo apt-get -y install ant 39 sudo apt-get -y install ant
44 40
45 # Required for apk-patch-size-estimator 41 # Required for apk-patch-size-estimator
46 sudo apt-get -y install bsdiff 42 sudo apt-get -y install bsdiff
47 43
48 # Do our own error handling for java. 44 # Do our own error handling for java.
49 set +e 45 set +e
(...skipping 23 matching lines...) Expand all
73 which java 69 which java
74 echo -n '`which javac` reports: ' 70 echo -n '`which javac` reports: '
75 which javac 71 which javac
76 echo 72 echo
77 echo "You might also try running:" 73 echo "You might also try running:"
78 echo " sudo update-java-alternatives -s java-1.8.0-openjdk-amd64" 74 echo " sudo update-java-alternatives -s java-1.8.0-openjdk-amd64"
79 exit 1 75 exit 1
80 fi 76 fi
81 77
82 echo "install-build-deps-android.sh complete." 78 echo "install-build-deps-android.sh complete."
OLDNEW
« no previous file with comments | « build/experimental/install-build-deps.py ('k') | build/linux/sysroot_scripts/install-sysroot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698