Index: build/mac/edit_xibs.sh |
diff --git a/build/mac/edit_xibs.sh b/build/mac/edit_xibs.sh |
index 82045910f2ef07ffa5e0eacd30e9ecac2827450d..b7b749e1601f729edd6d4a9dafa2b574f34192ab 100755 |
--- a/build/mac/edit_xibs.sh |
+++ b/build/mac/edit_xibs.sh |
@@ -12,6 +12,8 @@ set -e |
RELSRC=$(dirname "$0")/../.. |
SRC=$(cd "$RELSRC" && pwd) |
-GYP_GENERATORS=xcode "$SRC/tools/gyp/gyp" "$SRC/chrome/chrome_nibs.gyp" |
+export PYTHONPATH="$PYTHONPATH:$SRC/build" |
+export GYP_GENERATORS=xcode |
+"$SRC/tools/gyp/gyp" -I"$SRC/build/common.gypi" "$SRC/chrome/chrome_nibs.gyp" |
echo "You can now edit XIB files in Xcode using:" |
echo " $SRC/chrome/chrome_nibs.xcodeproj" |