In the Windows project file generator: update openssl and serf to the new dependency framework. The serf in-tree build needs openssl and we need openssl for running the tests.
* build/generator/gen_win.py (get_install_targets): Don't build a serf project if we use an installed serf. (get_external_project): Update check to avoid .serf_lib (get_win_defines): Use modern checks for library availability.
(get_win_includes, get_win_lib_dirs, get_win_libs): Remove hardcoded serf handling.
(write_serf_project_file): Use modern check.
* build/generator/gen_win_dependencies.py (GenDependenciesBase): Remove now unused variable. (find_libraries): Organize library find calls. Avoid 2 lines for openssl. (_find_zlib): Find ml from here. (_find_db): Remove unneeded '\n' (_find_openssl): New function. (_get_serf_version): Add include dir argument to allow probing in more locations. (_find_serf): Fill library object.
In the Windows projectfile generator: hook the ZLib dependency in the new framework. This support for specifying a zlib install instead of source directory. In this case no zlib makefile project is created.
* build/generator/gen_win.py (get_install_targets): Filter on library instances instead of library specific variables. (get_win_depends): Allow retrieving all external library dependencies of a project. (get_externallib_depends): New function.
(get_win_includes): Determine the include directories based on the dependencies instead of hardcoded on project name for the already converted dependencies.
(get_win_lib_dirs): Determine the library directories based on the dependencies instead of hardcoded.
(get_win_libs): Remove unhandled case for zlib.
(FILTER_EXTERNALLIBS): New global.
* build/generator/gen_win_dependencies.py (SVNCommonLibrary): Add is_src variable. (_find_apr_util_and_expat): Apply minimal version check (_find_zlib): Parse version and locations of ZLib. Move to sane location.