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

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

Issue 203963003: Turns on use_mojo=1 for linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: link Created 6 years, 9 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 "${STAGEDIR}/${INSTALLDIR}/${PROGNAME}-sandbox" 143 "${STAGEDIR}/${INSTALLDIR}/${PROGNAME}-sandbox"
144 144
145 # l10n paks 145 # l10n paks
146 cp -a "${BUILDDIR}/locales" "${STAGEDIR}/${INSTALLDIR}/" 146 cp -a "${BUILDDIR}/locales" "${STAGEDIR}/${INSTALLDIR}/"
147 find "${STAGEDIR}/${INSTALLDIR}/locales" -type f -exec chmod 644 '{}' \; 147 find "${STAGEDIR}/${INSTALLDIR}/locales" -type f -exec chmod 644 '{}' \;
148 find "${STAGEDIR}/${INSTALLDIR}/locales" -type d -exec chmod 755 '{}' \; 148 find "${STAGEDIR}/${INSTALLDIR}/locales" -type d -exec chmod 755 '{}' \;
149 149
150 # ffmpeg libs 150 # ffmpeg libs
151 install -m 644 -s "${BUILDDIR}/libffmpegsumo.so" "${STAGEDIR}/${INSTALLDIR}/" 151 install -m 644 -s "${BUILDDIR}/libffmpegsumo.so" "${STAGEDIR}/${INSTALLDIR}/"
152 152
153 install -m 644 -s "${BUILDDIR}/lib/libmojo_system.so" "${STAGEDIR}/${INSTALLDI R}/"
154
153 # Widevine CDM. 155 # Widevine CDM.
154 if [ -f "${BUILDDIR}/libwidevinecdmadapter.so" ]; then 156 if [ -f "${BUILDDIR}/libwidevinecdmadapter.so" ]; then
155 install -m 644 -s "${BUILDDIR}/libwidevinecdmadapter.so" "${STAGEDIR}/${INST ALLDIR}/" 157 install -m 644 -s "${BUILDDIR}/libwidevinecdmadapter.so" "${STAGEDIR}/${INST ALLDIR}/"
156 install -m 644 "${BUILDDIR}/libwidevinecdm.so" "${STAGEDIR}/${INSTALLDIR}/" 158 install -m 644 "${BUILDDIR}/libwidevinecdm.so" "${STAGEDIR}/${INSTALLDIR}/"
157 fi 159 fi
158 160
159 # Pepper Flash. 161 # Pepper Flash.
160 PEPPERFLASH_SRCDIR="${BUILDDIR}/PepperFlash" 162 PEPPERFLASH_SRCDIR="${BUILDDIR}/PepperFlash"
161 PEPPERFLASH_DESTDIR="${STAGEDIR}/${INSTALLDIR}/PepperFlash" 163 PEPPERFLASH_DESTDIR="${STAGEDIR}/${INSTALLDIR}/PepperFlash"
162 install -m 755 -d "${PEPPERFLASH_DESTDIR}" 164 install -m 755 -d "${PEPPERFLASH_DESTDIR}"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml" 238 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml"
237 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml" 239 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml"
238 process_template "${BUILDDIR}/installer/common/default-app-block.template" \ 240 process_template "${BUILDDIR}/installer/common/default-app-block.template" \
239 "${STAGEDIR}${INSTALLDIR}/default-app-block" 241 "${STAGEDIR}${INSTALLDIR}/default-app-block"
240 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block" 242 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block"
241 243
242 # documentation 244 # documentation
243 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \ 245 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \
244 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1" 246 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1"
245 } 247 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698