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

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

Issue 13532003: Installing Chrome OS fonts fails when repo is on filer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 months 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
« no previous file with comments | « no previous file | no next file » | 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 fi 199 fi
200 if test "$do_inst_syms" = "1"; then 200 if test "$do_inst_syms" = "1"; then
201 echo "Installing debugging symbols." 201 echo "Installing debugging symbols."
202 else 202 else
203 echo "Skipping installation of debugging symbols." 203 echo "Skipping installation of debugging symbols."
204 dbg_list= 204 dbg_list=
205 fi 205 fi
206 206
207 # Install the Chrome OS default fonts. 207 # Install the Chrome OS default fonts.
208 if test "$do_inst_chromeos_fonts" != "0"; then 208 if test "$do_inst_chromeos_fonts" != "0"; then
209 echo
209 echo "Installing Chrome OS fonts." 210 echo "Installing Chrome OS fonts."
211 echo "To skip: run with command line option --no-chromeos-fonts."
210 dir=`echo $0 | sed -r -e 's/\/[^/]+$//'` 212 dir=`echo $0 | sed -r -e 's/\/[^/]+$//'`
211 sudo $dir/linux/install-chromeos-fonts.py 213 cp $dir/linux/install-chromeos-fonts.py /tmp
214 sudo chmod 0555 /tmp/install-chromeos-fonts.py
Daniel Erat 2013/04/03 14:38:34 why do you need to use sudo when chmod-ing and rm-
sschmitz 2013/04/03 15:10:45 Good point. Removed. And using chmod a+x instead.
215 sudo /tmp/install-chromeos-fonts.py
216 sudo rm /tmp/install-chromeos-fonts.py
212 else 217 else
213 echo "Skipping installation of Chrome OS fonts." 218 echo "Skipping installation of Chrome OS fonts."
214 fi 219 fi
215 220
216 # When cross building for arm on 64-bit systems the host binaries 221 # When cross building for arm on 64-bit systems the host binaries
217 # that are part of v8 need to be compiled with -m32 which means 222 # that are part of v8 need to be compiled with -m32 which means
218 # that basic multilib support is needed. 223 # that basic multilib support is needed.
219 if [ "$(uname -m)" = "x86_64" ]; then 224 if [ "$(uname -m)" = "x86_64" ]; then
220 arm_list="$arm_list g++-multilib" 225 arm_list="$arm_list g++-multilib"
221 fi 226 fi
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 sed -e 's/[.]so[.][0-9].*/.so/' | 467 sed -e 's/[.]so[.][0-9].*/.so/' |
463 sort -u); do 468 sort -u); do
464 [ "x${i##*/}" = "xld-linux.so" ] && continue 469 [ "x${i##*/}" = "xld-linux.so" ] && continue
465 [ -r "$i" ] && continue 470 [ -r "$i" ] && continue
466 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | 471 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' |
467 sort -n | tail -n 1)" 472 sort -n | tail -n 1)"
468 [ -r "$i.$j" ] || continue 473 [ -r "$i.$j" ] || continue
469 sudo ln -s "${i##*/}.$j" "$i" 474 sudo ln -s "${i##*/}.$j" "$i"
470 done 475 done
471 fi 476 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698