OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # This script is a convenience to run GYP for /src/chrome/chrome_nibs.gyp | 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: | 8 # with the Xcode generator (as you likely use ninja). Documentation: |
9 # http://dev.chromium.org/developers/design-documents/mac-xib-files | 9 # http://dev.chromium.org/developers/design-documents/mac-xib-files |
10 | 10 |
11 set -e | 11 set -e |
12 | 12 |
13 RELSRC=$(dirname "$0")/../.. | 13 RELSRC=$(dirname "$0")/../.. |
14 SRC=$(cd "$RELSRC" && pwd) | 14 SRC=$(cd "$RELSRC" && pwd) |
15 GYP_GENERATORS=xcode python "$SRC/tools/gyp/gyp" "$SRC/chrome/chrome_nibs.gyp" | 15 GYP_GENERATORS=xcode "$SRC/tools/gyp/gyp" "$SRC/chrome/chrome_nibs.gyp" |
16 echo "You can now edit XIB files in Xcode using:" | 16 echo "You can now edit XIB files in Xcode using:" |
17 echo " $SRC/chrome/chrome_nibs.xcodeproj" | 17 echo " $SRC/chrome/chrome_nibs.xcodeproj" |
OLD | NEW |