summaryrefslogtreecommitdiffstats
path: root/chromium/build/mac/edit_xibs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/build/mac/edit_xibs.sh')
-rwxr-xr-xchromium/build/mac/edit_xibs.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/build/mac/edit_xibs.sh b/chromium/build/mac/edit_xibs.sh
index 82045910f2e..b7b749e1601 100755
--- a/chromium/build/mac/edit_xibs.sh
+++ b/chromium/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"