grit_info: Explicitly make __file__ relative to the current directory.
__file__ is relative if grit_info is called like `python ../tools/grit/grit_info.py`, but not if it's invoked from python code like `import grit_info; grit_info.DoMain()`. And that confuses the xcode project generator, which will complain about hash collisions if these paths are serialized in absolute form. BUG=82230 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86551 Review URL: http://codereview.chromium.org/7066030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86647 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment