Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Side by Side Diff: build/install-build-deps.sh

Issue 1410093009: build: Add libffi as a build dependency on linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
9 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit 9 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 # Packages needed for chromeos only 96 # Packages needed for chromeos only
97 chromeos_dev_list="libbluetooth-dev libxkbcommon-dev realpath" 97 chromeos_dev_list="libbluetooth-dev libxkbcommon-dev realpath"
98 98
99 # Packages needed for development 99 # Packages needed for development
100 dev_list="apache2.2-bin bison cdbs curl dpkg-dev elfutils devscripts fakeroot 100 dev_list="apache2.2-bin bison cdbs curl dpkg-dev elfutils devscripts fakeroot
101 flex fonts-thai-tlwg g++ git-core git-svn gperf language-pack-da 101 flex fonts-thai-tlwg g++ git-core git-svn gperf language-pack-da
102 language-pack-fr language-pack-he language-pack-zh-hant 102 language-pack-fr language-pack-he language-pack-zh-hant
103 libapache2-mod-php5 libasound2-dev libbrlapi-dev libav-tools 103 libapache2-mod-php5 libasound2-dev libbrlapi-dev libav-tools
104 libbz2-dev libcairo2-dev libcap-dev libcups2-dev libcurl4-gnutls-dev 104 libbz2-dev libcairo2-dev libcap-dev libcups2-dev libcurl4-gnutls-dev
105 libdrm-dev libelf-dev libexif-dev libgconf2-dev libglib2.0-dev 105 libdrm-dev libelf-dev libexif-dev libffi-dev libgconf2-dev
106 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libkrb5-dev 106 libglib2.0-dev libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev
107 libnspr4-dev libnss3-dev libpam0g-dev libpci-dev libpulse-dev 107 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libpci-dev
108 libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev libudev-dev 108 libpulse-dev libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev
109 libwww-perl libxslt1-dev libxss-dev libxt-dev libxtst-dev openbox 109 libudev-dev libwww-perl libxslt1-dev libxss-dev libxt-dev libxtst-dev
110 patch perl php5-cgi pkg-config python python-cherrypy3 python-crypto 110 openbox patch perl php5-cgi pkg-config python python-cherrypy3
111 python-dev python-numpy python-opencv python-openssl python-psutil 111 python-crypto python-dev python-numpy python-opencv python-openssl
112 python-yaml rpm ruby subversion ttf-dejavu-core ttf-indic-fonts 112 python-psutil python-yaml rpm ruby subversion ttf-dejavu-core
113 ttf-kochi-gothic ttf-kochi-mincho wdiff xfonts-mathml zip 113 ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho wdiff xfonts-mathml
114 $chromeos_dev_list" 114 zip $chromeos_dev_list"
115 115
116 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built 116 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built
117 # NaCl binaries. 117 # NaCl binaries.
118 if file -L /sbin/init | grep -q 'ELF 64-bit'; then 118 if file -L /sbin/init | grep -q 'ELF 64-bit'; then
119 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" 119 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6"
120 fi 120 fi
121 121
122 # Run-time libraries required by chromeos only 122 # Run-time libraries required by chromeos only
123 chromeos_lib_list="libpulse0 libbz2-1.0" 123 chromeos_lib_list="libpulse0 libbz2-1.0"
124 124
125 # Full list of required run-time libraries 125 # Full list of required run-time libraries
126 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcap2 libcups2 libexpat1 126 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcap2 libcups2 libexpat1
127 libexif12 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 127 libexif12 libffi6 libfontconfig1 libfreetype6 libglib2.0-0
128 libgtk2.0-0 libpam0g libpango1.0-0 libpci3 libpcre3 libpixman-1-0 128 libgnome-keyring0 libgtk2.0-0 libpam0g libpango1.0-0 libpci3 libpcre3
129 libpng12-0 libspeechd2 libstdc++6 libsqlite3-0 libx11-6 129 libpixman-1-0 libpng12-0 libspeechd2 libstdc++6 libsqlite3-0 libx11-6
130 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 130 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6
131 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 131 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1
132 libxtst6 zlib1g $chromeos_lib_list" 132 libxtst6 zlib1g $chromeos_lib_list"
133 133
134 # Debugging symbols for all of the run-time libraries 134 # Debugging symbols for all of the run-time libraries
135 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libfontconfig1-dbg 135 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libffi6-dbg libfontconfig1-dbg
136 libglib2.0-0-dbg libgtk2.0-0-dbg libpango1.0-0-dbg libpcre3-dbg 136 libglib2.0-0-dbg libgtk2.0-0-dbg libpango1.0-0-dbg libpcre3-dbg
137 libpixman-1-0-dbg libsqlite3-0-dbg libx11-6-dbg libxau6-dbg 137 libpixman-1-0-dbg libsqlite3-0-dbg libx11-6-dbg libxau6-dbg
138 libxcb1-dbg libxcomposite1-dbg libxcursor1-dbg libxdamage1-dbg 138 libxcb1-dbg libxcomposite1-dbg libxcursor1-dbg libxdamage1-dbg
139 libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg libxinerama1-dbg 139 libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg libxinerama1-dbg
140 libxrandr2-dbg libxrender1-dbg libxtst6-dbg zlib1g-dbg" 140 libxrandr2-dbg libxrender1-dbg libxtst6-dbg zlib1g-dbg"
141 141
142 # Find the proper version of libstdc++6-4.x-dbg. 142 # Find the proper version of libstdc++6-4.x-dbg.
143 if [ "x$lsb_release" = "xprecise" ]; then 143 if [ "x$lsb_release" = "xprecise" ]; then
144 dbg_list="${dbg_list} libstdc++6-4.6-dbg" 144 dbg_list="${dbg_list} libstdc++6-4.6-dbg"
145 elif [ "x$lsb_release" = "xtrusty" ]; then 145 elif [ "x$lsb_release" = "xtrusty" ]; then
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 # only contains libcrypto.so.1.0.0 and not the symlink needed for 462 # only contains libcrypto.so.1.0.0 and not the symlink needed for
463 # linking (libcrypto.so). 463 # linking (libcrypto.so).
464 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ 464 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \
465 /usr/lib/i386-linux-gnu/libcrypto.so 465 /usr/lib/i386-linux-gnu/libcrypto.so
466 466
467 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ 467 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \
468 /usr/lib/i386-linux-gnu/libssl.so 468 /usr/lib/i386-linux-gnu/libssl.so
469 else 469 else
470 echo "Skipping symbolic links for NaCl." 470 echo "Skipping symbolic links for NaCl."
471 fi 471 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698