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

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

Issue 2038993002: Added my name to the AUTHORS file, added Yakkety support in (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « AUTHORS ('k') | 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 https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i nstructions.md 8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i nstructions.md
9 9
10 usage() { 10 usage() {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 do_inst_lib32=1 65 do_inst_lib32=1
66 fi 66 fi
67 67
68 # Check for lsb_release command in $PATH 68 # Check for lsb_release command in $PATH
69 if ! which lsb_release > /dev/null; then 69 if ! which lsb_release > /dev/null; then
70 echo "ERROR: lsb_release not found in \$PATH" >&2 70 echo "ERROR: lsb_release not found in \$PATH" >&2
71 exit 1; 71 exit 1;
72 fi 72 fi
73 73
74 lsb_release=$(lsb_release --codename --short) 74 lsb_release=$(lsb_release --codename --short)
75 ubuntu_codenames="(precise|trusty|utopic|vivid|wily|xenial)" 75 ubuntu_codenames="(precise|trusty|wily|xenial|yakkety)"
76 if [ 0 -eq "${do_unsupported-0}" ] && [ 0 -eq "${do_quick_check-0}" ] ; then 76 if [ 0 -eq "${do_unsupported-0}" ] && [ 0 -eq "${do_quick_check-0}" ] ; then
77 if [[ ! $lsb_release =~ $ubuntu_codenames ]]; then 77 if [[ ! $lsb_release =~ $ubuntu_codenames ]]; then
78 echo "ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty), " \ 78 echo "ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty), " \
79 "14.10 (utopic), 15.04 (vivid), 15.10 (wily) and 16.04 (xenial) " \ 79 "15.10 (wily), 16.04 (xenial), and the development branch " \
80 "are currently supported" >&2 80 "are currently supported" >&2
81 exit 1 81 exit 1
82 fi 82 fi
83 83
84 if ! uname -m | egrep -q "i686|x86_64"; then 84 if ! uname -m | egrep -q "i686|x86_64"; then
85 echo "Only x86 architectures are currently supported" >&2 85 echo "Only x86 architectures are currently supported" >&2
86 exit 86 exit
87 fi 87 fi
88 fi 88 fi
89 89
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 # only contains libcrypto.so.1.0.0 and not the symlink needed for 497 # only contains libcrypto.so.1.0.0 and not the symlink needed for
498 # linking (libcrypto.so). 498 # linking (libcrypto.so).
499 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ 499 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \
500 /usr/lib/i386-linux-gnu/libcrypto.so 500 /usr/lib/i386-linux-gnu/libcrypto.so
501 501
502 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ 502 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \
503 /usr/lib/i386-linux-gnu/libssl.so 503 /usr/lib/i386-linux-gnu/libssl.so
504 else 504 else
505 echo "Skipping symbolic links for NaCl." 505 echo "Skipping symbolic links for NaCl."
506 fi 506 fi
OLDNEW
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698