Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Unified Diff: grit_info.py

Issue 9956017: Make sure path to resource_ids file is relative. An earlier change (Closed) Base URL: https://grit-i18n.googlecode.com/svn/trunk
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit_info.py
diff --git a/grit_info.py b/grit_info.py
index 22afc5abcbee03b1a2a8f2f621298e381b565b74..0ce3c0ea99ab54131c415636980c9d00eb8519f8 100755
--- a/grit_info.py
+++ b/grit_info.py
@@ -96,7 +96,8 @@ def Inputs(filename, defines):
if node.attrs['flattenhtml'] == 'true':
files.extend(node.GetHtmlResourceFilenames())
- return files
+ cwd = os.getcwd()
+ return [os.path.relpath(f, cwd) for f in files]
def PrintUsage():
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698