OLD | NEW |
(Empty) | |
| 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 |
| 11 set -e |
| 12 |
| 13 RELSRC=$(dirname "$0")/../.. |
| 14 SRC=$(cd "$RELSRC" && pwd) |
| 15 export PYTHONPATH="$PYTHONPATH:$SRC/build" |
| 16 export GYP_GENERATORS=xcode |
| 17 "$SRC/tools/gyp/gyp" -I"$SRC/build/common.gypi" "$SRC/chrome/chrome_nibs.gyp" |
| 18 echo "You can now edit XIB files in Xcode using:" |
| 19 echo " $SRC/chrome/chrome_nibs.xcodeproj" |
OLD | NEW |