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 https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i
nstructions.md |
9 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit | |
10 | 9 |
11 usage() { | 10 usage() { |
12 echo "Usage: $0 [--options]" | 11 echo "Usage: $0 [--options]" |
13 echo "Options:" | 12 echo "Options:" |
14 echo "--[no-]syms: enable or disable installation of debugging symbols" | 13 echo "--[no-]syms: enable or disable installation of debugging symbols" |
15 echo "--lib32: enable installation of 32-bit libraries, e.g. for V8 snapshot" | 14 echo "--lib32: enable installation of 32-bit libraries, e.g. for V8 snapshot" |
16 echo "--[no-]arm: enable or disable installation of arm cross toolchain" | 15 echo "--[no-]arm: enable or disable installation of arm cross toolchain" |
17 echo "--[no-]chromeos-fonts: enable or disable installation of Chrome OS"\ | 16 echo "--[no-]chromeos-fonts: enable or disable installation of Chrome OS"\ |
18 "fonts" | 17 "fonts" |
19 echo "--[no-]nacl: enable or disable installation of prerequisites for"\ | 18 echo "--[no-]nacl: enable or disable installation of prerequisites for"\ |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 # only contains libcrypto.so.1.0.0 and not the symlink needed for | 471 # only contains libcrypto.so.1.0.0 and not the symlink needed for |
473 # linking (libcrypto.so). | 472 # linking (libcrypto.so). |
474 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ | 473 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ |
475 /usr/lib/i386-linux-gnu/libcrypto.so | 474 /usr/lib/i386-linux-gnu/libcrypto.so |
476 | 475 |
477 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ | 476 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ |
478 /usr/lib/i386-linux-gnu/libssl.so | 477 /usr/lib/i386-linux-gnu/libssl.so |
479 else | 478 else |
480 echo "Skipping symbolic links for NaCl." | 479 echo "Skipping symbolic links for NaCl." |
481 fi | 480 fi |
OLD | NEW |