diff options
Diffstat (limited to 'webkit/build/JSConfig/SConscript')
-rw-r--r-- | webkit/build/JSConfig/SConscript | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/webkit/build/JSConfig/SConscript b/webkit/build/JSConfig/SConscript deleted file mode 100644 index 44feb87..0000000 --- a/webkit/build/JSConfig/SConscript +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -Import('env') - -env = env.Clone() - - -def CopyConfigH(target, source, env): - contents = open(str(source[0]), 'r').read() - - if env.get('KJS'): - contents += '#define WTF_USE_JAVASCRIPTCORE 1\n' - else: - contents += '#define WTF_USE_V8_BINDING 1\n' - contents += '#define WTF_USE_NPOBJECT 1\n' - - open(str(target[0]), 'w').write(contents) - -env.Command('WebCore/config.h', - '../../config.h.in', - Action(CopyConfigH)) - -env.ChromeMSVSProject('$WEBKIT_DIR/build/JSConfig/V8Config.vcproj', - guid='{2E2D3301-2EC4-4C0F-B889-87073B30F673}') |