Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Side by Side Diff: webkit/build/JSConfig/SConscript

Issue 14472: Initial generation of native Visual Studio solution files... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/activex_shim_dll/SConscript ('k') | webkit/build/JavaScriptCore/SConscript » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 Import('env') 5 Import('env')
6 6
7 env = env.Clone() 7 env = env.Clone()
8 8
9 9
10 def CopyConfigH(target, source, env): 10 def CopyConfigH(target, source, env):
11 contents = open(str(source[0]), 'r').read() 11 contents = open(str(source[0]), 'r').read()
12 12
13 if env.get('KJS'): 13 if env.get('KJS'):
14 contents += '#define WTF_USE_JAVASCRIPTCORE 1\n' 14 contents += '#define WTF_USE_JAVASCRIPTCORE 1\n'
15 else: 15 else:
16 contents += '#define WTF_USE_V8_BINDING 1\n' 16 contents += '#define WTF_USE_V8_BINDING 1\n'
17 contents += '#define WTF_USE_NPOBJECT 1\n' 17 contents += '#define WTF_USE_NPOBJECT 1\n'
18 18
19 open(str(target[0]), 'w').write(contents) 19 open(str(target[0]), 'w').write(contents)
20 20
21 env.Command('WebCore/config.h', 21 env.Command('WebCore/config.h',
22 '../../config.h.in', 22 '../../config.h.in',
23 Action(CopyConfigH)) 23 Action(CopyConfigH))
24
25 env.ChromeMSVSProject('$WEBKIT_DIR/build/JSConfig/V8Config.vcproj',
26 guid='{2E2D3301-2EC4-4C0F-B889-87073B30F673}')
OLDNEW
« no previous file with comments | « webkit/activex_shim_dll/SConscript ('k') | webkit/build/JavaScriptCore/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698