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

Unified Diff: tools/grit/grit/scons.py

Issue 21115: Add a Repack tool to scons. This is used to compile linux resources (Closed)
Patch Set: comments Created 11 years, 10 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 | « tools/data_pack/scons.py ('k') | webkit/build/localized_strings/SConscript » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/scons.py
diff --git a/tools/grit/grit/scons.py b/tools/grit/grit/scons.py
index f5836986a8c4593617c3c08a25d317389a1cc727..6410e26d18a67a9b73e56d9b922585e06578b294 100644
--- a/tools/grit/grit/scons.py
+++ b/tools/grit/grit/scons.py
@@ -138,7 +138,7 @@ def _Scanner(file_node, env, path):
# Add in the grit source files. If one of these change, we want to re-run
# grit.
- grit_root_dir = os.path.split(os.path.abspath(__file__))[0]
+ grit_root_dir = env.subst('$CHROME_SRC_DIR/tools/grit')
for root, dirs, filenames in os.walk(grit_root_dir):
grit_src = [os.path.join(root, f) for f in filenames if f.endswith('.py')]
files.extend(grit_src)
« no previous file with comments | « tools/data_pack/scons.py ('k') | webkit/build/localized_strings/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698