Index: webkit/build/JSConfig/SConscript |
=================================================================== |
--- webkit/build/JSConfig/SConscript (revision 12583) |
+++ webkit/build/JSConfig/SConscript (working copy) |
@@ -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}') |