summaryrefslogtreecommitdiffstats
path: root/build/SConscript.main
Commit message (Collapse)AuthorAgeFilesLines
* Manually specify where googleurl object files should betc@google.com2008-10-091-5/+3
| | | | | | | | generated. They're currently ending up in src/build/googleurl but they should be in $TARGET_ROOT/googleurl. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3121 0039d316-1c4b-4281-b951-d872f2087c98
* Implement MessageLoopForUI using GLib. This gets some exercise fromdsh@google.com2008-10-031-1/+2
| | | | | | | | | | base_unittest. BUG=1319 Review URL: http://codereview.chromium.org/4261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2834 0039d316-1c4b-4281-b951-d872f2087c98
* Get more of webkit building under Linux.erg@google.com2008-10-021-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2798 0039d316-1c4b-4281-b951-d872f2087c98
* * Get linux building with the merge brancherg@google.com2008-10-011-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2781 0039d316-1c4b-4281-b951-d872f2087c98
* Move Perl construction variables into the base constructionsgk@google.com2008-10-011-6/+8
| | | | | | | environment to generate bindings on all platforms. Review URL: http://codereview.chromium.org/5619 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2766 0039d316-1c4b-4281-b951-d872f2087c98
* Get open-vcdiff building on Linux and Mac (in SCons) usingsgk@google.com2008-09-301-0/+2
| | | | | | | | | | | | | | | | | 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
* ICU changessgk@google.com2008-09-291-1/+1
| | | | | | | | | | | | | * Add an ICU_UTIL_DATA_IMPL #defines to control whether we're expecting the ICU data as ICU_UTIL_DATA_{SHARED,STATIC,FILE}. * Set defaults on the platforms to match our current practice: Windows => shared, Linux => file, Mac => static. * On Mac, link the separate icui18n, icuuc and icudata libs (matching how we're building there), instead of the common icu lib. * Roll the icu38 revision in DEPS to get the updated SCons build. Review URL: http://codereview.chromium.org/5022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2669 0039d316-1c4b-4281-b951-d872f2087c98
* Roll the third_party/icu38 revision in DEPS to have SCons build libicu,sgk@google.com2008-09-261-0/+6
| | | | | | | | | | 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
* "--clobber" should come before the build directory setup.mmoss@google.com2008-09-261-7/+8
| | | | | | | | | | | Otherwise it deletes the build directory and db file which are needed by the rest of the build, causing the build to fail. Fixes error: scons: *** [Errno 2] No such file or directory: 'src/chrome/src/chrome/Hammer/.sconsign.dblite' Review URL: http://codereview.chromium.org/5010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2638 0039d316-1c4b-4281-b951-d872f2087c98
* Get libevent building and linking in base_unittests in the Mac SCons build:sgk@google.com2008-09-241-1/+3
| | | | | | | | | | | | | | | | | | * Call the $LIBEVENT_DIR/SConscript file on both Linux and Mac. * Add generation of the config.h file. * Modify the libevent_prebuild.sh script so SCons can pass in the input file name (because SCons executes things from top of tree) but the script still defaults to what XCode wants. * Only build epoll.c and epoll_sub.c on Linux. * Only build kqueue.c on Mac. * Add -framework AppKit to the link lines. * Add -fobjc-gc to Objective C compilation. * Add message_pump_mac.mm to the base input file list on Mac. * Build message_pump_libevent.cc on for base on both Linux and Mac. * Link against -levent on both Linux and Mac. Review URL: http://codereview.chromium.org/4254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2555 0039d316-1c4b-4281-b951-d872f2087c98
* Replace duplicate compiler output lines when compiling shared C/C++ object ↵sgk@google.com2008-09-241-0/+2
| | | | | | | | files with the same "Compiling ..." messages we get when compiling static object files. Review URL: http://codereview.chromium.org/3802 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2550 0039d316-1c4b-4281-b951-d872f2087c98
* Update Linux / SCons build for SDCH.sgk@google.com2008-09-231-0/+4
| | | | | | Review URL: http://codereview.chromium.org/4046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2497 0039d316-1c4b-4281-b951-d872f2087c98
* Use libevent, second try. Changes this time:dkegel@google.com2008-09-181-0/+5
| | | | | | | | | - 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
* Revert "Make tcp_client_socket_unittest pass on Linux."evanm@google.com2008-09-181-5/+0
| | | | | | | 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-0/+5
| | | | | | | | | | 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
* Suppress warnings in the new SCons version about an obscuresgk@google.com2008-09-171-1/+2
| | | | | | | | | | possible Windows race condition (file handles being held open an indeterminate amount of time after being closed in other threads). R: mpcomplete Review URL: http://codereview.chromium.org/2940 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2325 0039d316-1c4b-4281-b951-d872f2087c98
* Unignore most warnings on POSIX in build/SConscript.main.evanm@google.com2008-09-161-14/+3
| | | | | | | | | BUG=2053 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2272 0039d316-1c4b-4281-b951-d872f2087c98
* Initial Gears SConscript file. A bit messy. Only builds chrome+dbg andmpcomplete@google.com2008-09-161-0/+3
| | | | | | | IE+dbg configurations. Review URL: http://codereview.chromium.org/232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2269 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to get a small part of chrome/SConscript building. For now, just ↵tc@google.com2008-09-151-0/+1
| | | | | | build sqlite. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2245 0039d316-1c4b-4281-b951-d872f2087c98
* Capture initial SCons build of {base,net,googleurl}_unittests on Mac:sgk@google.com2008-09-111-32/+67
| | | | | | | | | | | | | * 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
* Now that the V8 changes to SConscript are in trunk, enableerg@google.com2008-09-111-0/+1
| | | | | | | | building V8 under linux by default. Review URL: http://codereview.chromium.org/2440 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2077 0039d316-1c4b-4281-b951-d872f2087c98
* Compile bspatch only on win32 for now.rahulk@google.com2008-09-081-1/+5
| | | | | | Review URL: http://codereview.chromium.org/1820 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1858 0039d316-1c4b-4281-b951-d872f2087c98
* rollbackrahulk@google.com2008-09-081-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1854 0039d316-1c4b-4281-b951-d872f2087c98
* Remove bspatch from linux build targets.rahulk@google.com2008-09-081-1/+0
| | | | | | | | TBR=sgk,evanm Review URL: http://codereview.chromium.org/1817 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1853 0039d316-1c4b-4281-b951-d872f2087c98
* Since the compiler line looks like "$CXXFLAGS $CFLAGS", there's no way to ↵evanm@google.com2008-09-071-3/+6
| | | | | | | | | disable a C++-specific warning when -Wall is in CFLAGS. (You disable the warning, then -Wall turns it back on.) Since we only write C++ code and we're only looking for warnings there for now, just put everything in CXXFLAGS. Also disable one more warning (which is the one that bit me here.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1827 0039d316-1c4b-4281-b951-d872f2087c98
* GCC 4.3 build fixes.evanm@google.com2008-09-031-0/+2
| | | | | | | BUG=241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1663 0039d316-1c4b-4281-b951-d872f2087c98
* Build against the system-provided NSS for SSL support.mmoss@google.com2008-08-291-4/+6
| | | | | | BUG=1343206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1542 0039d316-1c4b-4281-b951-d872f2087c98
* Allow BINDINGSCOMSTR to show prettier output while generating WebKit bindings.evanm@google.com2008-08-241-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1290 0039d316-1c4b-4281-b951-d872f2087c98
* Get the majority of the files in V8Bindings/ building.erg@google.com2008-08-221-0/+4
| | | | | | | | | | | The rest are excluded from the linux build because they include windowisms; this will be fixed later. Also, random linux compile fixes. Extra qualifiers, unused variables, et cetera. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1254 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the final gcc warnings in base and net. Provide some macros to ↵mmentovai@google.com2008-08-211-1/+0
| | | | | | selectively disable MSVC warnings. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1194 0039d316-1c4b-4281-b951-d872f2087c98
* Start porting port. Also move perl declarations into the correct place erg@google.com2008-08-211-0/+8
| | | | | | | for posix systems. Also remove stray qualifiers in C++ files. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1190 0039d316-1c4b-4281-b951-d872f2087c98
* Preserve the environment variable DISTCC_HOSTS if present.dkegel@google.com2008-08-211-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1174 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some more warnings.evanm@google.com2008-08-201-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1127 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on -Wall -Werror, fixing a few files while I'm here and *temporarily* ↵evanm@google.com2008-08-201-2/+8
| | | | | | disabling some other warnings that take more effort to fix. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1123 0039d316-1c4b-4281-b951-d872f2087c98
* Disable warning 4355 on Windows builds: "'this' : used in base member ↵maruel@google.com2008-08-201-0/+1
| | | | | | initializer list". git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1100 0039d316-1c4b-4281-b951-d872f2087c98
* Get JSConfig and JavaScriptCore/libWTF.a building under linux.erg@google.com2008-08-191-1/+2
| | | | | | | - Mainly separating out windows options into env['PLATFROM'] sections. - Fix for case sensitive filesystems. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1064 0039d316-1c4b-4281-b951-d872f2087c98
* Add a COVERAGE=1 argument to the Linux scons build. This compiles the ↵deanm@google.com2008-08-181-0/+4
| | | | | | object files with support for gcov. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@983 0039d316-1c4b-4281-b951-d872f2087c98
* Get googleurl and net to build on linux so we can parallelize even more. ↵tc@google.com2008-08-151-1/+9
| | | | | | This builds an empty net_unittests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@915 0039d316-1c4b-4281-b951-d872f2087c98
* Call an external command on Windows (xcopy) to install .lib files intosgk@google.com2008-08-141-1/+16
| | | | | | | | | | | | our library directory. This works around some weird Windows? Python? SCons? threading race condition where a file copied by Python code in one thread sometimes prevents it from being opened by an external command spawned in another thread (specifically the linker, leading an 1104 error), despite the fact that the copy has concluded. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@905 0039d316-1c4b-4281-b951-d872f2087c98
* Add skia and our png wrappers. png_codec_unittest and ↵tc@google.com2008-08-141-1/+1
| | | | | | 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
* Implement nspr time on Linux.deanm@google.com2008-08-141-1/+2
| | | | 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-0/+23
| | | | | | | | | | | | 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
* Allow MSVC to be on a different drive letter than the source code.tc@google.com2008-08-131-1/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@832 0039d316-1c4b-4281-b951-d872f2087c98
* Pull in some environment flags that affect distcc.evanm@google.com2008-08-131-1/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@827 0039d316-1c4b-4281-b951-d872f2087c98
* Parse /proc/cpuinfo to guess the number of available CPUs.evanm@google.com2008-08-131-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@768 0039d316-1c4b-4281-b951-d872f2087c98
* Make breakpad handler compile on Linux.mmoss@google.com2008-08-121-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@754 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of separate SConscript.main.linux:sgk@google.com2008-08-121-12/+17
| | | | | | | | | | | * Set -j default to %NUMBER_OF_PROCESSORS% + 1 only on Windows. * Initialize LOAD= modules up front, and let Linux override to the subset that are currently building. * Initialize Linux CCFLAGS, LINKFLAGS and LIBS in a separate if-clause (like we do for Windows). * Remove SCONSCRIPT_MAIN code in {base,chrome}/SConstruct in favor of just call ../build/SConscript.main. * Merge in evanm's changes to base/SConscript for separate lists of platform-neutral and platform-specific source files and test files. R=evanm,deanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@727 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in the rest of the .lib changes, previous commit was only done from ↵sgk@google.com2008-08-041-7/+15
| | | | | | | | | chrome/ and only got those SConscript files. R=evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@331 0039d316-1c4b-4281-b951-d872f2087c98
* Pull the block of common Windows system libraries that we link with ↵sgk@google.com2008-08-041-0/+23
| | | | | | | | everywhere into the base Windows environment. TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@310 0039d316-1c4b-4281-b951-d872f2087c98
* Add Chrome* pseudo-builders to the base construction environment to wrap the ↵sgk@google.com2008-08-031-0/+17
| | | | | | | | | | Command() and {Static,Shared}Library() builders calls. These provide a common place for us to abstact Windows/Mac/Linux differences in how we want these built. Added to both SConscript.main and SConscript.main.linux. TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@301 0039d316-1c4b-4281-b951-d872f2087c98