Add support for ubuntu 15.10(wily) to install-build-deps.[sh|py]

Use new package names on 15.10 conditionally:
  apache2.2-bin -> apacahe2-bin
  xfonts-mathml -> fonts-stix

BUG=None

Review URL: https://codereview.chromium.org/1580663002

Cr-Commit-Position: refs/heads/master@{#370310}
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh
index cb5ec20..d882f25 100755
--- a/build/install-build-deps.sh
+++ b/build/install-build-deps.sh
@@ -73,11 +73,12 @@
 fi
 
 lsb_release=$(lsb_release --codename --short)
-ubuntu_codenames="(precise|trusty|utopic|vivid)"
+ubuntu_codenames="(precise|trusty|utopic|vivid|wily)"
 if [ 0 -eq "${do_unsupported-0}" ] && [ 0 -eq "${do_quick_check-0}" ] ; then
   if [[ ! $lsb_release =~ $ubuntu_codenames ]]; then
     echo "ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty), " \
-      "14.10 (utopic) and 15.04 (vivid) are currently supported" >&2
+      "14.10 (utopic), 15.04 (vivid) and 15.10 (wily) "
+      "are currently supported" >&2
     exit 1
   fi
 
@@ -97,7 +98,7 @@
 chromeos_dev_list="libbluetooth-dev libxkbcommon-dev realpath"
 
 # Packages needed for development
-dev_list="apache2.2-bin bison cdbs curl dpkg-dev elfutils devscripts fakeroot
+dev_list="bison cdbs curl dpkg-dev elfutils devscripts fakeroot
           flex fonts-thai-tlwg g++ git-core git-svn gperf language-pack-da
           language-pack-fr language-pack-he language-pack-zh-hant
           libapache2-mod-php5 libasound2-dev libbrlapi-dev libav-tools
@@ -110,7 +111,7 @@
           openbox patch perl php5-cgi pkg-config python python-cherrypy3
           python-crypto python-dev python-numpy python-opencv python-openssl
           python-psutil python-yaml rpm ruby subversion ttf-dejavu-core
-          ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho wdiff xfonts-mathml
+          ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho wdiff
           zip $chromeos_dev_list"
 
 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built
@@ -228,7 +229,16 @@
 else
   dev_list="${dev_list} libbrlapi0.5"
 fi
-
+if package_exists apache2-bin; then
+  dev_list="${dev_list} apache2-bin"
+else
+  dev_list="${dev_list} apache2.2-bin"
+fi
+if package_exists fonts-stix; then
+  dev_list="${dev_list} fonts-stix"
+else
+  dev_list="${dev_list} xfonts-mathml"
+fi
 
 # Some packages are only needed if the distribution actually supports
 # installing them.