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

Unified Diff: site_scons/site_tools/chromium_builders.py

Issue 13039: Fixes and enhancements... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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/browser/browser.scons ('k') | 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 6147)
+++ site_scons/site_tools/chromium_builders.py (working copy)
@@ -10,11 +10,17 @@
def generate(env):
def ChromeProgram(env, *args, **kw):
- return env.ComponentProgram(*args, **kw)
+ result = env.ComponentProgram(*args, **kw)
+ if env.get('INCREMENTAL'):
+ env.Precious(result)
+ return result
env.AddMethod(ChromeProgram)
def ChromeTestProgram(env, *args, **kw):
- return env.ComponentTestProgram(*args, **kw)
+ result = env.ComponentTestProgram(*args, **kw)
+ if env.get('INCREMENTAL'):
+ env.Precious(*result)
+ return result
env.AddMethod(ChromeTestProgram)
def ChromeStaticLibrary(env, *args, **kw):
@@ -24,7 +30,10 @@
def ChromeSharedLibrary(env, *args, **kw):
kw['COMPONENT_STATIC'] = False
- return [env.ComponentLibrary(*args, **kw)[0]]
+ result = [env.ComponentLibrary(*args, **kw)[0]]
+ if env.get('INCREMENTAL'):
+ env.Precious(result)
+ return result
env.AddMethod(ChromeSharedLibrary)
def ChromeObject(env, *args, **kw):
« no previous file with comments | « chrome/browser/browser.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698