tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

install-build-deps-android.sh (1105B)


      1 #!/bin/bash
      2 
      3 # Copyright 2012 The Chromium Authors
      4 # Use of this source code is governed by a BSD-style license that can be
      5 # found in the LICENSE file.
      6 
      7 # Script to install everything needed to build chromium on android, including
      8 # items requiring sudo privileges.
      9 # See https://www.chromium.org/developers/how-tos/android-build-instructions
     10 
     11 args="$@"
     12 
     13 if ! uname -m | egrep -q "i686|x86_64"; then
     14  echo "Only x86 architectures are currently supported" >&2
     15  exit
     16 fi
     17 
     18 # Exit if any commands fail.
     19 set -e
     20 
     21 lsb_release=$(lsb_release --codename --short)
     22 
     23 # Install first the default Linux build deps.
     24 "$(dirname "${BASH_SOURCE[0]}")/install-build-deps.sh" \
     25  --no-syms --lib32 --no-arm --no-chromeos-fonts --no-nacl --no-prompt "${args}"
     26 
     27 # Fix deps
     28 sudo apt-get -f install
     29 
     30 # common
     31 sudo apt-get -y install lib32z1 lighttpd xvfb x11-utils
     32 
     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
     35 sudo apt-get -y install libncurses5:i386 libstdc++6:i386 zlib1g:i386
     36 
     37 echo "install-build-deps-android.sh complete."