| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 | 115 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 |
| 116 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 | 116 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 |
| 117 libxtst6 zlib1g $chromeos_lib_list" | 117 libxtst6 zlib1g $chromeos_lib_list" |
| 118 | 118 |
| 119 # Debugging symbols for all of the run-time libraries | 119 # Debugging symbols for all of the run-time libraries |
| 120 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libfontconfig1-dbg | 120 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libfontconfig1-dbg |
| 121 libglib2.0-0-dbg libgtk2.0-0-dbg libpango1.0-0-dbg libpcre3-dbg | 121 libglib2.0-0-dbg libgtk2.0-0-dbg libpango1.0-0-dbg libpcre3-dbg |
| 122 libpixman-1-0-dbg libsqlite3-0-dbg libx11-6-dbg libxau6-dbg | 122 libpixman-1-0-dbg libsqlite3-0-dbg libx11-6-dbg libxau6-dbg |
| 123 libxcb1-dbg libxcomposite1-dbg libxcursor1-dbg libxdamage1-dbg | 123 libxcb1-dbg libxcomposite1-dbg libxcursor1-dbg libxdamage1-dbg |
| 124 libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg libxinerama1-dbg | 124 libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg libxinerama1-dbg |
| 125 libxrandr2-dbg libxrender1-dbg libxtst6-dbg zlib1g-dbg" | 125 libxrandr2-dbg libxrender1-dbg libxtst6-dbg zlib1g-dbg |
| 126 libstdc++6-4.6-dbg" |
| 126 | 127 |
| 127 # arm cross toolchain packages needed to build chrome on armhf | 128 # arm cross toolchain packages needed to build chrome on armhf |
| 128 arm_list="libc6-armhf-cross libc6-dev-armhf-cross libgcc1-armhf-cross | 129 arm_list="libc6-armhf-cross libc6-dev-armhf-cross libgcc1-armhf-cross |
| 129 libgomp1-armhf-cross linux-libc-dev-armhf-cross | 130 libgomp1-armhf-cross linux-libc-dev-armhf-cross |
| 130 libgcc1-dbg-armhf-cross libgomp1-dbg-armhf-cross | 131 libgcc1-dbg-armhf-cross libgomp1-dbg-armhf-cross |
| 131 binutils-arm-linux-gnueabihf cpp-arm-linux-gnueabihf | 132 binutils-arm-linux-gnueabihf cpp-arm-linux-gnueabihf |
| 132 gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf | 133 gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf |
| 133 libmudflap0-dbg-armhf-cross" | 134 libmudflap0-dbg-armhf-cross" |
| 134 | 135 |
| 135 # Old armel cross toolchain packages | 136 # Old armel cross toolchain packages |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 sed -e 's/[.]so[.][0-9].*/.so/' | | 567 sed -e 's/[.]so[.][0-9].*/.so/' | |
| 567 sort -u); do | 568 sort -u); do |
| 568 [ "x${i##*/}" = "xld-linux.so" ] && continue | 569 [ "x${i##*/}" = "xld-linux.so" ] && continue |
| 569 [ -r "$i" ] && continue | 570 [ -r "$i" ] && continue |
| 570 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 571 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
| 571 sort -n | tail -n 1)" | 572 sort -n | tail -n 1)" |
| 572 [ -r "$i.$j" ] || continue | 573 [ -r "$i.$j" ] || continue |
| 573 sudo ln -s "${i##*/}.$j" "$i" | 574 sudo ln -s "${i##*/}.$j" "$i" |
| 574 done | 575 done |
| 575 fi | 576 fi |
| OLD | NEW |