Index: build/internal/essential.scons |
=================================================================== |
--- build/internal/essential.scons (revision 6147) |
+++ build/internal/essential.scons (working copy) |
@@ -17,10 +17,17 @@ |
], |
LINKFLAGS = [ |
'$CHROMIUM_LINK_OPT_FLAGS', |
+ '$CHROMIUM_INCREMENTAL_FLAGS', |
], |
) |
if env['PLATFORM'] == 'win32': |
+ incremental = env.get('INCREMENTAL') |
+ if incremental is not None: |
+ if incremental: |
+ env['CHROMIUM_INCREMENTAL_FLAGS'] = '/INCREMENTAL' |
+ else: |
+ env['CHROMIUM_INCREMENTAL_FLAGS'] = '/INCREMENTAL:NO' |
env.Append( |
ARFLAGS = [ |
'/ignore:4221', |