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

Unified Diff: src/third_party/google-breakpad/make_pkg.sh

Issue 495008: wm: Include breakpad. (Closed)
Patch Set: Created 11 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/scripts/build_platform_packages.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/third_party/google-breakpad/make_pkg.sh
diff --git a/src/third_party/google-breakpad/make_pkg.sh b/src/third_party/google-breakpad/make_pkg.sh
new file mode 100755
index 0000000000000000000000000000000000000000..16d5fa95036f8f4b920af92554a231440f2e7a67
--- /dev/null
+++ b/src/third_party/google-breakpad/make_pkg.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Builds the .deb package.
+
+# Load common constants. This should be the first executable line.
+# The path to common.sh should be relative to your script's location.
+COMMON_SH="$(dirname "$0")/../../scripts/common.sh"
+. "$COMMON_SH"
+
+# Command line options
+DEFINE_string build_root "$DEFAULT_BUILD_ROOT" "Root of build output"
+
+# Parse command line and update positional args
+FLAGS "$@" || exit 1
+eval set -- "${FLAGS_ARGV}"
+
+# Die on any errors
+set -e
+
+# Build the package
+pushd "$TOP_SCRIPT_DIR/files"
+./configure --prefix=/usr
+# No 'deb' target, so do straight install
+make -j$NUM_JOBS
+sudo -E make install
+popd
« no previous file with comments | « src/scripts/build_platform_packages.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698