summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/SConscript24
1 files changed, 24 insertions, 0 deletions
diff --git a/chrome/SConscript b/chrome/SConscript
index 69554d8..331b1bd 100644
--- a/chrome/SConscript
+++ b/chrome/SConscript
@@ -359,6 +359,30 @@ if env['PLATFORM'] == 'win32':
# '$PYTHON tools/build/win/dependencies.py $(TargetPath) chrome.exe.deps')
+ env_snapshot = env.Clone()
+
+ env_snapshot.Prepend(
+ CPPPATH = [
+ '$V8_DIR/src',
+ '$V8_DIR/src/pcre/jscre',
+ '..',
+ ],
+ CPPDEFINES = [
+ 'ENABLE_DISASSEMBLER',
+ ],
+ CCFLAGS = [
+ '/wd4099',
+ '/wd4355',
+ '/wd4800',
+ ],
+ )
+
+ env_snapshot.ChromeStaticLibrary('snapshotv8', 'snapshot.cc')
+
+ env_snapshot.Command('snapshot.cc', '#/../v8/bin/debug/mksnapshot.exe',
+ '$SOURCE $TARGET')
+
+
env_flat = env.Clone(
BROWSER_RESOURCES = Dir('browser_resources'),