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

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

Issue 1161183003: Revert "Chromium changes to statically link ffmpeg." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « chrome/chrome_installer.gypi ('k') | chrome/installer/mini_installer/chrome.release » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 # Rename sandbox binary with hyphen instead of underscore because that's what 149 # Rename sandbox binary with hyphen instead of underscore because that's what
150 # the code looks for, but the build targets can't use hyphens (scons bug?) 150 # the code looks for, but the build targets can't use hyphens (scons bug?)
151 install -m 4755 -s "${BUILDDIR}/${PROGNAME}_sandbox" \ 151 install -m 4755 -s "${BUILDDIR}/${PROGNAME}_sandbox" \
152 "${STAGEDIR}/${INSTALLDIR}/${PROGNAME}-sandbox" 152 "${STAGEDIR}/${INSTALLDIR}/${PROGNAME}-sandbox"
153 153
154 # l10n paks 154 # l10n paks
155 cp -a "${BUILDDIR}/locales" "${STAGEDIR}/${INSTALLDIR}/" 155 cp -a "${BUILDDIR}/locales" "${STAGEDIR}/${INSTALLDIR}/"
156 find "${STAGEDIR}/${INSTALLDIR}/locales" -type f -exec chmod 644 '{}' \; 156 find "${STAGEDIR}/${INSTALLDIR}/locales" -type f -exec chmod 644 '{}' \;
157 find "${STAGEDIR}/${INSTALLDIR}/locales" -type d -exec chmod 755 '{}' \; 157 find "${STAGEDIR}/${INSTALLDIR}/locales" -type d -exec chmod 755 '{}' \;
158 158
159 # ffmpeg libs
160 install -m 644 -s "${BUILDDIR}/libffmpegsumo.so" "${STAGEDIR}/${INSTALLDIR}/"
161
159 # Widevine CDM. 162 # Widevine CDM.
160 if [ -f "${BUILDDIR}/libwidevinecdmadapter.so" ]; then 163 if [ -f "${BUILDDIR}/libwidevinecdmadapter.so" ]; then
161 install -m 644 -s "${BUILDDIR}/libwidevinecdmadapter.so" "${STAGEDIR}/${INST ALLDIR}/" 164 install -m 644 -s "${BUILDDIR}/libwidevinecdmadapter.so" "${STAGEDIR}/${INST ALLDIR}/"
162 install -m 644 "${BUILDDIR}/libwidevinecdm.so" "${STAGEDIR}/${INSTALLDIR}/" 165 install -m 644 "${BUILDDIR}/libwidevinecdm.so" "${STAGEDIR}/${INSTALLDIR}/"
163 fi 166 fi
164 167
165 # Pepper Flash. 168 # Pepper Flash.
166 PEPPERFLASH_SRCDIR="${BUILDDIR}/PepperFlash" 169 PEPPERFLASH_SRCDIR="${BUILDDIR}/PepperFlash"
167 PEPPERFLASH_DESTDIR="${STAGEDIR}/${INSTALLDIR}/PepperFlash" 170 PEPPERFLASH_DESTDIR="${STAGEDIR}/${INSTALLDIR}/PepperFlash"
168 install -m 755 -d "${PEPPERFLASH_DESTDIR}" 171 install -m 755 -d "${PEPPERFLASH_DESTDIR}"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml" 248 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml"
246 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml" 249 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml"
247 process_template "${BUILDDIR}/installer/common/default-app-block.template" \ 250 process_template "${BUILDDIR}/installer/common/default-app-block.template" \
248 "${STAGEDIR}${INSTALLDIR}/default-app-block" 251 "${STAGEDIR}${INSTALLDIR}/default-app-block"
249 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block" 252 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block"
250 253
251 # documentation 254 # documentation
252 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \ 255 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \
253 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1" 256 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1"
254 } 257 }
OLDNEW
« no previous file with comments | « chrome/chrome_installer.gypi ('k') | chrome/installer/mini_installer/chrome.release » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698