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