OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 __doc__ = """ | |
6 Configuration for building base.sln. | |
7 """ | |
8 | |
9 Import('env') | |
10 | |
11 env = env.Clone() | |
12 | |
13 env.Tool('MSVSNew') | |
14 | |
15 | |
16 env.ChromeMSVSFolder('webkit dependencies', | |
17 name='dependencies', | |
18 entries = [ | |
19 'webkit libxslt projects', | |
20 '$BASE_DIR/build/debug_message.vcproj', | |
21 '$BASE_DIR/build/base.vcproj', | |
22 '$V8_DIR/tools/visual_studio/v8.vcproj', | |
23 '$LIBJPEG_DIR/libjpeg.vcproj', | |
24 '$BZIP2_DIR/bzip2.vcproj', | |
25 '$NET_DIR/build/net.vcproj', | |
26 '$MEDIA_DIR/build/media.vcproj', | |
27 '$SQLITE_DIR/sqlite.vcproj', | |
28 '$MODP_B64_DIR/modp_b64.vcproj', | |
29 '$ZLIB_DIR/zlib.vcproj', | |
30 '$V8_DIR/tools/visual_studio/v8_mksnapshot.vcproj', | |
31 '$ICU38_DIR/build/icu.vcproj', | |
32 '$ICU38_DIR/build/icudt.vcproj', | |
33 '$BASE_DIR/build/base_gfx.vcproj', | |
34 '$BREAKPAD_DIR/breakpad_handler.vcproj', | |
35 'webkit libxml projects', | |
36 '$TESTING_DIR/gtest.vcproj', | |
37 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', | |
38 '$LIBPNG_DIR/libpng.vcproj', | |
39 '$SKIA_DIR/skia.vcproj', | |
40 '$NET_DIR/build/tld_cleanup.vcproj', | |
41 '$V8_DIR/tools/visual_studio/v8_base.vcproj', | |
42 '$GOOGLEURL_DIR/build/googleurl.vcproj', | |
43 '$SDCH_DIR/sdch.vcproj', | |
44 '$NET_DIR/build/net_resources.vcproj', | |
45 ], | |
46 guid='{2C5FC2FE-B8B0-44B9-A7C4-E5B5E7292F6B}') | |
47 | |
48 env.ChromeMSVSFolder('webkit libxml projects', | |
49 name='libxml projects', | |
50 entries = [ | |
51 '$LIBXML_DIR/build/libxml_config.vcproj', | |
52 '$LIBXML_DIR/build/libxml.vcproj', | |
53 ], | |
54 guid='{B5EEDCC4-877F-4537-AD0E-A3FA070522DF}') | |
55 | |
56 env.ChromeMSVSFolder('webkit libxslt projects', | |
57 name='libxslt projects', | |
58 entries = [ | |
59 '$LIBXSLT_DIR/build/libxslt_config.vcproj', | |
60 '$LIBXSLT_DIR/build/libxslt.vcproj', | |
61 ], | |
62 guid='{0655DC38-C685-436C-8D99-7CF64CB2CC35}') | |
63 | |
64 env.ChromeMSVSFolder('webkit test', | |
65 name='test', | |
66 entries = [ | |
67 '$WEBKIT_DIR/glue/plugins/test/npapi_test_plugin.vcproj', | |
68 ('$WEBKIT_DIR/tools/npapi_layout_test_plugin/' + | |
69 'npapi_layout_test_plugin.vcproj'), | |
70 '$WEBKIT_DIR/tools/test_shell/test_shell_tests.vcproj', | |
71 '$WEBKIT_DIR/tools/test_shell/test_shell.vcproj', | |
72 ], | |
73 guid='{4A249B49-19FB-4BD1-B017-718E7A4448EF}') | |
74 | |
75 env.ChromeMSVSFolder('webkit (readonly)', | |
76 entries = [ | |
77 '$WEBKIT_DIR/build/WebCore/WebCore.vcproj', | |
78 '$WEBKIT_DIR/build/JSConfig/V8Config.vcproj', | |
79 ('$WEBKIT_DIR/build/JavaScriptCore/' + | |
80 'JavaScriptCore_pcre.vcproj'), | |
81 '$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj', | |
82 ], | |
83 guid='{1DFD10B5-A673-4C3A-BA1D-3546FC4B7740}') | |
84 | |
85 env.ChromeMSVSFolder('webkit (ours)', | |
86 entries = [ | |
87 '$WEBKIT_DIR/build/V8Bindings/V8Bindings_prebuild.vcproj', | |
88 '$WEBKIT_DIR/activex_shim_dll/activex_shim_dll.vcproj', | |
89 '$WEBKIT_DIR/build/port/port.vcproj', | |
90 '$WEBKIT_DIR/default_plugin/default_plugin.vcproj', | |
91 ('$WEBKIT_DIR/build/localized_strings/' + | |
92 'localized_strings.vcproj'), | |
93 '$WEBKIT_DIR/build/V8Bindings/V8Bindings.vcproj', | |
94 '$WEBKIT_DIR/build/glue/glue.vcproj', | |
95 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj', | |
96 ], | |
97 guid='{4BC2C9E2-78FA-446A-B6E0-85689A2B4D3D}') | |
98 | |
99 | |
100 solution = env.ChromeMSVSSolution('webkit.sln', | |
101 dest='$CHROME_SRC_DIR/webkit/webkit.sln', | |
102 entries = [ | |
103 'webkit dependencies', | |
104 '$WEBKIT_DIR/build/glue/glue.vcproj', | |
105 '$WEBKIT_DIR/build/V8Bindings/V8Bindings.vcproj', | |
106 '$WEBKIT_DIR/build/WebCore/WebCore.vcproj', | |
107 '$WEBKIT_DIR/build/JSConfig/V8Config.vcproj', | |
108 '$WEBKIT_DIR/build/port/port.vcproj', | |
109 'webkit (readonly)', | |
110 '$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj', | |
111 ('$WEBKIT_DIR/build/localized_strings/' + | |
112 'localized_strings.vcproj'), | |
113 'webkit (ours)', | |
114 'webkit test', | |
115 '$BASE_DIR/build/base_gfx.vcproj', | |
116 '$BASE_DIR/build/base.vcproj', | |
117 '$BASE_DIR/build/debug_message.vcproj', | |
118 '$NET_DIR/build/net.vcproj', | |
119 '$NET_DIR/build/tld_cleanup.vcproj', | |
120 '$MEDIA_DIR/build/media.vcproj', | |
121 '$GOOGLEURL_DIR/build/googleurl.vcproj', | |
122 '$SKIA_DIR/skia.vcproj', | |
123 '$ICU38_DIR/build/icudt.vcproj', | |
124 '$ICU38_DIR/build/icu.vcproj', | |
125 '$WEBKIT_DIR/tools/test_shell/test_shell.vcproj', | |
126 '$LIBPNG_DIR/libpng.vcproj', | |
127 ('$WEBKIT_DIR/tools/test_shell/' + | |
128 'test_shell_tests.vcproj'), | |
129 '$LIBXML_DIR/build/libxml.vcproj', | |
130 '$LIBXSLT_DIR/build/libxslt.vcproj', | |
131 '$ZLIB_DIR/zlib.vcproj', | |
132 '$LIBJPEG_DIR/libjpeg.vcproj', | |
133 '$BREAKPAD_DIR/breakpad_handler.vcproj', | |
134 '$MODP_B64_DIR/modp_b64.vcproj', | |
135 '$BZIP2_DIR/bzip2.vcproj', | |
136 ('$WEBKIT_DIR/glue/plugins/test/' + | |
137 'npapi_test_plugin.vcproj'), | |
138 ('$WEBKIT_DIR/tools/npapi_layout_test_plugin/' + | |
139 'npapi_layout_test_plugin.vcproj'), | |
140 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj', | |
141 '$WEBKIT_DIR/activex_shim_dll/activex_shim_dll.vc
proj', | |
142 'webkit libxml projects', | |
143 '$LIBXML_DIR/build/libxml_config.vcproj', | |
144 'webkit libxslt projects', | |
145 '$LIBXSLT_DIR/build/libxslt_config.vcproj', | |
146 ('$WEBKIT_DIR/default_plugin/' + | |
147 'default_plugin.vcproj'), | |
148 ('$WEBKIT_DIR/build/JavaScriptCore/' + | |
149 'JavaScriptCore_pcre.vcproj'), | |
150 ('$WEBKIT_DIR/build/V8Bindings/' + | |
151 'V8Bindings_prebuild.vcproj'), | |
152 '$TESTING_DIR/gtest.vcproj', | |
153 '$V8_DIR/tools/visual_studio/v8_base.vcproj', | |
154 '$V8_DIR/tools/visual_studio/v8.vcproj', | |
155 ('$V8_DIR/tools/visual_studio/' + | |
156 'v8_mksnapshot.vcproj'), | |
157 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', | |
158 '$SDCH_DIR/sdch.vcproj', | |
159 '$SQLITE_DIR/sqlite.vcproj', | |
160 ], | |
161 variants = [ | |
162 'Debug|Win32', | |
163 'Release|Win32', | |
164 ]) | |
OLD | NEW |