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

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

Issue 7247: Run GRIT on all platforms.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 12 years, 2 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 | « chrome/SConscript ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/scons.py
===================================================================
--- tools/grit/grit/scons.py (revision 3260)
+++ tools/grit/grit/scons.py (working copy)
@@ -41,7 +41,7 @@
builder = build.RcBuilder()
# Get the CPP defines from the environment.
- for flag in env['RCFLAGS']:
+ for flag in env.get('RCFLAGS', []):
if flag.startswith('/D'):
flag = flag[2:]
name, val = build.ParseDefine(flag)
« no previous file with comments | « chrome/SConscript ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698