| 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 http://code.google.com/p/chromium/wiki/LinuxBuildInstructions | 8 # See http://code.google.com/p/chromium/wiki/LinuxBuildInstructions |
| 9 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit | 9 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit |
| 10 | 10 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 | 130 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 |
| 131 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 | 131 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 |
| 132 libxtst6 zlib1g $chromeos_lib_list" | 132 libxtst6 zlib1g $chromeos_lib_list" |
| 133 | 133 |
| 134 # Debugging symbols for all of the run-time libraries | 134 # Debugging symbols for all of the run-time libraries |
| 135 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libfontconfig1-dbg | 135 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libfontconfig1-dbg |
| 136 libglib2.0-0-dbg libgtk2.0-0-dbg libpango1.0-0-dbg libpcre3-dbg | 136 libglib2.0-0-dbg libgtk2.0-0-dbg libpango1.0-0-dbg libpcre3-dbg |
| 137 libpixman-1-0-dbg libsqlite3-0-dbg libx11-6-dbg libxau6-dbg | 137 libpixman-1-0-dbg libsqlite3-0-dbg libx11-6-dbg libxau6-dbg |
| 138 libxcb1-dbg libxcomposite1-dbg libxcursor1-dbg libxdamage1-dbg | 138 libxcb1-dbg libxcomposite1-dbg libxcursor1-dbg libxdamage1-dbg |
| 139 libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg libxinerama1-dbg | 139 libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg libxinerama1-dbg |
| 140 libxrandr2-dbg libxrender1-dbg libxtst6-dbg zlib1g-dbg | 140 libxrandr2-dbg libxrender1-dbg libxtst6-dbg zlib1g-dbg" |
| 141 libstdc++6-4.6-dbg" | 141 |
| 142 # Find the proper version of libstdc++6-4.x-dbg. |
| 143 if [ "x$lsb_release" = "xprecise" ]; then |
| 144 dbg_list="${dbg_list} libstdc++6-4.6-dbg" |
| 145 elif [ "x$lsb_release" = "xtrusty" ]; then |
| 146 dbg_list="${dbg_list} libstdc++6-4.8-dbg" |
| 147 else |
| 148 dbg_list="${dbg_list} libstdc++6-4.9-dbg" |
| 149 fi |
| 142 | 150 |
| 143 # 32-bit libraries needed e.g. to compile V8 snapshot for Android or armhf | 151 # 32-bit libraries needed e.g. to compile V8 snapshot for Android or armhf |
| 144 lib32_list="linux-libc-dev:i386" | 152 lib32_list="linux-libc-dev:i386" |
| 145 | 153 |
| 146 # arm cross toolchain packages needed to build chrome on armhf | 154 # arm cross toolchain packages needed to build chrome on armhf |
| 147 arm_list="libc6-dev-armhf-cross | 155 arm_list="libc6-dev-armhf-cross |
| 148 linux-libc-dev-armhf-cross | 156 linux-libc-dev-armhf-cross |
| 149 g++-arm-linux-gnueabihf" | 157 g++-arm-linux-gnueabihf" |
| 150 | 158 |
| 151 # Packages to build NaCl, its toolchains, and its ports. | 159 # Packages to build NaCl, its toolchains, and its ports. |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 # only contains libcrypto.so.1.0.0 and not the symlink needed for | 446 # only contains libcrypto.so.1.0.0 and not the symlink needed for |
| 439 # linking (libcrypto.so). | 447 # linking (libcrypto.so). |
| 440 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ | 448 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ |
| 441 /usr/lib/i386-linux-gnu/libcrypto.so | 449 /usr/lib/i386-linux-gnu/libcrypto.so |
| 442 | 450 |
| 443 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ | 451 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ |
| 444 /usr/lib/i386-linux-gnu/libssl.so | 452 /usr/lib/i386-linux-gnu/libssl.so |
| 445 else | 453 else |
| 446 echo "Skipping symbolic links for NaCl." | 454 echo "Skipping symbolic links for NaCl." |
| 447 fi | 455 fi |
| OLD | NEW |