Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Side by Side Diff: build/install-build-deps.sh

Issue 27197011: Support cross compiling for armhf variant ARM/linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/common.gypi ('k') | build/linux/install-arm-sysroot.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 126
127 # arm cross toolchain packages needed to build chrome on arm 127 # arm cross toolchain packages needed to build chrome on armhf
128 arm_list="libc6-armel-cross libc6-dev-armel-cross libgcc1-armel-cross 128 arm_list="libc6-armhf-cross libc6-dev-armhf-cross libgcc1-armhf-cross
129 libgomp1-armel-cross linux-libc-dev-armel-cross 129 libgomp1-armhf-cross linux-libc-dev-armhf-cross
130 libgcc1-dbg-armel-cross libgomp1-dbg-armel-cross 130 libgcc1-dbg-armhf-cross libgomp1-dbg-armhf-cross
131 binutils-arm-linux-gnueabi cpp-arm-linux-gnueabi 131 binutils-arm-linux-gnueabihf cpp-arm-linux-gnueabihf
132 gcc-arm-linux-gnueabi g++-arm-linux-gnueabi 132 gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
133 libmudflap0-dbg-armel-cross" 133 libmudflap0-dbg-armhf-cross"
134 134
135 # Old armel cross toolchain packages
136 armel_list="libc6-armel-cross libc6-dev-armel-cross libgcc1-armel-cross
137 libgomp1-armel-cross linux-libc-dev-armel-cross
138 libgcc1-dbg-armel-cross libgomp1-dbg-armel-cross
139 binutils-arm-linux-gnueabi cpp-arm-linux-gnueabi
140 gcc-arm-linux-gnueabi g++-arm-linux-gnueabi
141 libmudflap0-dbg-armel-cross"
142
143 # TODO(sbc): remove armel once the armhf transition is complete
144 arm_list="$arm_list $armel_list"
135 145
136 # Some package names have changed over time 146 # Some package names have changed over time
137 if package_exists ttf-mscorefonts-installer; then 147 if package_exists ttf-mscorefonts-installer; then
138 dev_list="${dev_list} ttf-mscorefonts-installer" 148 dev_list="${dev_list} ttf-mscorefonts-installer"
139 else 149 else
140 dev_list="${dev_list} msttcorefonts" 150 dev_list="${dev_list} msttcorefonts"
141 fi 151 fi
142 if package_exists libnspr4-dbg; then 152 if package_exists libnspr4-dbg; then
143 dbg_list="${dbg_list} libnspr4-dbg libnss3-dbg" 153 dbg_list="${dbg_list} libnspr4-dbg libnss3-dbg"
144 lib_list="${lib_list} libnspr4 libnss3" 154 lib_list="${lib_list} libnspr4 libnss3"
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 sed -e 's/[.]so[.][0-9].*/.so/' | 566 sed -e 's/[.]so[.][0-9].*/.so/' |
557 sort -u); do 567 sort -u); do
558 [ "x${i##*/}" = "xld-linux.so" ] && continue 568 [ "x${i##*/}" = "xld-linux.so" ] && continue
559 [ -r "$i" ] && continue 569 [ -r "$i" ] && continue
560 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | 570 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' |
561 sort -n | tail -n 1)" 571 sort -n | tail -n 1)"
562 [ -r "$i.$j" ] || continue 572 [ -r "$i.$j" ] || continue
563 sudo ln -s "${i##*/}.$j" "$i" 573 sudo ln -s "${i##*/}.$j" "$i"
564 done 574 done
565 fi 575 fi
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/linux/install-arm-sysroot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698