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

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

Issue 670183003: Update from chromium 62675d9fb31fb8cedc40f68e78e8445a74f362e7 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « build/get_syzygy_binaries.py ('k') | build/sanitizers/sanitizer_options.cc » ('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 mojo (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
11 usage() { 11 usage() {
12 echo "Usage: $0 [--options]" 12 echo "Usage: $0 [--options]"
13 echo "Options:" 13 echo "Options:"
14 echo "--[no-]syms: enable or disable installation of debugging symbols" 14 echo "--[no-]syms: enable or disable installation of debugging symbols"
15 echo "--[no-]arm: enable or disable installation of arm cross toolchain" 15 echo "--[no-]arm: enable or disable installation of arm cross toolchain"
16 echo "--[no-]chromeos-fonts: enable or disable installation of Chrome OS"\ 16 echo "--[no-]chromeos-fonts: enable or disable installation of Chrome OS"\
17 "fonts" 17 "fonts"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 *) # The user pressed an unrecognized key. As we are not echoing 241 *) # The user pressed an unrecognized key. As we are not echoing
242 # any incorrect user input, alert the user by ringing the bell. 242 # any incorrect user input, alert the user by ringing the bell.
243 (tput bel) 2>/dev/null 243 (tput bel) 2>/dev/null
244 ;; 244 ;;
245 esac 245 esac
246 done 246 done
247 } 247 }
248 248
249 if test "$do_inst_syms" = "" && test 0 -eq ${do_quick_check-0} 249 if test "$do_inst_syms" = "" && test 0 -eq ${do_quick_check-0}
250 then 250 then
251 echo "This script installs all tools and libraries needed to build Mojo." 251 echo "This script installs all tools and libraries needed to build Chromium."
252 echo "" 252 echo ""
253 echo "For most of the libraries, it can also install debugging symbols, which" 253 echo "For most of the libraries, it can also install debugging symbols, which"
254 echo "will allow you to debug code in the system libraries. Most developers" 254 echo "will allow you to debug code in the system libraries. Most developers"
255 echo "won't need these symbols." 255 echo "won't need these symbols."
256 echo -n "Do you want me to install them for you (y/N) " 256 echo -n "Do you want me to install them for you (y/N) "
257 if yes_no 1; then 257 if yes_no 1; then
258 do_inst_syms=1 258 do_inst_syms=1
259 fi 259 fi
260 fi 260 fi
261 if test "$do_inst_syms" = "1"; then 261 if test "$do_inst_syms" = "1"; then
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 echo "Installing symbolic links for NaCl." 401 echo "Installing symbolic links for NaCl."
402 if [ ! -r /usr/lib/i386-linux-gnu/libcrypto.so ]; then 402 if [ ! -r /usr/lib/i386-linux-gnu/libcrypto.so ]; then
403 sudo ln -fs libcrypto.so.0.9.8 /usr/lib/i386-linux-gnu/libcrypto.so 403 sudo ln -fs libcrypto.so.0.9.8 /usr/lib/i386-linux-gnu/libcrypto.so
404 fi 404 fi
405 if [ ! -r /usr/lib/i386-linux-gnu/libssl.so ]; then 405 if [ ! -r /usr/lib/i386-linux-gnu/libssl.so ]; then
406 sudo ln -fs libssl.so.0.9.8 /usr/lib/i386-linux-gnu/libssl.so 406 sudo ln -fs libssl.so.0.9.8 /usr/lib/i386-linux-gnu/libssl.so
407 fi 407 fi
408 else 408 else
409 echo "Skipping symbolic links for NaCl." 409 echo "Skipping symbolic links for NaCl."
410 fi 410 fi
OLDNEW
« no previous file with comments | « build/get_syzygy_binaries.py ('k') | build/sanitizers/sanitizer_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698