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

Unified Diff: build/linux/install-debian.wheezy.sysroot.wrapper.sh

Issue 15030002: Use a sysroot for Chrome Linux official builds. (try 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/install-debian.wheezy.sysroot.wrapper.sh
===================================================================
--- build/linux/install-debian.wheezy.sysroot.wrapper.sh (revision 0)
+++ build/linux/install-debian.wheezy.sysroot.wrapper.sh (revision 0)
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Copyright (c) 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This wrapper script runs the Debian sysroot installation scripts, if they
+# exist.
+#
+# The script is a no-op except for linux users who have the following in their
+# GYP_DEFINES:
+#
+# * branding=Chrome
+# * buildtype=Official
+# * target_arch=[matching_arch]
+#
+# and not:
+#
+# * chromeos=1
+
+set -e
+
+SRC_DIR="$(dirname "$0")/../../"
+SCRIPT_DIR="chrome/installer/linux/internal/sysroot_scripts/"
+SCRIPT_FILE="$SRC_DIR/$SCRIPT_DIR/install-debian.wheezy.sysroot.py"
+
+if [ -e "$SCRIPT_FILE" ]; then
+ python "$SCRIPT_FILE" --linux-only --arch=amd64
+ python "$SCRIPT_FILE" --linux-only --arch=i386
+fi
Property changes on: build/linux/install-debian.wheezy.sysroot.wrapper.sh
___________________________________________________________________
Added: svn:eol-style
+ LF
Added: svn:executable
+ *
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698