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

Side by Side Diff: src/third_party/gmock/make_pkg.sh

Issue 536056: Bump gtest to 1.4.0 and add gmock 1.4.0 (Closed)
Patch Set: fixed nits from cjwatson Created 10 years, 11 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 | « src/third_party/gmock/debian/rules ('k') | src/third_party/gtest/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5 #
6 # Builds the gmock deb packages and installs them.
7
8 # Load common constants. This should be the first executable line.
9 # The path to common.sh should be relative to your script's location.
10 COMMON_SH="$(dirname "$0")/../../scripts/common.sh"
11 . "$COMMON_SH"
12
13 # Link debian/ into the build directory.
14 set -e # make sure we don't delete anything we're using on error
15 pushd $(dirname "$0")/files
16 rm -rf debian
17 ln -s ../debian debian
18 set +e
19 popd
20
21 # Build the package
22 TOP_SCRIPT_DIR="$(dirname "$0")/files" # override top level from common
23 make_pkg_common "*gmock" "$@" # *gmock covers the various output prefixes
24 mv libgmock-dev*.deb "$OUT_DIR" # it still misses the -dev pkg
25
26 # Install for use by other packages in the chroot
27 sudo -E dpkg -i "${OUT_DIR}/libgmock"_*.deb
28 sudo -E dpkg -i "${OUT_DIR}/libgmock-dev"_*.deb
OLDNEW
« no previous file with comments | « src/third_party/gmock/debian/rules ('k') | src/third_party/gtest/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698