Descriptiongrit_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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86647
Patch Set 1 #
Total comments: 2
Patch Set 2 : relpath :-/ #
Total comments: 2
Patch Set 3 : license #Messages
Total messages: 9 (0 generated)
|