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

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

Issue 2270243002: Unbundle Flash on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Through #11 Created 4 years, 3 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/installer/linux/BUILD.gn ('k') | 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 # 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 install -m 644 -s "${BUILDDIR}/libwidevinecdmadapter.so" "${STAGEDIR}/${INST ALLDIR}/" 162 install -m 644 -s "${BUILDDIR}/libwidevinecdmadapter.so" "${STAGEDIR}/${INST ALLDIR}/"
163 install -m 644 "${BUILDDIR}/libwidevinecdm.so" "${STAGEDIR}/${INSTALLDIR}/" 163 install -m 644 "${BUILDDIR}/libwidevinecdm.so" "${STAGEDIR}/${INSTALLDIR}/"
164 fi 164 fi
165 165
166 # ANGLE 166 # ANGLE
167 if [ "${CHANNEL}" != "stable" ]; then 167 if [ "${CHANNEL}" != "stable" ]; then
168 install -m 644 "${BUILDDIR}/libGLESv2.so" "${STAGEDIR}/${INSTALLDIR}/" 168 install -m 644 "${BUILDDIR}/libGLESv2.so" "${STAGEDIR}/${INSTALLDIR}/"
169 install -m 644 "${BUILDDIR}/libEGL.so" "${STAGEDIR}/${INSTALLDIR}/" 169 install -m 644 "${BUILDDIR}/libEGL.so" "${STAGEDIR}/${INSTALLDIR}/"
170 fi 170 fi
171 171
172 # Pepper Flash.
173 PEPPERFLASH_SRCDIR="${BUILDDIR}/PepperFlash"
174 PEPPERFLASH_DESTDIR="${STAGEDIR}/${INSTALLDIR}/PepperFlash"
175 install -m 755 -d "${PEPPERFLASH_DESTDIR}"
176 install -m 644 -s "${PEPPERFLASH_SRCDIR}/libpepflashplayer.so" \
177 "${PEPPERFLASH_DESTDIR}/"
178 install -m 644 "${PEPPERFLASH_SRCDIR}/manifest.json" \
179 "${PEPPERFLASH_DESTDIR}/"
180
181 # libc++ 172 # libc++
182 if [ -f "${BUILDDIR}/lib/libc++.so" ]; then 173 if [ -f "${BUILDDIR}/lib/libc++.so" ]; then
183 install -m 755 -d "${STAGEDIR}/${INSTALLDIR}/lib/" 174 install -m 755 -d "${STAGEDIR}/${INSTALLDIR}/lib/"
184 175
185 install -m 644 -s "${BUILDDIR}/lib/libc++.so" "${STAGEDIR}/${INSTALLDIR}/lib /" 176 install -m 644 -s "${BUILDDIR}/lib/libc++.so" "${STAGEDIR}/${INSTALLDIR}/lib /"
186 fi 177 fi
187 178
188 179
189 # nacl_helper and nacl_helper_bootstrap 180 # nacl_helper and nacl_helper_bootstrap
190 # Don't use "-s" (strip) because this runs binutils "strip", which 181 # Don't use "-s" (strip) because this runs binutils "strip", which
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml" 234 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml"
244 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml" 235 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml"
245 process_template "${BUILDDIR}/installer/common/default-app-block.template" \ 236 process_template "${BUILDDIR}/installer/common/default-app-block.template" \
246 "${STAGEDIR}${INSTALLDIR}/default-app-block" 237 "${STAGEDIR}${INSTALLDIR}/default-app-block"
247 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block" 238 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block"
248 239
249 # documentation 240 # documentation
250 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \ 241 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \
251 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1" 242 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1"
252 } 243 }
OLDNEW
« no previous file with comments | « chrome/installer/linux/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698