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

Unified Diff: site_scons/site_tools/replicate.py

Issue 9094: Adding in new software construction toolkit version. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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 | « site_scons/site_tools/publish.py ('k') | site_scons/site_tools/target_platform_mac.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site_scons/site_tools/replicate.py
===================================================================
--- site_scons/site_tools/replicate.py (revision 4549)
+++ site_scons/site_tools/replicate.py (working copy)
@@ -105,9 +105,12 @@
target_name = re.sub(r[0], r[1], target_name)
target = env.File(target_name)
if (target.has_builder()
+ and hasattr(target.get_builder(), 'name')
and target.get_builder().name == 'InstallBuilder'
and target.sources == [s]):
# Already installed that file, so pass through the destination node
+ # TODO(rspangler): Is there a better way to determine if this is a
+ # duplicate install?
dest_nodes += [target]
else:
dest_nodes += env.InstallAs(target_name, s)
« no previous file with comments | « site_scons/site_tools/publish.py ('k') | site_scons/site_tools/target_platform_mac.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698