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

Unified Diff: site_scons/site_tools/chromium_builders.py

Issue 89003: When env.Replace() is getting called with a list of Nodes, use a slice to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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: site_scons/site_tools/chromium_builders.py
===================================================================
--- site_scons/site_tools/chromium_builders.py (revision 14029)
+++ site_scons/site_tools/chromium_builders.py (working copy)
@@ -13,6 +13,7 @@
from SCons.Script import *
import SCons.Node
+import SCons.Util
class Null(object):
def __new__(cls, *args, **kwargs):
@@ -116,7 +117,10 @@
except ValueError:
pass
else:
- top[i] = new
+ if SCons.Util.is_List(new):
+ top[i:i+1] = new
+ else:
+ top[i] = new
def FilterOut(self, **kw):
@@ -158,6 +162,7 @@
'.bdic',
'.css',
'.dat',
+ '.gperf',
'.h',
'.html',
'.hxx',
« 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