summaryrefslogtreecommitdiffstats
path: root/base/SConscript
Commit message (Collapse)AuthorAgeFilesLines
* Create a LazyInstance abstraction for avoiding static constructors by lazily ↵deanm@google.com2008-09-081-0/+2
| | | | | | | | creating an instance of an object on first access. This is like Singleton, but without the Singleton property of sharing instances. This also preallocates space for the object to avoid the heap to try to help fragmentation and creation performance. Review URL: http://codereview.chromium.org/1608 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1837 0039d316-1c4b-4281-b951-d872f2087c98
* SCons build: move hamc_win.cc from the list of to-be-ported sourcesgk@google.com2008-09-051-1/+2
| | | | | | | | files to the list of Windows-only source files. Add hmac_mac.cc to the list fo Mac-only source files. Review URL: http://codereview.chromium.org/256 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1787 0039d316-1c4b-4281-b951-d872f2087c98
* Add base\trace_event.cc to the SCons build.sgk@google.com2008-09-041-0/+1
| | | | | | Review URL: http://codereview.chromium.org/449 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1739 0039d316-1c4b-4281-b951-d872f2087c98
* HMAC-SHA1 implementation for Mac based on CommonCrypto;mmentovai@google.com2008-09-041-1/+1
| | | | | | | allow Windows HMAC-SHA1 to use keys longer than 16 bytes. Review URL: http://codereview.chromium.org/218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1724 0039d316-1c4b-4281-b951-d872f2087c98
* Run thread_local_unittest on all platforms.deanm@google.com2008-09-031-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1686 0039d316-1c4b-4281-b951-d872f2087c98
* Add ThreadLocalPointer and ThreadLocalBoolean abstractions, that will ↵deanm@google.com2008-09-031-0/+3
| | | | | | deprecate the old ThreadLocalStorage / TLSSlot APIs. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1678 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some Windows TimeTicks functions. Move TickTicks::Now and ↵deanm@google.com2008-09-021-0/+1
| | | | | | | | TicksTicks::UnreliableHighResNow to Singletons, which cleans up the code and removes some possible unsafe cross-thread access. Move the Windows-specific rollover tests to time_unittests_win. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1633 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
* Import upstream atomicop tests.deanm@google.com2008-08-291-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1522 0039d316-1c4b-4281-b951-d872f2087c98
* Bring back SimpleThread, but with a Delegate interface.deanm@google.com2008-08-291-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1519 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit tests for WorkerPool and add a working but poor implementation for ↵dsh@google.com2008-08-271-1/+2
| | | | | | Linux. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1466 0039d316-1c4b-4281-b951-d872f2087c98
* Move std::string16 to base::string16. Don't pollute the std namespace. Don'tmmentovai@google.com2008-08-271-0/+1
| | | | | | assume that all string types can be represented as std::basic_string<CHAR>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1464 0039d316-1c4b-4281-b951-d872f2087c98
* Some more passing tests in base for Linuxmmentovai@google.com2008-08-271-4/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1460 0039d316-1c4b-4281-b951-d872f2087c98
* Include process_util_posix.cc in POSIX SCons buildsmmentovai@google.com2008-08-271-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1443 0039d316-1c4b-4281-b951-d872f2087c98
* Make perftimer and run_all_perftests compile on Posix. Stub out a few ↵deanm@google.com2008-08-271-5/+7
| | | | | | | | things into process_util_posix, and add a function to raise to a high priority. BUG=1343318 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1438 0039d316-1c4b-4281-b951-d872f2087c98
* Mark the platform_canvas_unittest as windows specific.erg@google.com2008-08-271-8/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1415 0039d316-1c4b-4281-b951-d872f2087c98
* Move process_util.cc to process_util_win.cc to make way for posix.deanm@google.com2008-08-261-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1377 0039d316-1c4b-4281-b951-d872f2087c98
* Move unittests that had a _test filename to _unittest. Update some missing ↵deanm@google.com2008-08-261-4/+6
| | | | | | tests in the SCons build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1375 0039d316-1c4b-4281-b951-d872f2087c98
* Add example usages and tests to scoped_ptr.h and tuple.h.deanm@google.com2008-08-251-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1305 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test that passes on Linux.deanm@google.com2008-08-251-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1304 0039d316-1c4b-4281-b951-d872f2087c98
* Add the condition variable unittest to all builds.paulg@google.com2008-08-221-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1253 0039d316-1c4b-4281-b951-d872f2087c98
* Remove CallWrapper and SimpleThread. They overlap too closely with the ↵deanm@google.com2008-08-221-3/+0
| | | | | | message loop variants Thread and Task. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1230 0039d316-1c4b-4281-b951-d872f2087c98
* Create a simple abstraction to a native OS thread, mostly useful for ↵deanm@google.com2008-08-221-0/+2
| | | | | | unittesting when you don't want a message loop. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1217 0039d316-1c4b-4281-b951-d872f2087c98
* Create a CallWrapper interface, for making closure-like callbacks. This is ↵deanm@google.com2008-08-211-0/+1
| | | | | | similar to RunnableMethod, but does not derive / involve a Task. This is more convenient than Callback, because the interfaces do not need to know what the underlying template arguments are, everything is dealt with as a CallWrapper*. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1151 0039d316-1c4b-4281-b951-d872f2087c98
* Port the Thread class properly to Mac and Linux. This involved portingdarin@google.com2008-08-211-7/+6
| | | | | | | | | | | | PlatformThread and creating an API on PlatformThread to create a native thread and later join with it. I also made a few other tweaks to PlatformThread, such as eliminating the Current() method which appears to be unused. The operator==() is also unused, so I killed it as well. I made a few other miscellaneous cleanups and adjustments. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1146 0039d316-1c4b-4281-b951-d872f2087c98
* Bring thread_posix into Linux build and fix it for Linux/Mac.evanm@google.com2008-08-201-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1133 0039d316-1c4b-4281-b951-d872f2087c98
* Move time formatters that only use ICU into base/time.*tc@google.com2008-08-191-0/+1
| | | | | | | | | | | | | This allows us to use the time formatters in, e.g., net or webkit. Remove CookieExpires since it's not used. BUG=1164516 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1063 0039d316-1c4b-4281-b951-d872f2087c98
* disable test while we wait for linux fixdarin@google.com2008-08-191-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1057 0039d316-1c4b-4281-b951-d872f2087c98
* fix build bustagedarin@google.com2008-08-191-2/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1054 0039d316-1c4b-4281-b951-d872f2087c98
* Update SCons base_unittests build to track recent (?) VS build changes:sgk@google.com2008-08-191-2/+4
| | | | | | | | | | * Add $GTEST_DIR{,/include} to CPPPATH. * Fix a typo in $ICU38/_DIRpublic/i18n. * Add GOOGLE_CHROME_BUILD to CPPDEFINES. * Remove /Wp64. TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1037 0039d316-1c4b-4281-b951-d872f2087c98
* Move more files to non-Win32-specific blocks. These build and pass tests on ↵mmoss@google.com2008-08-191-1/+2
| | | | | | Linux. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1035 0039d316-1c4b-4281-b951-d872f2087c98
* Rearrange and add notes on remaining base modules that are in the ↵evanm@google.com2008-08-181-10/+15
| | | | | | Windows-specific branch of the SConscript. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@998 0039d316-1c4b-4281-b951-d872f2087c98
* Large patch set (159 files total) to cleanup the includes.maruel@google.com2008-08-151-0/+1
| | | | | | | | | | - Slightly reduce the size of the generated .lib files ~3%. - Reduce the number of implicit and explicit atl and windows includes. hooray! - Help incremental build by reducing the number of unnecessary included files. - Split some template class in two, one base class for the common code and the specialization that inherits from the base class. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@937 0039d316-1c4b-4281-b951-d872f2087c98
* SCons build: add base\message_pump_win.cc.sgk@google.com2008-08-151-0/+1
| | | | | | TBR: darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@932 0039d316-1c4b-4281-b951-d872f2087c98
* To pass string_util_unittest, we need the ICU data file. To get the ICU ↵evanm@google.com2008-08-151-3/+8
| | | | | | data file, we need some of PathService, which brings along with it a bunch of other needed functions. So here are a bunch of stubs, along with another file's worth of passing tests. (Based on a patch from Dean.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@921 0039d316-1c4b-4281-b951-d872f2087c98
* Add command_line_unittest and pr_time_test to the linux set of unittests. ↵tc@google.com2008-08-141-2/+2
| | | | | | Fix the const-ness of argv in CommandLine on posix. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@901 0039d316-1c4b-4281-b951-d872f2087c98
* Add skia and our png wrappers. png_codec_unittest and ↵tc@google.com2008-08-141-8/+2
| | | | | | image_operations_unittest pass. This gives us 70 passing unittests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@878 0039d316-1c4b-4281-b951-d872f2087c98
* The SHA2 files compile, and the unittests pass, now that ↵mmoss@google.com2008-08-141-3/+3
| | | | | | nspr/prcpucfg_linux.h is in, so move to the common build sections. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@874 0039d316-1c4b-4281-b951-d872f2087c98
* Build stack_container_unittest everywhere, it can build with GCC.deanm@google.com2008-08-141-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@866 0039d316-1c4b-4281-b951-d872f2087c98
* Implement nspr time on Linux.deanm@google.com2008-08-141-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@863 0039d316-1c4b-4281-b951-d872f2087c98
* Add a helper method to SConscript.main for adding .pdb files to thetc@google.com2008-08-131-13/+2
| | | | | | | | | | | | 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
* Fix a couple "extra qualification" compile errors in method declarations, ↵mmoss@google.com2008-08-131-4/+4
| | | | | | and move related non-Win32-specific files to common build target. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@822 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files which don't seem to be Win32-specific out of the Win32 blocks.mmoss@google.com2008-08-131-7/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@820 0039d316-1c4b-4281-b951-d872f2087c98
* Move PE format wrapper files to Win32-only sections.mmoss@google.com2008-08-131-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@816 0039d316-1c4b-4281-b951-d872f2087c98
* Disable build targets in base/SConscript that don't work ontc@google.com2008-08-131-8/+7
| | | | | | linux. This lets 'hammer base' build cleanly for me. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@814 0039d316-1c4b-4281-b951-d872f2087c98
* Unify maintenance of NumberFormat objects into a cross-platform Singleton. ↵mmentovai@google.com2008-08-131-2/+0
| | | | | | Clean up some dead code and dead files. WideToNativeMB and its inverse have been obsoleted by SysWideToNativeMB in sys_string_conversions*. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@806 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing observer_list unittest and singleton unittest is for all platforms.deanm@google.com2008-08-131-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@803 0039d316-1c4b-4281-b951-d872f2087c98
* Kill check handler. It seems to be unused, and is implemented using ugly SEHdeanm@google.com2008-08-131-1/+0
| | | | | | | handlers. If we want this we could reimplement it cleanly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@802 0039d316-1c4b-4281-b951-d872f2087c98
* Compile debug_util.cc on all platforms.deanm@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@793 0039d316-1c4b-4281-b951-d872f2087c98
* Build Linux against base_gfx, and we pass convolver and rect unit tests.deanm@google.com2008-08-131-9/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@790 0039d316-1c4b-4281-b951-d872f2087c98