summaryrefslogtreecommitdiffstats
path: root/chrome/SConscript
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-02 18:34:48 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-02 18:34:48 +0000
commit683b7bde3b8f4bdfcc3e777cf35f5bbb29516c35 (patch)
tree81f2fe41da5ffa30e5327aea3073b9fac245b580 /chrome/SConscript
parent83f06a15f1515567c9bc4ffa5692e003af94982f (diff)
downloadchromium_src-683b7bde3b8f4bdfcc3e777cf35f5bbb29516c35.zip
chromium_src-683b7bde3b8f4bdfcc3e777cf35f5bbb29516c35.tar.gz
chromium_src-683b7bde3b8f4bdfcc3e777cf35f5bbb29516c35.tar.bz2
Revert r2734 (catch up SCons build with webkit). It relied on a
leftover file from previous incremental builds. Review URL: http://codereview.chromium.org/6084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/SConscript')
-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'),