blob: f262117660558ed43f424f66e36c01bb5939ed62 [file] [log] [blame]
commit-bot@chromium.org0d317d32014-04-16 22:10:48 +00001#!/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
7if 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
25fi
26
27echo 'unknown system'
28exit 1
29