Index: build/mac/edit_xibs.sh |
diff --git a/build/mac/edit_xibs.sh b/build/mac/edit_xibs.sh |
new file mode 100755 |
index 0000000000000000000000000000000000000000..7ee8df2feb1b0922fabdfae9eec4f7f3b1d73db9 |
--- /dev/null |
+++ b/build/mac/edit_xibs.sh |
@@ -0,0 +1,16 @@ |
+#!/bin/sh |
+ |
+# Copyright (c) 2012 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 script is a convenience to run GYP for /src/chrome/chrome_nibs.gyp |
+# with the Xcode generator (as you likely use ninja). Documentation: |
+# http://dev.chromium.org/developers/design-documents/mac-xib-files |
+ |
+set -e |
+ |
+SRC=$(dirname $(dirname $(dirname "$0"))) |
Mark Mentovai
2012/09/17 17:52:16
This will suck if the script is invoked as ./edit_
Robert Sesek
2012/09/17 18:01:48
Done.
|
+GYP_GENERATORS=xcode python "$SRC/tools/gyp/gyp" "$SRC/chrome/chrome_nibs.gyp" |
+echo "You can now edit XIB files in Xcode using:" |
+echo " $SRC/chrome/chrome_nibs.xcodeproj" |