31 Commits

Autor SHA1 Mensagem Data
sgk@google.com 0cde7e2694 Basic underpinnings of the gyp equivalent of the Linux SHARED=1 build:
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
2009-04-08 12:55:49 +00:00
sgk@google.com abf2f9b343 Remove the checked-in scons configuration files.
Review URL: http://codereview.chromium.org/53121

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12982 0039d316-1c4b-4281-b951-d872f2087c98
2009-04-01 22:05:12 +00:00
bradnelson@google.com 735042c5ce Switching net over to use gyp on windows.
Review URL: http://codereview.chromium.org/48108

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11942 0039d316-1c4b-4281-b951-d872f2087c98
2009-03-18 02:30:55 +00:00
bradnelson@google.com 4c43396df9 Adding back in files lost in 11688.
Review URL: http://codereview.chromium.org/46075

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11694 0039d316-1c4b-4281-b951-d872f2087c98
2009-03-14 02:03:44 +00:00
bradnelson@google.com 64680e71a6 Switching net to gyp on windows.
Review URL: http://codereview.chromium.org/42184

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11688 0039d316-1c4b-4281-b951-d872f2087c98
2009-03-13 23:58:07 +00:00
bradnelson@google.com f05bd1c2bd Adding fixed guids to some modules to facilitate incremental switch to gyp.
Review URL: http://codereview.chromium.org/42044

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11388 0039d316-1c4b-4281-b951-d872f2087c98
2009-03-10 22:25:54 +00:00
sgk@google.com a106c16b0e Check in a generated config.h file for SDCH on Linux
(as was done for mac) and add the include directory
to the .gyp file.
Review URL: http://codereview.chromium.org/40101

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10897 0039d316-1c4b-4281-b951-d872f2087c98
2009-03-04 18:25:48 +00:00
mark@chromium.org f57aaeed82 GYP it, GYP it good.
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
2009-03-02 00:16:16 +00:00
mark@chromium.org 2a276bd2fd Import .gyp files into the Chromium tree
Review URL: http://codereview.chromium.org/27158

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10380 0039d316-1c4b-4281-b951-d872f2087c98
2009-02-25 21:26:55 +00:00
mark@chromium.org 94e3f28f6b Provide pre-generated config.h files for the Mac for sdch and libevent, so
we don't have to worry about messy generator steps in the gyp-based build.
Review URL: http://codereview.chromium.org/23008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9254 0039d316-1c4b-4281-b951-d872f2087c98
2009-02-05 21:08:49 +00:00
thestig@chromium.org b156fc60b6 Add missing instruction_map.cc in sdch/SConscript.
This fixes the SHARED=1 build on Linux. sdch/SConscript last changed in r8644/issue 18717.
Review URL: http://codereview.chromium.org/18816

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8675 0039d316-1c4b-4281-b951-d872f2087c98
2009-01-26 23:23:39 +00:00
sgk@google.com 215b944d72 Generate additional .vcproj files in miscellaneous top-level components.
This also updates the .vcproj files themselves to fix minor stylistic
incompatibilities with the rest.  Affected .vcproj files:
* No change (byte-for-byte identical):
    media\build\media.vcproj
    media\build\media_player.vcproj
    media\build\media_unittests.vcproj
    google_update\ondemand_updates.vcproj
* Remove .\ prefix where inconsistent with the rest of a filelist:
    rlz\rlz.vcproj
    breakpad\breakpad_handler.vcproj
* Add empty <ToolFiles>, <References> and <Globals> sections:
    breakpad\breakpad_sender.vcproj
* Add explicit RootNamespace attribute:
    sdch\sdch.vcproj
* Use Windows-canonical \ separators:
    sdch\sdch.vcproj
* Remove unnecessary Filter and UniqueIdentifier attributes from
  <Filter> declarations:
    sdch\sdch.vcproj

Additional cleanups along for the ride:
* Split breakpad\SConscript logic into separate
  breakpad_{handler,sender}.scons files.
* Add a media\media_player.scons configuration.
Review URL: http://codereview.chromium.org/18717

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8644 0039d316-1c4b-4281-b951-d872f2087c98
2009-01-26 18:55:01 +00:00
sgk@google.com d7969d715a Sweep the tree for SCons files still missing svn:eol-style LF.
Review URL: http://codereview.chromium.org/17297

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7781 0039d316-1c4b-4281-b951-d872f2087c98
2009-01-08 23:59:32 +00:00
evanm@google.com ed0bb82fa5 Mass convert ChromeStaticLibrary -> ChromeLibrary, including pulling the 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
2008-12-26 04:38:25 +00:00
evanm@google.com 7678958792 Add a missing file to the build to appease the dynamic linker.
Review URL: http://codereview.chromium.org/16264


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7472 0039d316-1c4b-4281-b951-d872f2087c98
2008-12-26 01:07:39 +00:00
sgk@google.com a32cb7e0c8 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.


Review URL: http://codereview.chromium.org/14472

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7297 0039d316-1c4b-4281-b951-d872f2087c98
2008-12-19 08:10:30 +00:00
sgk@google.com 860e644538 Convert from using env['PLATFORM'] directly to using the more flexible
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
2008-12-18 23:26:29 +00:00
maruel@chromium.org 3bdf3f72b9 Switch back svn:eol-style=native for .sln, .vcproj and .vsprops files.
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
2008-12-16 20:56:44 +00:00
scherkus@chromium.org 7f81e76830 Changed svn:eol-style of all .sln and .vcproj files to CRLF
Review URL: http://codereview.chromium.org/13133

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6372 0039d316-1c4b-4281-b951-d872f2087c98
2008-12-04 19:43:48 +00:00
sgk@google.com 864abaeb34 SCons renaming updates for base, net and googleurl:
* Rename SConscript files to {module}.scons or {moduel}_lib.scons,
  depending on the primary target involved.
* Separate targets into individual *.scons files, with one
  construction environment (named "env") per *.scons file.
* Add using_{module}.scons files (like .vsprops) that will be used
  by other modules to add CPPDEFINES, CPPPATH, LIBS and LIBPATH values.
* Update other modules' *.scons files to use the new using_{module}.scons
  files (using a temporary one-liner idiom until we have the
  ApplySConscript() method from the Hammer modules).
* Use the idiom of removing to-be-ported files from the master list,
  so they can be simply deleted from the to-be-ported list as they
  get ported in the future, instead of having to shuffle entries
  between lists.
* Use $OBJ_ROOT instead of hard-coded '#/$BUILD_TYPE/' for the $*_DIR
  variables.
* Add a addRepository() call mapping build/ to $TARGET_ROOT/googleurl,
  so its $OBJ_ROOT value can look like the others'.
* Formatting changes, primarily modifying indentation to conform to
  style guidelines.
* Fix copyright headers in some third_party/* modules
  previously overlooked.
* Add rudimentary __doc__ strings, setting up for a future
  ability to generate meaningful documentation.


Review URL: http://codereview.chromium.org/7807

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3675 0039d316-1c4b-4281-b951-d872f2087c98
2008-10-21 20:24:56 +00:00
jar@google.com d2b2f0f43f Removing old vcdiff hierarchy (replaced by sdch/open-vcdiff pulled separately)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3047 0039d316-1c4b-4281-b951-d872f2087c98
2008-10-08 20:58:02 +00:00
mark@chromium.org 9b85dd5905 Use open-vcdiff source in its new home on the Mac (follow-up to r2709)
Review URL: http://codereview.chromium.org/3407

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2713 0039d316-1c4b-4281-b951-d872f2087c98
2008-09-30 14:30:22 +00:00
sgk@google.com 726c3ae898 Get open-vcdiff building on Linux and Mac (in SCons) using
captured values for generating a config.h file.

Builds base/sdch_{filter,manager}.cc on all platforms and links
the 'sdch' library.

Add sdch to the SCons configuration loaded on Mac and Linux.

Removes platform #ifs in net/base/filter.cc initialization code
(reverting r2740).

B=2662
Review URL: http://codereview.chromium.org/5204

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2710 0039d316-1c4b-4281-b951-d872f2087c98
2008-09-30 01:37:05 +00:00
jar@google.com 28c5ff2183 Transition to pulling open-vcdiff rather than using a private snapshot pull
I can't include all the svn deletions (all of sdch/open_vcdiff/*) in this
change list, as it will break reitveld.  I'll do them piecemeal after a get
an LGTM.

Also, by temporarilly leaving in the old subtree, I can support mac until
the move to use this new sub-tree.

r=nsylvain,sgk
Review URL: http://codereview.chromium.org/5402

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2709 0039d316-1c4b-4281-b951-d872f2087c98
2008-09-30 01:18:09 +00:00
mark@chromium.org 1071fdb22a Use open-vcdiff for sdch compression on the Mac
Review URL: http://codereview.chromium.org/4096

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2628 0039d316-1c4b-4281-b951-d872f2087c98
2008-09-26 14:26:07 +00:00
sgk@google.com 8ad0f9bc9b Update Linux / SCons build for SDCH.
Review URL: http://codereview.chromium.org/4046

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2497 0039d316-1c4b-4281-b951-d872f2087c98
2008-09-23 17:57:16 +00:00
brettw@google.com e9879265d2 Move subdirectory skipping from being in the DEPS file of the directory to skip and instead have in in the parent. This allows us to pull third-party sources or external repositories and not have to make them add a DEPS file for our deps checker.
BUG=1342686

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1358 0039d316-1c4b-4281-b951-d872f2087c98
2008-08-26 01:11:48 +00:00
jar@google.com 06bd1a0e99 Restore open_vcdiff license agreements
tbr=beng

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1288 0039d316-1c4b-4281-b951-d872f2087c98
2008-08-24 05:21:18 +00:00
license.bot 1457f56792 Use a more compact license header in source files.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
2008-08-24 00:55:55 +00:00
nsylvain@google.com d8f33675a4 Skip deps check for the third_party code sdch.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1280 0039d316-1c4b-4281-b951-d872f2087c98
2008-08-23 18:51:13 +00:00
jar@google.com 73566a6ad5 A complete copy of the open source open-vcdiff code
This is "soon to be released" open source code.  I have a copy
here to avoid racing for release.  Once it is really on our source server,
I'll pull that instead.

tbr=ajenjo,nsylvain

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1274 0039d316-1c4b-4281-b951-d872f2087c98
2008-08-23 03:06:08 +00:00