OLD | NEW |
(Empty) | |
| 1 #!/bin/sh |
| 2 # Copyright (c) 2013 The Chromium 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 # This wrapper script runs the Debian sysroot installation scripts, if they |
| 7 # exist. |
| 8 # |
| 9 # The script is a no-op except for linux users who have the following in their |
| 10 # GYP_DEFINES: |
| 11 # |
| 12 # * branding=Chrome |
| 13 # * buildtype=Official |
| 14 # * target_arch=[matching_arch] |
| 15 # |
| 16 # and not: |
| 17 # |
| 18 # * chromeos=1 |
| 19 |
| 20 set -e |
| 21 |
| 22 SRC_DIR="$(dirname "$0")/../../" |
| 23 SCRIPT_DIR="chrome/installer/linux/internal/sysroot_scripts/" |
| 24 SCRIPT_FILE="$SRC_DIR/$SCRIPT_DIR/install-debian.wheezy.sysroot.py" |
| 25 |
| 26 if [ -e "$SCRIPT_FILE" ]; then |
| 27 python "$SCRIPT_FILE" --linux-only --arch=amd64 |
| 28 python "$SCRIPT_FILE" --linux-only --arch=i386 |
| 29 fi |
OLD | NEW |