summaryrefslogtreecommitdiffstats
path: root/third_party/libxml
Commit message (Collapse)AuthorAgeFilesLines
* Apply behaviour change fix from upstream for previous XPath change.cevans@chromium.org2010-10-222-16/+18
| | | | | | | | | BUG=58731 TEST=NONE Review URL: http://codereview.chromium.org/4027006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63572 0039d316-1c4b-4281-b951-d872f2087c98
* Pull in XPath fix from upstream.cevans@chromium.org2010-10-162-4/+19
| | | | | | | | | BUG=58731 TEST=NONE Review URL: http://codereview.chromium.org/3839002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62828 0039d316-1c4b-4281-b951-d872f2087c98
* I added FreeBSD-generated config files for libevent and tcmalloc, along with ↵pvalchev@chromium.org2010-10-041-1/+2
| | | | | | | | some remaining gyp file tweaks. Review URL: http://codereview.chromium.org/3423021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61433 0039d316-1c4b-4281-b951-d872f2087c98
* Remove libxml hack that is not needed after we rolled in the WebKit fixphajdan.jr@chromium.org2010-08-312-53/+0
| | | | | | | | | | | from https://bugs.webkit.org/show_bug.cgi?id=30508. BUG=29333 TEST=see bug Review URL: http://codereview.chromium.org/3280011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58011 0039d316-1c4b-4281-b951-d872f2087c98
* Remove +x from a source file.evan@chromium.org2010-08-171-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56286 0039d316-1c4b-4281-b951-d872f2087c98
* * Add rmdir, mkdir -p and umask to d8 on Unix.evan@chromium.org2010-08-17173-107/+110
| | | | | | | | | | | | | * Remove the non-working methods from the os object on d8 on Windows so you can test for their presence with if (os.system). * Add a test (not run by default since it only works on d8). * Fix incorrect use of wait that left defunct processes (zombies). Committed: http://code.google.com/p/v8/source/detail?r=1650 Review URL: http://codereview.chromium.org/56107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56276 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my last two changes.evan@chromium.org2010-08-14173-110/+107
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56116 0039d316-1c4b-4281-b951-d872f2087c98
* libxml: move all upstream code into a src/ subdirectory.evan@chromium.org2010-08-13173-107/+110
| | | | | | | | | | This helps keep our patches, build files, and metadata separate. (Note that src/ is not purely what upstream has, since it has our patches applied.) Review URL: http://codereview.chromium.org/3160012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56107 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the changes to libxml.gyp in r52725.wtc@chromium.org2010-07-271-5/+10
| | | | | | | | | | | | | | | | Both libxml and its direct dependencies need to define LIBXML_STATIC when libxml is a static library. Right now it is necessary to define this macro only on Windows, but the macro is intended to be cross-platform. R=evan BUG=50048 TEST=Windows build log should not contain "locally defined symbol XXX imported" linker warings such as: libxslt.lib(numbers.obj) : warning LNK4049: locally defined symbol _xmlFree imported Review URL: http://codereview.chromium.org/3063009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53861 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 53122 - libxml: LIBXML_STATIC isn't needed on windows eithercevans@chromium.org2010-07-211-0/+5
| | | | | | | | | | | | | | | | | | | | In my previous patch today, I moved LIBXML_STATIC into a Windows-only block in the gyp file. It turns out I misread the #defines and it's not needed on any OS. libxml.h has this: #ifndef PIC # define LIBXML_STATIC #endif The PIC define mentioned there appears to be a Linuxism, which is fine for us because we want it to be static anyway. Review URL: http://codereview.chromium.org/2825052 TBR=evan@chromium.org Review URL: http://codereview.chromium.org/3049004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53129 0039d316-1c4b-4281-b951-d872f2087c98
* libxml: LIBXML_STATIC isn't needed on windows eitherevan@chromium.org2010-07-201-5/+0
| | | | | | | | | | | | | | | | | In my previous patch today, I moved LIBXML_STATIC into a Windows-only block in the gyp file. It turns out I misread the #defines and it's not needed on any OS. libxml.h has this: #ifndef PIC # define LIBXML_STATIC #endif The PIC define mentioned there appears to be a Linuxism, which is fine for us because we want it to be static anyway. Review URL: http://codereview.chromium.org/2825052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53122 0039d316-1c4b-4281-b951-d872f2087c98
* Update libxml to 2.7.7.evan@chromium.org2010-07-16124-36507/+31867
| | | | | | | | | | | In doing so, I recreated all the patches and organized them under a patches/ subdirectory. BUG=32197 Review URL: http://codereview.chromium.org/2951008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52725 0039d316-1c4b-4281-b951-d872f2087c98
* Pass license check script for most of the tree.evan@chromium.org2010-03-191-2/+5
| | | | | | | | | | | | | Modified license-checker script to allow pruning directories we know to be ok. Still need to do a bit of third_party/* , as well as file a bunch of bugs on pieces where the licenses aren't clear, but I'm running out of energy. Review URL: http://codereview.chromium.org/1100003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42045 0039d316-1c4b-4281-b951-d872f2087c98
* Solaris: Second set adding in Solaris as an OS optionevan@chromium.org2010-02-181-2/+2
| | | | | | | | | | TEST=compiles BUG=30101 Patch by James Choi <jchoi42@pha.jhu.edu>. Review URL: http://codereview.chromium.org/606075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39362 0039d316-1c4b-4281-b951-d872f2087c98
* OpenBSD/FreeBSD GYP changes (most of the remaining ones)pvalchev@google.com2010-02-041-2/+4
| | | | | | Review URL: http://codereview.chromium.org/565043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38079 0039d316-1c4b-4281-b951-d872f2087c98
* Dropping unconnected obsolete vsprops files.bradnelson@google.com2010-02-032-28/+0
| | | | | | | | | BUG=8042 TEST=None Review URL: http://codereview.chromium.org/567033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38016 0039d316-1c4b-4281-b951-d872f2087c98
* Add comments setting emacs and vim tab width and expansion variables.sgk@google.com2009-10-061-0/+6
| | | | | | | | BUG=none TEST=successful builds Review URL: http://codereview.chromium.org/256059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28089 0039d316-1c4b-4281-b951-d872f2087c98
* Force inclusion of build/common.gypi for all chromium gyp files.yaar@chromium.org2009-09-151-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Why: Simpler build code. If everybody includes it, it should be included automatically. Why now: The webkit chromium builds need it be specified, since can't default to build/common.gypi. What was done: 1. build/common.gypi's contents were moved to a new file build/gyp_chromium.gypi 2. tools/gyp/gyp_chromium was moved to build/gyp_chromium and made to automatically include build/gyp_chromium.gypi. 3. lots of gyp files were fixed to not refer to build/common.gypi any more. 4. o3d which also builds independently of chrome, was fixed to have a gyp_o3d that includes gyp_chromium.gypi too. 5. build/common.gypi was left empty, because there are some external projects that still refer to it. Things that are left to do after this patch is in: 1. The following external files (in other repositories) need to stop include common.gypi ./third_party/hunspell/hunspell.gyp ./third_party/icu/icu.gyp ./v8/tools/gyp/v8.gyp 2. Once nobody refers to common.gypi anymore, delete common.gypi -or- Delete gyp_chromium.gypi and move its content back to common.gypi Tested on mac, win and linux. On win, got a few unit tests errors on chrome bookmarks, which should not be related. I'm running again with clobber to verify. Review URL: http://codereview.chromium.org/206006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26302 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Linux shared build.thestig@chromium.org2009-09-151-0/+8
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/203076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26291 0039d316-1c4b-4281-b951-d872f2087c98
* Remove xmlcatalog and xmllint from the build since we're not actuallytony@chromium.org2009-09-104-54/+0
| | | | | | | | | using them for anything. Review URL: http://codereview.chromium.org/192068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25893 0039d316-1c4b-4281-b951-d872f2087c98
* Use separate *_dummy.cc files to force xmlcatalog and xmllint to besgk@google.com2009-09-104-4/+6
| | | | | | | | | linked with g++ instead of gcc. BUG=none TEST=build without warnings Review URL: http://codereview.chromium.org/202046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25883 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 25818 - Explicitly only use xmldummy_mac.cc on Mac systems, since ↵sgk@google.com2009-09-101-10/+2
| | | | | | | | | | | | | | libxml (as thirdparty code) doesn't exclude _mac.cc files automatically. BUG=none TEST=build without warning Review URL: http://codereview.chromium.org/194062 TBR=sgk@google.com Review URL: http://codereview.chromium.org/201074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25823 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly only use xmldummy_mac.cc on Mac systems, since libxml (assgk@google.com2009-09-091-2/+10
| | | | | | | | | third-party code) doesn't exclude _mac.cc files automatically. BUG=none TEST=build without warning Review URL: http://codereview.chromium.org/194062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25818 0039d316-1c4b-4281-b951-d872f2087c98
* Replace icu38/icu38.gyp with icu/icu.gyp in gyp files replace all the ↵jshin@chromium.org2009-09-094-4/+9
| | | | | | | | | | | | | | | | | | references to third_party/icu38 and icudt38.dll with third_party/icu and icudt42.dll in vsprops and cc files. Also, update the icu data module name and the icu data symbol in icu_util.cc In addition, add a dummy C++ source file (xmldummy_mac.cc) to libxml to work around an Xcode bug (xmllint and xmlcatalog are linked with gcc rather than g++ even though it's linked to a "C++ library", libicuuc.a). Also updated is the test results for net_util_unittests. This will not be landed until deps/third_party/icu42 is ready for all 3 platforms (Windows VS build files are not yet updated there). BUG=8198 TEST=On all platforms, all the targets are built fine. Review URL: http://codereview.chromium.org/172031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25708 0039d316-1c4b-4281-b951-d872f2087c98
* Added USE_GDK, set when either TOOLKIT_GTK or TOOLKIT_VIEWS is set butbenl@chromium.org2009-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not OS_WIN. Added USE_X11. Set when OS_LINUX or OS_FREEBSD is set. Added USE_BASE_DATA_PACK for base::DataPack usage, set for OS_MACOSX, OS_LINUX or OS_FREEBSD. Added USE_NSS for ... nss (for crypto). Windows and MacOS use platform-specific libraries. All of the above cause slightly odd formulations like: #if defined(OS_WIN) ... #elif defined(USE_BASE_DATA_PACK) ... #endif Possibly should also define USE_DLL_FOR_DATA, etc? Or something? Wrapped various references to struct stat64 and stat64() to use struct stat and stat() for FreeBSD - but a "man stat64" on Linux suggests that we could do the same thing for at least Linux, too, and perhaps eliminate the wrapper? git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25599 0039d316-1c4b-4281-b951-d872f2087c98
* Apply fix for CVE-2009-2416 (use-after-free) and CVE-2009-2414 (stack ↵cevans@chromium.org2009-08-182-6/+23
| | | | | | | | | | | | | recursion overflow). I used https://bugzilla.redhat.com/attachment.cgi?id=356032 and fixed the issue with lint vs. tabs. BUG=19158 TEST=http://cevans-app.appspot.com/static/CVE-2009-2416.xml Review URL: http://codereview.chromium.org/172025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23606 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix up use_system_{libxml,libxslt,sqlite3}agl@chromium.org2009-08-131-2/+8
| | | | | | | http://codereview.chromium.org/164450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23324 0039d316-1c4b-4281-b951-d872f2087c98
* Remove executable bit from a bunch of files that shouldn't have it.evan@chromium.org2009-05-112-0/+0
| | | | | | | | | | (No code change.) git ls-tree -r HEAD | grep '^100755' | cut -f2 | egrep '\.(png|txt|mm|cc|h|checksum|asm|js|html|c|css|xml|grd|json)$' | xargs chmod a-x git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15809 0039d316-1c4b-4281-b951-d872f2087c98
* Build on Linux with shared libraries (significant chunks courtesy craigsch):sgk@google.com2009-04-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set $RPATH to $LIB_DIR in the SCons configuration. * Add missing dependencies: * net/net.gyp:net => testing/gtest.gyp:gtest * third_party/libxml/libxml.gyp:xmlcatalog => third_party/icu38/icu38.gyp:icuuc * chrome/chrome.gyp:perf_tests => renderer => views => webkit/webkit.gyp:glue * Add files: * third_party/WebKit/WebCore/loader/icon/IconRecord.cpp * third_party/WebKit/WebCore/page/Coordinates.cpp * skia/sgl/SkUnPreMultiply.cpp * Exclude on Linux: * chrome/views/controls/scroll_view.cc * chrome/views/focus/external_focus_tracker.cc * media/filter/ffmpeg_demuxer.{cc,h} * Remove files: * third_party/WebKit/WebCore/Configurations/Version.xcconfig * Sort the chrome.gyp:views linux exclusion list. * DEPS roll for $SHLINKFLAGS settings in gyp. Review URL: http://codereview.chromium.org/88058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14166 0039d316-1c4b-4281-b951-d872f2087c98
* Second attempt to fix purify issue in test_shell_testscpu@google.com2009-04-121-1/+0
| | | | | | | | | | | | | | | - Remove delay load directive from the vsprops - Libxml has no network anyway since my friday change I think purify is not handling delay_loaded winsock the right way. BUG=10012 TBR=erikkay Review URL: http://codereview.chromium.org/67071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13569 0039d316-1c4b-4281-b951-d872f2087c98
* Remove built-in network stack from libxmlcpu@google.com2009-04-103-6/+6
| | | | | | | | | | | | | | | - Removes HTTP and FTP - Fixes a crash and other serious problems (see bug) It does not appear to affect us because afaik we don't use it or when we do we pass the no-network flag. BUG=9937 Review URL: http://codereview.chromium.org/67041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13546 0039d316-1c4b-4281-b951-d872f2087c98
* Basic underpinnings of the gyp equivalent of the Linux SHARED=1 build:sgk@google.com2009-04-081-1/+1
| | | | | | | | | parameterize the 'type' setting of the various library targets, with a default of 'static_library'. (Hat tip to Craig Schlenter.) Review URL: http://codereview.chromium.org/62127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13345 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of libs over to gyp on windows.bradnelson@google.com2009-04-021-519/+0
| | | | | | Review URL: http://codereview.chromium.org/60019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13020 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the checked-in scons configuration files.sgk@google.com2009-04-012-258/+0
| | | | | | Review URL: http://codereview.chromium.org/53121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12982 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for -Duse_system_{libxml,libxslt,sqlite}=1 forsgk@google.com2009-03-251-141/+158
| | | | | | | selection of the system version of those libraries on Linux. Review URL: http://codereview.chromium.org/53076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12521 0039d316-1c4b-4281-b951-d872f2087c98
* Update the gyp Linux build:sgk@google.com2009-03-201-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | * Add Linux settings to target_defaults in common.gypi so gyp-generated SConscript files no longer depend on build/SConscript.main or the Hammer infrastructure. * Copy the FilterOut() function from Hammer to the chromium_builders.py Tool module. * Add a ChromiumLoadableModule() builder to chromium_builders.py. * Add dependencies on the 'views' library to the chrome link (target 'app'). * Add missing views/*/*_unittest.cc modules to the 'unit_tests' target. Exclude all but the one that builds on Linux from the non-Windows builds. * Crib a list of chrome/views files to exclude from the Linux build from the old SCons configuration. * Add a new build/linux/system.gyp file with new 'settings' targets to encapsulate the pkg-config checks for gtk+-2.0, nss and pangoft2. * Add depenedencies in the other targets on the new gtk, nss and pangoft2 'settings' targets from build/linux/system.gyp. * Add a pkg_config_wrapper.py script that keeps gyp happy by simply exiting 0 if the package isn't found. * DEPS roll for latest gyp changes to support the above. Review URL: http://codereview.chromium.org/42340 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12228 0039d316-1c4b-4281-b951-d872f2087c98
* Adding fixed guids to some modules to facilitate incremental switch to gyp.bradnelson@google.com2009-03-101-0/+1
| | | | | | Review URL: http://codereview.chromium.org/42044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11388 0039d316-1c4b-4281-b951-d872f2087c98
* Update the mac config to properly match the sources.thomasvl@chromium.org2009-03-062-6/+7
| | | | | | Review URL: http://codereview.chromium.org/40227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11143 0039d316-1c4b-4281-b951-d872f2087c98
* GYP it, GYP it good.mark@chromium.org2009-03-022-1226/+0
| | | | | | | | Convert the Mac build to the new GYP-based Xcode build, and remove the old Xcode projects. Review URL: http://codereview.chromium.org/28305 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10693 0039d316-1c4b-4281-b951-d872f2087c98
* Import .gyp files into the Chromium treemark@chromium.org2009-02-251-0/+190
| | | | | | Review URL: http://codereview.chromium.org/27158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10380 0039d316-1c4b-4281-b951-d872f2087c98
* Check in pre-generated xmlversion.h and config.h files for libxml on the Mac.mark@chromium.org2009-02-133-4/+719
| | | | | | | | The gyp-based build won't have an xml_config step, it will just use these checked-in files. The Linux and Windows builds already work this way. Review URL: http://codereview.chromium.org/21334 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9753 0039d316-1c4b-4281-b951-d872f2087c98
* Rename README.google to README.chromium.mal@chromium.org2009-01-301-0/+0
| | | | | | | | | No code change. B=4380 Review URL: http://codereview.chromium.org/19501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8988 0039d316-1c4b-4281-b951-d872f2087c98
* Generation of .vcproj files for remaining third_party components.sgk@google.com2009-01-271-9/+99
| | | | | | | | | | | | | | | | | | | | | | | | Updates the .vcproj files themselves for stylistic consistency with the rest. Affected .vcproj files: * No change (byte-for-byte identical): third_party\libxml\build\libxml.vcproj third_party\bsdiff\bsdiff.vcproj third_party\sqlite\sqlite.vcproj * Add empty <ToolFiles>, <References> and <Globals> sections: third_party\libxslt\build\libxslt.vcproj third_party\bspatch\bspatch.vcproj third_party\bzip2\bzip2.vcproj third_party\lzma\7z_C.vcproj third_party\modp_b64\modp_b64.vcproj third_party\libjpeg\libjpeg.vcproj * Add explicit RootNamspace attribute: third_party\bzip2\bzip2.vcproj * Reorder DisableSpecificWarnings and PreprocessorDefinitions attributes in VCCLCompilerTool: third_party\bzip2\bzip2.vcproj Review URL: http://codereview.chromium.org/18785 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8688 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the build time generation of config.h and xmlversion.h.tc@google.com2009-01-1510-131/+556
| | | | | | | | | | This adds a bat file which will generate config.h and xmlversion.h into the win32 directory. I updated include paths and everything seems to build. Review URL: http://codereview.chromium.org/18243 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8105 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce the number of warnings in third party code.maruel@chromium.org2009-01-082-8/+86
| | | | | | Review URL: http://codereview.chromium.org/16584 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7743 0039d316-1c4b-4281-b951-d872f2087c98
* Mass convert ChromeStaticLibrary -> ChromeLibrary, including pulling the ↵evanm@google.com2008-12-261-1/+1
| | | | | | | | | | | updated ICU dep that uses it as well. Add a SHARED scons command-line flag to build shared libraries. Review URL: http://codereview.chromium.org/16477 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7479 0039d316-1c4b-4281-b951-d872f2087c98
* Initial generation of native Visual Studio solution filessgk@google.com2008-12-191-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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. Review URL: http://codereview.chromium.org/14472 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7297 0039d316-1c4b-4281-b951-d872f2087c98
* Convert from using env['PLATFORM'] directly to using the more flexiblesgk@google.com2008-12-181-4/+4
| | | | | | | | | | | | | | | | | | and better-thought-out Hammer env.Bits() idioms: * env['PLATFORM'] == 'win32' => env.Bit('windows') * env['PLATFORM'] == 'posix' => env.Bit('linux') * env['PLATFORM'] == 'darwin' => env.Bit('mac') New idioms: * env.Bit('posix') => really does mean "any POSIX platform" * env.AnyBits('mac', 'linux') => specifically mac or linux, excluding other POSIX platforms Where we were using compound conditionals (e.g., "env['PLATFORM'] in ('posix', 'darwin')") I tried to take my best shot at translating the intent (i.e., "env.Bits('posix')" for something POSIX, "not env.Bits('mac')" for something not yet ported to Mac, etc.) Review URL: http://codereview.chromium.org/15051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7270 0039d316-1c4b-4281-b951-d872f2087c98
* Switch back svn:eol-style=native for .sln, .vcproj and .vsprops files.maruel@chromium.org2008-12-162-527/+527
| | | | | | | Patch fails otherwise on non-Windows platforms. Review URL: http://codereview.chromium.org/14478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7093 0039d316-1c4b-4281-b951-d872f2087c98
* Changed svn:eol-style of all .sln and .vcproj files to CRLFscherkus@chromium.org2008-12-042-527/+527
| | | | | | Review URL: http://codereview.chromium.org/13133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6372 0039d316-1c4b-4281-b951-d872f2087c98