Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 # SwiftShader | |
| 173 if [ -f "${BUILDDIR}/swiftshader/libEGL.so" ]; then | |
|
mmoss
2017/05/08 22:49:29
Unlike the ANGLE files above, this applies to all
| |
| 174 install -m 755 -d "${STAGEDIR}/${INSTALLDIR}/swiftshader/" | |
| 175 install -m 644 "${BUILDDIR}/swiftshader/libEGL.so" "${STAGEDIR}/${INSTALLDIR }/swiftshader/" | |
| 176 install -m 644 "${BUILDDIR}/swiftshader/libGLESv2.so" "${STAGEDIR}/${INSTALL DIR}/swiftshader/" | |
| 177 fi | |
| 178 | |
| 172 # libc++ | 179 # libc++ |
| 173 if [ -f "${BUILDDIR}/lib/libc++.so" ]; then | 180 if [ -f "${BUILDDIR}/lib/libc++.so" ]; then |
| 174 install -m 755 -d "${STAGEDIR}/${INSTALLDIR}/lib/" | 181 install -m 755 -d "${STAGEDIR}/${INSTALLDIR}/lib/" |
| 175 | 182 |
| 176 install -m 644 -s "${BUILDDIR}/lib/libc++.so" "${STAGEDIR}/${INSTALLDIR}/lib /" | 183 install -m 644 -s "${BUILDDIR}/lib/libc++.so" "${STAGEDIR}/${INSTALLDIR}/lib /" |
| 177 fi | 184 fi |
| 178 | 185 |
| 179 | 186 |
| 180 # nacl_helper and nacl_helper_bootstrap | 187 # nacl_helper and nacl_helper_bootstrap |
| 181 # Don't use "-s" (strip) because this runs binutils "strip", which | 188 # Don't use "-s" (strip) because this runs binutils "strip", which |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 246 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml" | 253 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}.xml" |
| 247 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml" | 254 chmod 644 "${STAGEDIR}/usr/share/gnome-control-center/default-apps/${PACKAGE}. xml" |
| 248 process_template "${BUILDDIR}/installer/common/default-app-block.template" \ | 255 process_template "${BUILDDIR}/installer/common/default-app-block.template" \ |
| 249 "${STAGEDIR}${INSTALLDIR}/default-app-block" | 256 "${STAGEDIR}${INSTALLDIR}/default-app-block" |
| 250 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block" | 257 chmod 644 "${STAGEDIR}${INSTALLDIR}/default-app-block" |
| 251 | 258 |
| 252 # documentation | 259 # documentation |
| 253 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \ | 260 install -m 755 "${BUILDDIR}/${PROGNAME}.1" \ |
| 254 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1" | 261 "${STAGEDIR}/usr/share/man/man1/${PACKAGE}.1" |
| 255 } | 262 } |
| OLD | NEW |