| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg libxinerama1-dbg | 136 libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg libxinerama1-dbg |
| 137 libxrandr2-dbg libxrender1-dbg libxtst6-dbg zlib1g-dbg | 137 libxrandr2-dbg libxrender1-dbg libxtst6-dbg zlib1g-dbg |
| 138 libstdc++6-4.6-dbg" | 138 libstdc++6-4.6-dbg" |
| 139 | 139 |
| 140 # arm cross toolchain packages needed to build chrome on armhf | 140 # arm cross toolchain packages needed to build chrome on armhf |
| 141 arm_list="libc6-dev-armhf-cross | 141 arm_list="libc6-dev-armhf-cross |
| 142 linux-libc-dev-armhf-cross | 142 linux-libc-dev-armhf-cross |
| 143 g++-arm-linux-gnueabihf" | 143 g++-arm-linux-gnueabihf" |
| 144 | 144 |
| 145 # Packages to build standalone NaCl and all its toolchains. | 145 # Packages to build standalone NaCl and all its toolchains. |
| 146 nacl_list="g++-mingw-w64-i686 libtinfo-dev:i386" | 146 nacl_list="g++-mingw-w64-i686 libtinfo-dev libtinfo-dev:i386" |
| 147 | 147 |
| 148 # Some package names have changed over time | 148 # Some package names have changed over time |
| 149 if package_exists ttf-mscorefonts-installer; then | 149 if package_exists ttf-mscorefonts-installer; then |
| 150 dev_list="${dev_list} ttf-mscorefonts-installer" | 150 dev_list="${dev_list} ttf-mscorefonts-installer" |
| 151 else | 151 else |
| 152 dev_list="${dev_list} msttcorefonts" | 152 dev_list="${dev_list} msttcorefonts" |
| 153 fi | 153 fi |
| 154 if package_exists libnspr4-dbg; then | 154 if package_exists libnspr4-dbg; then |
| 155 dbg_list="${dbg_list} libnspr4-dbg libnss3-dbg" | 155 dbg_list="${dbg_list} libnspr4-dbg libnss3-dbg" |
| 156 lib_list="${lib_list} libnspr4 libnss3" | 156 lib_list="${lib_list} libnspr4 libnss3" |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 sed -e 's/[.]so[.][0-9].*/.so/' | | 576 sed -e 's/[.]so[.][0-9].*/.so/' | |
| 577 sort -u); do | 577 sort -u); do |
| 578 [ "x${i##*/}" = "xld-linux.so" ] && continue | 578 [ "x${i##*/}" = "xld-linux.so" ] && continue |
| 579 [ -r "$i" ] && continue | 579 [ -r "$i" ] && continue |
| 580 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 580 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
| 581 sort -n | tail -n 1)" | 581 sort -n | tail -n 1)" |
| 582 [ -r "$i.$j" ] || continue | 582 [ -r "$i.$j" ] || continue |
| 583 sudo ln -s "${i##*/}.$j" "$i" | 583 sudo ln -s "${i##*/}.$j" "$i" |
| 584 done | 584 done |
| 585 fi | 585 fi |
| OLD | NEW |