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

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

Issue 2743433002: Remove the Widevine signature files from the Linux and ChromeOS builds (Closed)
Patch Set: Created 3 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
« no previous file with comments | « chrome/installer/linux/BUILD.gn ('k') | third_party/widevine/cdm/BUILD.gn » ('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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 # Widevine CDM. 159 # Widevine CDM.
160 if [ -f "${BUILDDIR}/libwidevinecdmadapter.so" ]; then 160 if [ -f "${BUILDDIR}/libwidevinecdmadapter.so" ]; then
161 install -m 644 -s "${BUILDDIR}/libwidevinecdmadapter.so" "${STAGEDIR}/${INST ALLDIR}/" 161 install -m 644 -s "${BUILDDIR}/libwidevinecdmadapter.so" "${STAGEDIR}/${INST ALLDIR}/"
162 install -m 644 "${BUILDDIR}/libwidevinecdm.so" "${STAGEDIR}/${INSTALLDIR}/" 162 install -m 644 "${BUILDDIR}/libwidevinecdm.so" "${STAGEDIR}/${INSTALLDIR}/"
163
164 if [ -f "${BUILDDIR}/installer/widevine/signature_generator.py" ]; then
165 # Create Widevine signature files for the stripped binaries.
166 echo Widevine signing "${STAGEDIR}/${INSTALLDIR}/${PROGNAME}"
167 ${BUILDDIR}/installer/widevine/signature_generator.py \
168 --input_file "${STAGEDIR}/${INSTALLDIR}/${PROGNAME}" \
169 --output_file "${STAGEDIR}/${INSTALLDIR}/${PROGNAME}.sig" \
170 --flags 1
171 echo Widevine signing "${STAGEDIR}/${INSTALLDIR}/libwidevinecdmadapter.so"
172 ${BUILDDIR}/installer/widevine/signature_generator.py \
173 --input_file "${STAGEDIR}/${INSTALLDIR}/libwidevinecdmadapter.so" \
174 --output_file "${STAGEDIR}/${INSTALLDIR}/libwidevinecdmadapter.so.sig" \
175 --flags 0
176 # Widevine signature file already exists for libwidevinecdm.so.
177 cp "${BUILDDIR}/libwidevinecdm.so.sig" "${STAGEDIR}/${INSTALLDIR}/"
178 fi
179 fi 163 fi
180 164
181 # ANGLE 165 # ANGLE
182 if [ "${CHANNEL}" != "stable" ]; then 166 if [ "${CHANNEL}" != "stable" ]; then
183 install -m 644 "${BUILDDIR}/libGLESv2.so" "${STAGEDIR}/${INSTALLDIR}/" 167 install -m 644 "${BUILDDIR}/libGLESv2.so" "${STAGEDIR}/${INSTALLDIR}/"
184 install -m 644 "${BUILDDIR}/libEGL.so" "${STAGEDIR}/${INSTALLDIR}/" 168 install -m 644 "${BUILDDIR}/libEGL.so" "${STAGEDIR}/${INSTALLDIR}/"
185 fi 169 fi
186 170
187 # libc++ 171 # libc++
188 if [ -f "${BUILDDIR}/lib/libc++.so" ]; then 172 if [ -f "${BUILDDIR}/lib/libc++.so" ]; then
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml" 235 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml"
252 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml" 236 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml"
253 process_template "${BUILDDIR}/installer/common/default-app-block.template" \ 237 process_template "${BUILDDIR}/installer/common/default-app-block.template" \
254 "${STAGEDIR}${INSTALLDIR}/default-app-block" 238 "${STAGEDIR}${INSTALLDIR}/default-app-block"
255 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block" 239 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block"
256 240
257 # documentation 241 # documentation
258 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \ 242 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \
259 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1" 243 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1"
260 } 244 }
OLDNEW
« no previous file with comments | « chrome/installer/linux/BUILD.gn ('k') | third_party/widevine/cdm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698