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

Side by Side Diff: chrome/installer/linux/common/installer.include

Issue 397243004: Pepper: Remove trusted plugin loadable module. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months 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 | Annotate | Revision Log
OLDNEW
1 # Recursively replace @@include@@ template variables with the referenced file, 1 # Recursively replace @@include@@ template variables with the referenced file,
2 # and write the resulting text to stdout. 2 # and write the resulting text to stdout.
3 process_template_includes() { 3 process_template_includes() {
4 INCSTACK+="$1->" 4 INCSTACK+="$1->"
5 # Includes are relative to the file that does the include. 5 # Includes are relative to the file that does the include.
6 INCDIR=$(dirname $1) 6 INCDIR=$(dirname $1)
7 # Clear IFS so 'read' doesn't trim whitespace 7 # Clear IFS so 'read' doesn't trim whitespace
8 local OLDIFS="$IFS" 8 local OLDIFS="$IFS"
9 IFS='' 9 IFS=''
10 while read -r LINE 10 while read -r LINE
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 install -m 644 -s "${BUILDDIR}/libpdf.so" "${STAGEDIR}/${INSTALLDIR}/" 170 install -m 644 -s "${BUILDDIR}/libpdf.so" "${STAGEDIR}/${INSTALLDIR}/"
171 fi 171 fi
172 172
173 # peerconnection shared library 173 # peerconnection shared library
174 if [ -f "${BUILDDIR}/lib/libpeerconnection.so" ]; then 174 if [ -f "${BUILDDIR}/lib/libpeerconnection.so" ]; then
175 install -m 755 -d "${STAGEDIR}/${INSTALLDIR}/lib/" 175 install -m 755 -d "${STAGEDIR}/${INSTALLDIR}/lib/"
176 176
177 install -m 644 -s "${BUILDDIR}/lib/libpeerconnection.so" "${STAGEDIR}/${INST ALLDIR}/lib/" 177 install -m 644 -s "${BUILDDIR}/lib/libpeerconnection.so" "${STAGEDIR}/${INST ALLDIR}/lib/"
178 fi 178 fi
179 179
180 # nacl pepper plugin
181 if [ -f "${BUILDDIR}/libppGoogleNaClPluginChrome.so" ]; then
182 install -m 644 -s "${BUILDDIR}/libppGoogleNaClPluginChrome.so" "${STAGEDIR}/ ${INSTALLDIR}/"
183 fi
184
185 # nacl_helper and nacl_helper_bootstrap 180 # nacl_helper and nacl_helper_bootstrap
186 # Don't use "-s" (strip) because this runs binutils "strip", which 181 # Don't use "-s" (strip) because this runs binutils "strip", which
187 # mangles the special ELF program headers of nacl_helper_bootstrap. 182 # mangles the special ELF program headers of nacl_helper_bootstrap.
188 # Explicitly use eu-strip instead, because it doesn't have that problem. 183 # Explicitly use eu-strip instead, because it doesn't have that problem.
189 for file in nacl_helper nacl_helper_bootstrap; do 184 for file in nacl_helper nacl_helper_bootstrap; do
190 buildfile="${BUILDDIR}/${file}" 185 buildfile="${BUILDDIR}/${file}"
191 if [ -f "${buildfile}" ]; then 186 if [ -f "${buildfile}" ]; then
192 strippedfile="${buildfile}.stripped" 187 strippedfile="${buildfile}.stripped"
193 debugfile="${buildfile}.debug" 188 debugfile="${buildfile}.debug"
194 "${BUILDDIR}/installer/common/eu-strip" -o "${strippedfile}" -f "${debugfi le}" "${buildfile}" 189 "${BUILDDIR}/installer/common/eu-strip" -o "${strippedfile}" -f "${debugfi le}" "${buildfile}"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml" 236 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml"
242 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml" 237 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml"
243 process_template "${BUILDDIR}/installer/common/default-app-block.template" \ 238 process_template "${BUILDDIR}/installer/common/default-app-block.template" \
244 "${STAGEDIR}${INSTALLDIR}/default-app-block" 239 "${STAGEDIR}${INSTALLDIR}/default-app-block"
245 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block" 240 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block"
246 241
247 # documentation 242 # documentation
248 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \ 243 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \
249 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1" 244 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1"
250 } 245 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698