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

Issue 14472: Initial generation of native Visual Studio solution files... (Closed)

Created:
12 years ago by sgk
Modified:
9 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Initial generation of native Visual Studio solution files (project files still to come). To wit: * Solution file configuration is in *_sln.scons files (base\base_sln.scons, chrome\chrome_sln.scons). * Individual Project file configuration is in the the .scons file for the relevant target (base\base_unittests.scons, third_party\libxml\libxml.scons, etc.)--that is, where their file lists will live. * MSVSProject() calls are currently placeholders that establish the existence of Project Nodes (and Project dependencies) but don't yet have actual Project configuration information (file lists, .vsprops, etc.). * Configuraiton is very manual. In particular, the entries in the .sln file will be written out in exactly the order specified in the configuration(s). The current ordering is taken from our existing .sln files, so we can generate virtually the same configurations on output. * Generated solution files are nearly byte-for-byte identical with our existing .sln files, modulo: * net\dump_cache has a WebsiteProperties sections (making that configurable per project isn't important right now); * sandbox\sandbox.sln was missing a dependency of base.vcproj on on debug_message.vcproj (present in other .sln files) * webkit\webkit.sln was missing dependencies of WebCore.vcproj on libxml_config.vcproj and libxslt_config.vcproj (present in chrome.sln); * add a handful of other miscellaneous missing dependencies on various .vcproj definitions in chrome.sln (present in other .sln files). * remove stats_viewer.csproj from chrome.sln (sorry, mbelshe), which was complicating the solution configuration with unnecessary (for us) "Mixed Platform" types; * All MSVSFolder(), MSVSProject() and MSVSSolution() calls have hard-wired guid= values taken from our existing configuration, so we can: 1) verify generation of working configs; 2) minimize diffs when checking in generated .sln files. We can remove these in the future in favor of extracting them from existing .sln files if we wish. * Add ChromeMSVSFolder(), ChromeMSVSProject() and ChromeMSVSSolution() wrappers to chromium_builders.py, that gate the underlying call to the env.MSVS*() builders based on whether env.Bit('msvs') is set (i.e., we're in --mode=msvs). * Remove platform-specific gating of to-be-ported .scons files that we now need to load on any platform to generate coheren MSVS files. Move the env.Bit('windows') tests for actually building their executables into the individual .scons files. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=7297

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4981 lines, -2814 lines) Patch
M DEPS View 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M base/base.scons View 1 2 3 4 5 1 chunk +2 lines, -7 lines 0 comments Download
M base/base_lib.scons View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
A base/base_sln.scons View 1 2 3 4 5 6 7 1 chunk +51 lines, -0 lines 0 comments Download
M base/base_unittests.scons View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
M base/debug_message.scons View 1 2 3 4 5 6 7 1 chunk +8 lines, -1 line 0 comments Download
M base/gfx/base_gfx.scons View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M breakpad/SConscript View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M build/SConscript.main View 5 6 4 chunks +71 lines, -5 lines 0 comments Download
M build/SConscript.v8 View 1 2 3 4 5 6 7 1 chunk +28 lines, -0 lines 0 comments Download
M build/googleurl_lib.scons View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/SConscript View 1 2 3 4 5 6 7 2 chunks +54 lines, -1 line 0 comments Download
A chrome/app/locales/locales.scons View 1 2 3 4 5 6 7 1 chunk +118 lines, -0 lines 0 comments Download
M chrome/browser/browser.scons View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/debugger/debugger.scons View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/views/SConscript View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/chrome.scons View 1 2 3 4 5 6 7 2 chunks +2 lines, -27 lines 0 comments Download
A chrome/chrome_sln.scons View 1 2 3 4 5 6 7 1 chunk +544 lines, -0 lines 0 comments Download
M chrome/common/common.scons View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/common/ipc_tests.scons View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/installer/mini_installer/installer_unittests.scons View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/installer/mini_installer/mini_installer.scons View 1 2 3 4 5 6 7 1 chunk +84 lines, -15 lines 0 comments Download
M chrome/installer/setup/setup.scons View 1 2 3 4 5 6 7 1 chunk +17 lines, -3 lines 0 comments Download
M chrome/installer/util/util.scons View 1 2 3 4 5 6 7 1 chunk +23 lines, -12 lines 0 comments Download
M chrome/plugin/plugin.scons View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/renderer.scons View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/test/activex_test_control/activex_test_control.scons View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/test/automated_ui_tests/automated_ui_tests.scons View 1 2 3 4 5 6 7 1 chunk +25 lines, -1 line 0 comments Download
M chrome/test/automation/automation.scons View 1 2 3 4 5 6 7 1 chunk +6 lines, -1 line 0 comments Download
M chrome/test/chrome_plugin/test_chrome_plugin.scons View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/test/interactive_ui/interactive_ui_tests.scons View 1 2 3 4 5 6 7 1 chunk +52 lines, -1 line 0 comments Download
M chrome/test/memory_test/memory_test.scons View 1 2 3 4 5 6 7 1 chunk +21 lines, -1 line 0 comments Download
M chrome/test/mini_installer_test/mini_installer_test.scons View 1 2 3 4 5 6 7 1 chunk +12 lines, -1 line 0 comments Download
M chrome/test/page_cycler/page_cycler_tests.scons View 1 2 3 4 5 6 7 1 chunk +23 lines, -1 line 0 comments Download
M chrome/test/perf/perftests.scons View 1 2 3 4 5 6 7 1 chunk +39 lines, -0 lines 0 comments Download
M chrome/test/plugin/plugin_tests.scons View 1 2 3 4 5 6 7 1 chunk +27 lines, -1 line 0 comments Download
M chrome/test/reliability/reliability_tests.scons View 1 2 3 4 5 6 7 1 chunk +23 lines, -1 line 0 comments Download
M chrome/test/security_tests/security_tests.scons View 1 2 3 4 5 6 7 1 chunk +6 lines, -1 line 0 comments Download
M chrome/test/selenium/selenium_tests.scons View 1 2 3 4 5 6 7 1 chunk +23 lines, -1 line 0 comments Download
M chrome/test/startup/startup_tests.scons View 1 2 3 4 5 6 7 1 chunk +23 lines, -1 line 0 comments Download
M chrome/test/tab_switching/tab_switching_test.scons View 1 2 3 4 5 6 7 1 chunk +24 lines, -1 line 0 comments Download
M chrome/test/ui/ui_tests.scons View 1 2 3 4 5 6 7 1 chunk +34 lines, -1 line 0 comments Download
M chrome/test/unit/unit_tests.scons View 1 2 3 4 5 6 7 1 chunk +46 lines, -0 lines 0 comments Download
M chrome/third_party/hunspell/SConscript View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M chrome/tools/convert_dict/convert_dict.scons View 1 2 3 4 5 6 7 1 chunk +10 lines, -1 line 0 comments Download
M chrome/tools/crash_service/crash_service.scons View 1 2 3 4 5 6 7 1 chunk +15 lines, -1 line 0 comments Download
M chrome/tools/perf/flush_cache/flush_cache.scons View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/tools/profiles/generate_profile.scons View 1 2 3 4 5 6 7 1 chunk +42 lines, -1 line 0 comments Download
M chrome/tools/test/image_diff/image_diff.scons View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/views/SConscript View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M google_update/SConscript View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -1 line 0 comments Download
M media/media_lib.scons View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M media/media_unittests.scons View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M net/crash_cache.scons View 1 2 3 4 5 6 7 1 chunk +10 lines, -1 line 0 comments Download
M net/dump_cache.scons View 1 2 3 4 5 6 7 1 chunk +43 lines, -35 lines 0 comments Download
M net/net.scons View 1 2 3 4 5 6 7 1 chunk +3 lines, -17 lines 0 comments Download
M net/net_lib.scons View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M net/net_perftests.scons View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
M net/net_resources.scons View 1 chunk +10 lines, -8 lines 0 comments Download
A net/net_sln.scons View 1 2 3 4 5 6 7 1 chunk +74 lines, -0 lines 0 comments Download
M net/net_unittests.scons View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
M net/stress_cache.scons View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M net/tools/tld_cleanup/tld_cleanup.scons View 1 2 3 4 5 6 7 1 chunk +12 lines, -1 line 0 comments Download
M rlz/SConscript View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/sandbox.scons View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A sandbox/sandbox_sln.scons View 1 2 3 4 5 6 7 1 chunk +142 lines, -0 lines 0 comments Download
M sdch/SConscript View 1 2 3 4 5 6 7 1 chunk +125 lines, -122 lines 0 comments Download
M site_scons/site_tools/chromium_builders.py View 1 chunk +18 lines, -0 lines 0 comments Download
M skia/SConscript View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M testing/SConscript.gtest View 1 2 3 4 5 6 7 1 chunk +37 lines, -35 lines 0 comments Download
M third_party/bsdiff/bsdiff.scons View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/bspatch/bspatch.scons View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/bzip2/bzip2.scons View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/libjpeg/libjpeg.scons View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/libpng/libpng.scons View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/libxml/libxml.scons View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/libxslt/libxslt.scons View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/lzma_sdk/lzma_sdk.scons View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/modp_b64/modp_b64.scons View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/scons/scons-local/SCons/Environment.py View 1 2 3 4 5 6 7 1 chunk +2253 lines, -2252 lines 0 comments Download
M third_party/sqlite/SConscript View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/zlib/zlib.scons View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/SConscript.javascriptcore_pcre View 1 2 3 4 5 6 7 1 chunk +55 lines, -53 lines 0 comments Download
M webkit/SConscript.port View 1 2 3 4 5 6 7 1 chunk +205 lines, -197 lines 0 comments Download
M webkit/activex_shim/SConscript View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M webkit/activex_shim_dll/SConscript View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/build/JSConfig/SConscript View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/build/JavaScriptCore/SConscript View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/build/V8Bindings/SConscript View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M webkit/build/WebCore/SConscript View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M webkit/build/localized_strings/SConscript View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/default_plugin/SConscript View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/glue/SConscript View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/SConscript View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/tools/npapi_layout_test_plugin/SConscript View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/SConscript View 1 2 3 4 5 6 7 2 chunks +64 lines, -0 lines 0 comments Download
M webkit/webkit.scons View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A webkit/webkit_sln.scons View 1 2 3 4 5 6 7 1 chunk +168 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sgk
In particular, please take a look at the configuration in the *_sln.scons files. If you ...
12 years ago (2008-12-16 19:47:26 UTC) #1
sgk
Still looking for a review from one of you here...
12 years ago (2008-12-17 22:22:00 UTC) #2
Nicolas Sylvain
Sorry for the delay. Why do we have base.vcproj and v8_base.vcproj? http://codereview.chromium.org/14472/diff/188/254 File base/base_lib.scons (right): ...
12 years ago (2008-12-17 23:37:59 UTC) #3
sgk
base.vcproj build base.lib, v8_base.vcproj builds a specific subset ("base") of v8 for Chromium use, it's ...
12 years ago (2008-12-18 18:40:24 UTC) #4
sgk
12 years ago (2008-12-19 08:09:47 UTC) #5
Another review copy with updates so that --mode=dbg continues to build on Linux.
 This mainly involved setting up --mode=msvs in build/SConscript.main, making
sure we load up all the .scons files, and moving "if env.Bits()" checks for
things that still don't build on LInux (or Mac) inside the individual *.scons
files.

TBR since the basic structure of this has already been reviewed, but you can
check the differences against Patch 2 or 3 to see if the changes are okay.

Powered by Google App Engine
This is Rietveld 408576698