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

Side by Side Diff: chrome_linux64/installer/rpm/build.sh

Issue 310483004: Roll reference builds to 35.0.1916.114. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/reference_builds/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome_linux64/installer/debian/expected_deps ('k') | chrome_linux64/installer/theme/BRANDING » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # TODO(mmoss) This currently only works with official builds, since non-official 7 # TODO(mmoss) This currently only works with official builds, since non-official
8 # builds don't add the "${BUILDDIR}/installer/" files needed for packaging. 8 # builds don't add the "${BUILDDIR}/installer/" files needed for packaging.
9 9
10 set -e 10 set -e
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 # we use is too old and doesn't provide %{_isa}, so we do this manually. 98 # we use is too old and doesn't provide %{_isa}, so we do this manually.
99 if [ "$ARCHITECTURE" = "x86_64" ] ; then 99 if [ "$ARCHITECTURE" = "x86_64" ] ; then
100 local EMPTY_VERSION="()" 100 local EMPTY_VERSION="()"
101 local PKG_ARCH="(64bit)" 101 local PKG_ARCH="(64bit)"
102 elif [ "$ARCHITECTURE" = "i386" ] ; then 102 elif [ "$ARCHITECTURE" = "i386" ] ; then
103 local EMPTY_VERSION="" 103 local EMPTY_VERSION=""
104 local PKG_ARCH="" 104 local PKG_ARCH=""
105 fi 105 fi
106 106
107 # Use find-requires script to make sure the dependencies are complete 107 # Use find-requires script to make sure the dependencies are complete
108 # (especially libc and libstdc++ versions). Filter out udev to avoid 108 # (especially libc and libstdc++ versions).
109 # libudev.so.0 vs. libudev.so.1 mismatches. 109 # - Filter out udev to avoid libudev.so.0 vs. libudev.so.1 mismatches.
110 DETECTED_DEPENDS="$(echo "${BUILDDIR}/chrome" | /usr/lib/rpm/find-requires | 110 DETECTED_DEPENDS="$(echo "${BUILDDIR}/chrome" | /usr/lib/rpm/find-requires |
111 grep -v udev)" 111 grep -v udev)"
112 112
113 # Compare the expected dependency list to the generated list. 113 # Compare the expected dependency list to the generated list.
114 BAD_DIFF=0 114 BAD_DIFF=0
115 diff "$SCRIPTDIR/expected_deps_$ARCHITECTURE" \ 115 diff "$SCRIPTDIR/expected_deps_$ARCHITECTURE" \
116 <(echo "${DETECTED_DEPENDS}") || BAD_DIFF=1 116 <(echo "${DETECTED_DEPENDS}") || BAD_DIFF=1
117 if [ $BAD_DIFF -ne 0 ] && [ -z "${IGNORE_DEPS_CHANGES:-}" ]; then 117 if [ $BAD_DIFF -ne 0 ] && [ -z "${IGNORE_DEPS_CHANGES:-}" ]; then
118 echo 118 echo
119 echo "ERROR: Shared library dependencies changed!" 119 echo "ERROR: Shared library dependencies changed!"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 ;; 305 ;;
306 * ) 306 * )
307 echo 307 echo
308 echo "ERROR: Don't know how to build RPMs for '$TARGETARCH'." 308 echo "ERROR: Don't know how to build RPMs for '$TARGETARCH'."
309 echo 309 echo
310 exit 1 310 exit 1
311 ;; 311 ;;
312 esac 312 esac
313 313
314 do_package 314 do_package
OLDNEW
« no previous file with comments | « chrome_linux64/installer/debian/expected_deps ('k') | chrome_linux64/installer/theme/BRANDING » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698