bradnelson@google.com
e56a42c72f
Matching v8 build settings more closely to try to fix regression in performance.
...
Review URL: http://codereview.chromium.org/67092
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13642 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-14 01:39:12 +00:00
thestig@chromium.org
fb10049558
Add INCLUDE_SERVER_PORT and INCLUDE_SERVER_ARGS for distcc pump.
...
Review URL: http://codereview.chromium.org/73008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13632 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-13 23:19:47 +00:00
dimich@google.com
074c163b85
Make OSX TestShell able to run workers, using a new test_worker.dylib which is basically a webkit+v8+helpers to simulate separate process with worker v8 threads. This is similar way we do on Win32.
...
Review URL: http://codereview.chromium.org/66043
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13537 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-10 20:31:10 +00:00
pinkerton@chromium.org
73fdcaa59b
Force c++ dtors to get called in objc interfaces (it was always on since gcc4.2, but this makes it explicit). Use scoped_* goodness.
...
Review URL: http://codereview.chromium.org/70001
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13504 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-10 15:46:34 +00:00
sky@chromium.org
576f73906d
Adds some ifdefs so that test_shell can be compiled on linux
...
without GTK.
I had to recreate this patch as my workspace for various
resonds. UGH!
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/67024
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13503 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-10 15:09:39 +00:00
sgk@google.com
4372aafdad
Restore -Wall to Linux build and set up for -Werror.
...
* Add -Wall to build/common.gypi (and -Werror, commented out for now).
* Have build/external_code.gypi remove -Wall (and -Werror).
* Remove chromium_code definition from build/all.gyp.
* Remove chromium_code definitions from third_party/ *.gyp files.
* Remove scons-specific -Werror removal in webkit.gyp.
* Remove unused variables from:
base/clipboard_linux.cc
chrome/browser/gtk/download_shelf_gtk.cc
chrome/browser/gtk/bookmark_bar_gtk.cc
Review URL: http://codereview.chromium.org/66001
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-09 22:51:41 +00:00
sgk@google.com
b163d411b9
Linux cflag changes:
...
* Use -fno-rtti only for C++ V8 compilation.
* Move -f{data,function}-sections (for Release) to build/common.gypi.
* Add -fno-ident (per deanm).
Review URL: http://codereview.chromium.org/62153
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13368 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-08 18:29:53 +00:00
sgk@google.com
e35046cc9c
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: http://src.chromium.org/svn/trunk/src/build@13345 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-08 12:55:49 +00:00
sgk@google.com
8534a5e0ac
Add 'variants' support on Linux for COVERAGE=, PROFILE= and SYMBOLS=.
...
Review URL: http://codereview.chromium.org/62006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13115 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-03 21:32:04 +00:00
jrg@chromium.org
bd17df1328
Start of code coverage for Mac.
...
Only base_unittests included for now. Linux changes added as well but
untested until Linux switches to gyp.
Enable coverage with the following command:
src/tools/gyp/gyp_dogfood -Dcoverage=1 src/build/all.gyp
Review URL: http://codereview.chromium.org/56136
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13068 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-03 04:35:18 +00:00
sgk@google.com
f5f2e0005c
Separate the pkg-config --libs output into --libs-only-l for
...
'libraries' and --libs-{other,only-L} for 'ldflags'.
Updates one spot in common.gypi where we were using 'linkflags'.
Review URL: http://codereview.chromium.org/56188
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13067 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-03 04:07:38 +00:00
sgk@google.com
195bf4d60a
Use -Wl,-{start,end}-group for LoadableModules, too.
...
Review URL: http://codereview.chromium.org/56180
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13013 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-02 16:20:31 +00:00
sgk@google.com
e8e738e5c5
Add per-configuration flags that were previously being set by the
...
Hammer infrastructure.
Review URL: http://codereview.chromium.org/56179
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13012 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-02 15:34:09 +00:00
sgk@google.com
e35d80932e
DEPS roll to get latest gyp rev.
...
Also, Windows update to common.gypi to accommodate msvs.py
change in gyp r405.
Review URL: http://codereview.chromium.org/57026
git-svn-id: http://src.chromium.org/svn/trunk/src/build@12830 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-31 01:12:14 +00:00
sgk@google.com
a06dbbafff
Build in a ../sconsbuild directory by default:
...
* Deps roll for ../sconsbuild support in gyp.
* Add a 'scons_settings': { 'sconsbuild_dir' } setting to common.gypi.
* Change uses of $DESTINATION_ROOT to $TOP_BUILDDIR.
Review URL: http://codereview.chromium.org/53133
git-svn-id: http://src.chromium.org/svn/trunk/src/build@12636 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-27 04:27:01 +00:00
sgk@google.com
8d3013c4ab
Update Linux gyp build to import and propagate external environment
...
variables ($CC, $DISTCC_DIR, $HOME, etc.).
Accomodate spelling change ($CHROME_SRC_DIR => $SRC_DIR) that
makes the gyp SCons a little more generic.
Use the new $LIB_DIR variable the gyp SCons generator now defines for us.
Review URL: http://codereview.chromium.org/42650
git-svn-id: http://src.chromium.org/svn/trunk/src/build@12583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-26 18:58:10 +00:00
thomasvl@chromium.org
357d391819
loadable_modules are just like shared libs for code generation.
...
Review URL: http://codereview.chromium.org/45038
git-svn-id: http://src.chromium.org/svn/trunk/src/build@12392 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-24 20:38:33 +00:00
sgk@google.com
298d8d0687
Fix a typo in the shared library link line arguments.
...
Review URL: http://codereview.chromium.org/51006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@12337 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-24 02:40:14 +00:00
sgk@google.com
bc2e6508b6
Update the gyp Linux build:
...
* 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: http://src.chromium.org/svn/trunk/src/build@12228 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-20 23:13:26 +00:00
thomasvl@chromium.org
94a8673823
Make the ObjC linker flag more generic so it only cares if we're building a
...
bundle (catches frameworks and app and anything else added in the future).
Review URL: http://codereview.chromium.org/50053
git-svn-id: http://src.chromium.org/svn/trunk/src/build@12196 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-20 17:55:26 +00:00
thomasvl@chromium.org
91d6d7fe89
Chromium side of http://codereview.chromium.org/42394
...
- Remove the use of the mac specific type 'application' and use 'executable'
with 'mac_bundle' set to 1.
- update common.gypi to default mac_bundle to zero.
- update common.gypi to look at mac_bundle for some of the base behaviors that
were on 'application'.
- Roll DEPS to get the new version of gyp w/ the matching support.
Review URL: http://codereview.chromium.org/50015
git-svn-id: http://src.chromium.org/svn/trunk/src/build@12136 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-19 19:26:42 +00:00
mark@chromium.org
b1a8106c28
Allow Mac precompiled headers to be disabled based on a GYP variable.
...
Review URL: http://codereview.chromium.org/42133
git-svn-id: http://src.chromium.org/svn/trunk/src/build@11557 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-12 19:09:24 +00:00
jrg@chromium.org
6c6a8a498f
Branding of Chrome.app.
...
To brand, do a "src/tools/gyp/gyp_dogfood -Dbranding=Chrome src/build/all.gyp"
(Then build, of course.)
Review URL: http://codereview.chromium.org/40066
git-svn-id: http://src.chromium.org/svn/trunk/src/build@10920 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-04 21:36:39 +00:00
mark@chromium.org
8d80412539
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: http://src.chromium.org/svn/trunk/src/build@10693 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-02 00:16:16 +00:00
mark@chromium.org
54e9134c6f
Link applications with -Wl,-ObjC to keep Objective-C implementations available
...
Review URL: http://codereview.chromium.org/28289
git-svn-id: http://src.chromium.org/svn/trunk/src/build@10662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-02-28 00:50:08 +00:00
mark@chromium.org
cbda795c0d
Import .gyp files into the Chromium tree
...
Review URL: http://codereview.chromium.org/27158
git-svn-id: http://src.chromium.org/svn/trunk/src/build@10380 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-02-25 21:26:55 +00:00