summaryrefslogtreecommitdiffstats
path: root/net/SConscript
Commit message (Collapse)AuthorAgeFilesLines
* add file:// handling to mac and linux buildspinkerton@google.com2008-10-101-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3232 0039d316-1c4b-4281-b951-d872f2087c98
* Fix tree breakage by referencing correct open-vcdiff directory.erg@google.com2008-10-081-1/+1
| | | | | | | | | TBR=jar Review URL: http://codereview.chromium.org/6364 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3053 0039d316-1c4b-4281-b951-d872f2087c98
* Add Posix sync only support to FileInputStream.deanm@chromium.org2008-10-061-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2875 0039d316-1c4b-4281-b951-d872f2087c98
* Get open-vcdiff building on Linux and Mac (in SCons) usingsgk@google.com2008-09-301-5/+3
| | | | | | | | | | | | | | | | | 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
* Define FileInputStream and use it to make UpdateDataStream and ↵darin@google.com2008-09-291-1/+4
| | | | | | | | | | | | URLRequestFileJob portable. file_input_stream_posix.cc is not implemented in this CL. That is saved for a follow-up. R=mark Review URL: http://codereview.chromium.org/4101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2673 0039d316-1c4b-4281-b951-d872f2087c98
* Add the auth unit-tests to SConscript and .pbxprojericroman@google.com2008-09-271-0/+3
| | | | | | Review URL: http://codereview.chromium.org/4315 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2660 0039d316-1c4b-4281-b951-d872f2087c98
* Initial stab at http authentication (basic + digest) in new http stack.ericroman@google.com2008-09-271-0/+4
| | | | | | | | | | | | | | | | | | General design: - class HttpAuth -- utility class for http-auth logic. - class HttpAuth::ChallengeTokenizer -- parsing of www-Authenticate headers. - class HttpAuthHandler -- base class for authentication schemes (inspired by nsIHttpAuthenticator) - class HttpAuthHandlerBasic : HttpAuthHandler -- logic for basic auth. - class HttpAuthHandlerDigest : HttpAuthHandler -- logic for digest auth. - The auth integration in HttpNetworkTransaction mimics that of HttpTransactionWinHttp: + HttpNetworkTransaction::ApplyAuth() -- set the authorization headers. + HttpNetworkTransaction::PopulateAuthChallenge() -- process the challenges. BUG=2346 Review URL: http://codereview.chromium.org/4063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2658 0039d316-1c4b-4281-b951-d872f2087c98
* Roll the third_party/icu38 revision in DEPS to have SCons build libicu,sgk@google.com2008-09-261-1/+1
| | | | | | | | | | not libicuuc. Add a new $ICU_LIBS construction variable to allow different platforms to link with different sets of ICU libraries. Use it in the LIBS lists of the various construction environments used to build the things that link with it. Review URL: http://codereview.chromium.org/4312 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2651 0039d316-1c4b-4281-b951-d872f2087c98
* Add more tests and files to the Mac's net_unittests:mark@chromium.org2008-09-251-6/+1
| | | | | | | | | | | - backend_unittest - cookie_policy_unittest - proxy_service_unittest - url_request_test_job - test_completion_callback_unittest Review URL: http://codereview.chromium.org/4094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2608 0039d316-1c4b-4281-b951-d872f2087c98
* Use histograms to send interesting parts of the disk cache statistics.rvargas@google.com2008-09-241-0/+1
| | | | | | | | | | | Most of this CL deals with a derived implementation of histograms that just queries the size stats already generated by the disk cache. The exact number of buckets, and their distribution, is controlled directly by the new class and the disk cache stats code. Review URL: http://codereview.chromium.org/3069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2580 0039d316-1c4b-4281-b951-d872f2087c98
* Add libevent to the Mac SCons build of net_unittests:sgk@google.com2008-09-241-4/+8
| | | | | | | | | | * Build base/tcp_client_socket_libevent.cc on both Linux and Mac. * Link against -levent on both Linux and Mac. * Don't build base/cookie_policy_unittest.cc on Mac (yet?); it throws warnings (and is currently not being built by XCode, either). Review URL: http://codereview.chromium.org/4257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2561 0039d316-1c4b-4281-b951-d872f2087c98
* Add net\base\x509_certificate.cc to the SCons build.sgk@google.com2008-09-231-0/+1
| | | | | | Review URL: http://codereview.chromium.org/4240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2531 0039d316-1c4b-4281-b951-d872f2087c98
* Update Linux / SCons build for SDCH.sgk@google.com2008-09-231-6/+7
| | | | | | Review URL: http://codereview.chromium.org/4046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2497 0039d316-1c4b-4281-b951-d872f2087c98
* Only link the new event lib on Linux systems.sgk@google.com2008-09-191-1/+7
| | | | | | Review URL: http://codereview.chromium.org/2982 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2398 0039d316-1c4b-4281-b951-d872f2087c98
* Implement CopyDirectory() for the POSIX branch of file_util.evanm@google.com2008-09-181-1/+1
| | | | | | | This lets us pass some more base unit tests and at least one net test. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2372 0039d316-1c4b-4281-b951-d872f2087c98
* Use libevent, second try. Changes this time:dkegel@google.com2008-09-181-1/+3
| | | | | | | | | - remove bogus include of base/completion_callback.h - add DEPS rules to allow including third_party/libevent Review URL: http://codereview.chromium.org/2964 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2371 0039d316-1c4b-4281-b951-d872f2087c98
* Bring X.509 cert handling (at least preliminarily) to the Mac.avi@google.com2008-09-181-1/+2
| | | | | | Review URL: http://codereview.chromium.org/2963 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2369 0039d316-1c4b-4281-b951-d872f2087c98
* Now that we have the ICU lib depend on its data file, we no longer need toevanm@google.com2008-09-181-6/+1
| | | | | | | mention it in these other SConscripts. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2367 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Make tcp_client_socket_unittest pass on Linux."evanm@google.com2008-09-181-3/+1
| | | | | | | This reverts commit d63170654d935f5a8ff6517bfacb60893f186a6b. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2347 0039d316-1c4b-4281-b951-d872f2087c98
* Make tcp_client_socket_unittest pass on Linux.dkegel@google.com2008-09-181-1/+3
| | | | | | | | | | Requires another changeset that puts libevent in third_party; I'll upload that next. This is not the final word; it makes too many syscalls per read. But it's a start. Review URL: http://codereview.chromium.org/3202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2346 0039d316-1c4b-4281-b951-d872f2087c98
* One more passing test.evanm@google.com2008-09-161-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2265 0039d316-1c4b-4281-b951-d872f2087c98
* Simple unit test, written mostly just to become familiar with the code.dkegel@google.com2008-09-151-0/+1
| | | | | | | I've addressed the comments and added the test to the visual studio project. I'll commit when the tree opens. Review URL: http://codereview.chromium.org/3049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2249 0039d316-1c4b-4281-b951-d872f2087c98
* Capture initial SCons build of {base,net,googleurl}_unittests on Mac:sgk@google.com2008-09-111-1/+6
| | | | | | | | | | | | | * Initial flags and options that mimick how XCode builds (e.g. XCode uses "gcc -x c++" to compile C++, but g++ to link it). * Load minimal set of SConscript files: base, googleurl, net, skia, testing, third_party. (breakpad and webkit to come.) * Correct .cc => .mm file names (multiple places). * Add base/{platform_thread,platform_test,worker_pool}_mac.mm. * Remove -Wall when we build Skia, like we do on Linux. Review URL: http://codereview.chromium.org/2435 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2097 0039d316-1c4b-4281-b951-d872f2087c98
* Get MIME stuff working minimally to the point where we haveerg@google.com2008-09-081-5/+8
| | | | | | | | | unit tests passing. B=1315 Review URL: http://codereview.chromium.org/1824 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1866 0039d316-1c4b-4281-b951-d872f2087c98
* Modify HostResolver slightly to build on posix as well as windows.dkegel@google.com2008-09-051-1/+2
| | | | | | Review URL: http://codereview.chromium.org/403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1799 0039d316-1c4b-4281-b951-d872f2087c98
* Update Copyright text in SCons config files.sgk@google.com2008-09-011-28/+4
| | | | | | TBR: beng git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1607 0039d316-1c4b-4281-b951-d872f2087c98
* Add more net unit tests to linux.rvargas@google.com2008-08-271-6/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1461 0039d316-1c4b-4281-b951-d872f2087c98
* Sort the file names alphabetically.darin@google.com2008-08-261-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1408 0039d316-1c4b-4281-b951-d872f2087c98
* Need to use net/base/run_all_unittests.cc instead of base/run_all_unittests.cc.darin@google.com2008-08-261-1/+1
| | | | | | TBR=tc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1406 0039d316-1c4b-4281-b951-d872f2087c98
* add url_request_test_job to the buildtc@google.com2008-08-221-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1264 0039d316-1c4b-4281-b951-d872f2087c98
* Move FileURLToFilePath into platform specific files. Most of the logic in ↵tc@google.com2008-08-221-1/+2
| | | | | | this function is specific to windows' file system. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1211 0039d316-1c4b-4281-b951-d872f2087c98
* More net files brought into compilation for Mac/Linux.avi@google.com2008-08-211-6/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1192 0039d316-1c4b-4281-b951-d872f2087c98
* Make upload_data not be windows specific. Add it to the SCons build.tc@google.com2008-08-211-3/+5
| | | | | | | Also add mime_sniffer_unittest which already passes. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1178 0039d316-1c4b-4281-b951-d872f2087c98
* Pass 100 more tests on Linux. Puts my money where my mouth is.mmentovai@google.com2008-08-211-11/+13
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1171 0039d316-1c4b-4281-b951-d872f2087c98
* Add net_util* to the SCons build. Fixes some ICU UChar issues in net_util. ↵tc@google.com2008-08-211-3/+3
| | | | | | | | | Also disable NetUtilTest.FileURLConversion because it seems to have Windows specific output (is this the right thing to do?). The other changes to net_util_unittest is to get arraysize to work (see the comment in base/basictypes.h). git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1168 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the linux build again. http_response_headers.cc hastc@google.com2008-08-211-2/+2
| | | | | | | | | size_t i = -1 which doesn't compile on gcc 4.0.3. TBR=erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1136 0039d316-1c4b-4281-b951-d872f2087c98
* Fix net build on linux by moving http_vary_data to the win only section ↵tc@google.com2008-08-211-2/+2
| | | | | | | | | until we port it. TBR=evanm@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1134 0039d316-1c4b-4281-b951-d872f2087c98
* More of net compiling on the Mac.avi@google.com2008-08-201-7/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1125 0039d316-1c4b-4281-b951-d872f2087c98
* Build more files with sconsavi@google.com2008-08-201-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1102 0039d316-1c4b-4281-b951-d872f2087c98
* Add more files to the net module compile list. Had to make some small ↵tc@google.com2008-08-201-15/+20
| | | | | | changes to how static struct arrays were declared so arraysize() would work with gcc. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1074 0039d316-1c4b-4281-b951-d872f2087c98
* Update the list of files that should compile.rvargas@google.com2008-08-191-18/+16
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1073 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a net\SConscript typo. (Note to self: check in from thesgk@google.com2008-08-181-1/+1
| | | | | | | directory where you actually did the build.) TBR: tc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@996 0039d316-1c4b-4281-b951-d872f2087c98
* Have the "net" build install icudt38l.dat on non-Windows systems.sgk@google.com2008-08-181-1/+5
| | | | | | TBR: tc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@994 0039d316-1c4b-4281-b951-d872f2087c98
* Make some net unittests compile and pass on linux.tc@google.com2008-08-181-14/+14
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@991 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the scons build (file name change).tc@google.com2008-08-151-2/+4
| | | | | | TBR=rvargas git-svn-id: svn://svn.chromium.org/chrome/trunk/src@962 0039d316-1c4b-4281-b951-d872f2087c98
* Get googleurl and net to build on linux so we can parallelize even more. ↵tc@google.com2008-08-151-176/+190
| | | | | | This builds an empty net_unittests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@915 0039d316-1c4b-4281-b951-d872f2087c98
* Add a helper method to SConscript.main for adding .pdb files to thetc@google.com2008-08-131-22/+11
| | | | | | | | | | | | output target of .exe files on Windows. Change all the callers to only pass in the basename of the target (e.g., 'base_unittests'). The only exception is chrome.exe which uses chrome_exe.pdb. This lets us remove a "if env['PLATFORM'] == 'win32'" condition from base/SConscript and these other files going forward. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@836 0039d316-1c4b-4281-b951-d872f2087c98
* Add new disk_cache\*_{win,posix}.cc files to SCons build. Copy insgk@google.com2008-08-131-35/+49
| | | | | | | cross-platform patterns from base\SConscript. Remove out-of-date comments. TBR: rvargas,evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@829 0039d316-1c4b-4281-b951-d872f2087c98
* Set the svn:eol-style to LF on all SConscript filestc@google.com2008-08-131-320/+320
| | | | | | TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@823 0039d316-1c4b-4281-b951-d872f2087c98
* Fix hammer build. Bustage resulted from renaming some files.darin@google.com2008-08-111-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@653 0039d316-1c4b-4281-b951-d872f2087c98