commit-bot@chromium.org | 0d317d3 | 2014-04-16 22:10:48 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | # Copyright 2014 Google Inc. |
| 3 | # |
| 4 | # Use of this source code is governed by a BSD-style license that can be |
| 5 | # found in the LICENSE file. |
| 6 | |
| 7 | if command -v lsb_release > /dev/null ; then |
| 8 | case $(lsb_release -i -s) in |
| 9 | Ubuntu) |
| 10 | sudo apt-get install \ |
| 11 | build-essential \ |
| 12 | libfreetype6-dev \ |
| 13 | libfontconfig-dev \ |
| 14 | libpng12-dev \ |
| 15 | libgif-dev \ |
| 16 | libqt4-dev \ |
| 17 | clang |
| 18 | if [ $(lsb_release -r -s) = '14.04' ] ; then |
| 19 | sudo apt-get install \ |
| 20 | ninja-build |
| 21 | fi |
| 22 | exit |
| 23 | ;; |
| 24 | esac |
| 25 | fi |
| 26 | |
| 27 | echo 'unknown system' |
| 28 | exit 1 |
| 29 | |