summaryrefslogtreecommitdiffstats
path: root/build/internal/essential.scons
diff options
context:
space:
mode:
Diffstat (limited to 'build/internal/essential.scons')
-rw-r--r--build/internal/essential.scons7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/internal/essential.scons b/build/internal/essential.scons
index e2ffc53..56770d9 100644
--- a/build/internal/essential.scons
+++ b/build/internal/essential.scons
@@ -17,10 +17,17 @@ env.Append(
],
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',