Since we're only using it on Linux now, just require poppler as a system dependency.
The Ubuntu package needed is libpoppler-cpp-dev.
iconv and fontconfig were only used as Poppler dependencies. bson_c is also unused.
BUG=skia:
R=reed@google.com, rmistry@google.com, borenet@google.com, halcanary@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/294683003
git-svn-id: http://skia.googlecode.com/svn/trunk@14802 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/install_dependencies.sh b/tools/install_dependencies.sh
index 8d75c98..5769602 100755
--- a/tools/install_dependencies.sh
+++ b/tools/install_dependencies.sh
@@ -8,11 +8,14 @@
# dependencies using your system's package manager. If your system is
# not supported, add logic here to support it.
+set -e
+
if command -v lsb_release > /dev/null ; then
case $(lsb_release -i -s) in
Ubuntu)
sudo apt-get install \
build-essential \
+ libpoppler-cpp-dev \
libfreetype6-dev \
libfontconfig-dev \
libpng12-dev \