OLD | NEW |
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 (well, ideally, anyway) | 7 # Script to install everything needed to build chromium (well, ideally, anyway) |
8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i
nstructions.md | 8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i
nstructions.md |
9 | 9 |
10 usage() { | 10 usage() { |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 | 149 |
150 # 32-bit libraries needed e.g. to compile V8 snapshot for Android or armhf | 150 # 32-bit libraries needed e.g. to compile V8 snapshot for Android or armhf |
151 lib32_list="linux-libc-dev:i386" | 151 lib32_list="linux-libc-dev:i386" |
152 | 152 |
153 # arm cross toolchain packages needed to build chrome on armhf | 153 # arm cross toolchain packages needed to build chrome on armhf |
154 arm_list="libc6-dev-armhf-cross | 154 arm_list="libc6-dev-armhf-cross |
155 linux-libc-dev-armhf-cross | 155 linux-libc-dev-armhf-cross |
156 g++-arm-linux-gnueabihf" | 156 g++-arm-linux-gnueabihf" |
157 | 157 |
158 # Work around for dependency issue Ubuntu/Trusty: http://crbug.com/435056 | 158 # Work around for dependency issue Ubuntu/Trusty: http://crbug.com/435056 |
159 if [ "x$lsb_release" = "xtrusty" ]; then | 159 case $lsb_release in |
160 arm_list+=" g++-4.8-multilib-arm-linux-gnueabihf | 160 trusty) |
161 gcc-4.8-multilib-arm-linux-gnueabihf" | 161 arm_list+=" g++-4.8-multilib-arm-linux-gnueabihf |
162 fi | 162 gcc-4.8-multilib-arm-linux-gnueabihf" |
| 163 ;; |
| 164 wily) |
| 165 arm_list+=" g++-5-multilib-arm-linux-gnueabihf |
| 166 gcc-5-multilib-arm-linux-gnueabihf |
| 167 gcc-arm-linux-gnueabihf" |
| 168 ;; |
| 169 esac |
163 | 170 |
164 # Packages to build NaCl, its toolchains, and its ports. | 171 # Packages to build NaCl, its toolchains, and its ports. |
165 naclports_list="ant autoconf bison cmake gawk intltool xutils-dev xsltproc" | 172 naclports_list="ant autoconf bison cmake gawk intltool xutils-dev xsltproc" |
166 nacl_list="g++-mingw-w64-i686 lib32z1-dev | 173 nacl_list="g++-mingw-w64-i686 lib32z1-dev |
167 libasound2:i386 libcap2:i386 libelf-dev:i386 libfontconfig1:i386 | 174 libasound2:i386 libcap2:i386 libelf-dev:i386 libfontconfig1:i386 |
168 libgconf-2-4:i386 libglib2.0-0:i386 libgpm2:i386 libgtk2.0-0:i386 | 175 libgconf-2-4:i386 libglib2.0-0:i386 libgpm2:i386 libgtk2.0-0:i386 |
169 libncurses5:i386 lib32ncurses5-dev libnss3:i386 libpango1.0-0:i386 | 176 libncurses5:i386 lib32ncurses5-dev libnss3:i386 libpango1.0-0:i386 |
170 libssl1.0.0:i386 libtinfo-dev libtinfo-dev:i386 libtool | 177 libssl1.0.0:i386 libtinfo-dev libtinfo-dev:i386 libtool |
171 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxi6:i386 | 178 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxi6:i386 |
172 libxrandr2:i386 libxss1:i386 libxtst6:i386 texinfo xvfb | 179 libxrandr2:i386 libxss1:i386 libxtst6:i386 texinfo xvfb |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 # only contains libcrypto.so.1.0.0 and not the symlink needed for | 476 # only contains libcrypto.so.1.0.0 and not the symlink needed for |
470 # linking (libcrypto.so). | 477 # linking (libcrypto.so). |
471 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ | 478 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ |
472 /usr/lib/i386-linux-gnu/libcrypto.so | 479 /usr/lib/i386-linux-gnu/libcrypto.so |
473 | 480 |
474 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ | 481 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ |
475 /usr/lib/i386-linux-gnu/libssl.so | 482 /usr/lib/i386-linux-gnu/libssl.so |
476 else | 483 else |
477 echo "Skipping symbolic links for NaCl." | 484 echo "Skipping symbolic links for NaCl." |
478 fi | 485 fi |
OLD | NEW |