1#!/bin/sh
2
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
5# found in the LICENSE file.
6
7# This script is a convenience to run GYP for /src/chrome/chrome_nibs.gyp
8# with the Xcode generator (as you likely use ninja). Documentation:
9#   http://dev.chromium.org/developers/design-documents/mac-xib-files
10
11set -e
12
13RELSRC=$(dirname "$0")/../..
14SRC=$(cd "$RELSRC" && pwd)
15export PYTHONPATH="$PYTHONPATH:$SRC/build"
16export GYP_GENERATORS=xcode
17"$SRC/tools/gyp/gyp" -I"$SRC/build/common.gypi" "$SRC/chrome/chrome_nibs.gyp"
18echo "You can now edit XIB files in Xcode using:"
19echo "  $SRC/chrome/chrome_nibs.xcodeproj"
20