thomasvl@chromium.org
de8ea8aaed
Added a script to remove headers from the target.
...
Added a default in common.gypi to remove headers from all mac applications that are bundles.
Added a var to control the inclusion of keystone to chrome.gyp defaulted on branding and then honor it for the shipping work.
Review URL: http://codereview.chromium.org/113652
git-svn-id: http://src.chromium.org/svn/trunk/src/build@16510 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-20 19:44:42 +00:00
tc@google.com
cbeac997d9
Only enable the sse2 flags when building Chromium
...
BUG=9007
Review URL: http://codereview.chromium.org/113487
git-svn-id: http://src.chromium.org/svn/trunk/src/build@16506 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-20 19:21:39 +00:00
sky@chromium.org
36a4de45da
Changes common.gypi to not wrap number with quotes because of recent
...
gyp change.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/113431
git-svn-id: http://src.chromium.org/svn/trunk/src/build@16143 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-15 03:05:20 +00:00
sky@chromium.org
35ad3802df
Adds gyp switch that turns on views on Linux. This currently doesn't
...
do anything else, but it will eventually.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/113304
git-svn-id: http://src.chromium.org/svn/trunk/src/build@15917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-12 23:51:17 +00:00
bradnelson@chromium.org
69195be595
Pulling in new gyp version with product_name support on windows.
...
Dropping setting that conflicts with this in common.gpyi
Review URL: http://codereview.chromium.org/112019
git-svn-id: http://src.chromium.org/svn/trunk/src/build@15907 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-12 21:58:48 +00:00
dglazkov@chromium.org
c50b17e6ed
Fix VS2008 build by adding a warning ignore.
...
R=maruel
BUG=2528
TEST=Building with VS2008 should succeed.
Review URL: http://codereview.chromium.org/113270
git-svn-id: http://src.chromium.org/svn/trunk/src/build@15859 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-12 16:37:55 +00:00
deanm@chromium.org
d60a1c04f3
Do not define __ARMEL__ on ARM, this is the compilers job.
...
Review URL: http://codereview.chromium.org/115182
git-svn-id: http://src.chromium.org/svn/trunk/src/build@15751 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-11 14:40:20 +00:00
mmoss@chromium.org
fdfffe3738
Propagate official build variables from buildbot compile.py.
...
Review URL: http://codereview.chromium.org/115142
git-svn-id: http://src.chromium.org/svn/trunk/src/build@15690 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-08 22:35:32 +00:00
sgk@google.com
1141e6a675
Add a variable and settings for -Dtarget_arch=ARM (per Ryan Cairns).
...
Review URL: http://codereview.chromium.org/115044
git-svn-id: http://src.chromium.org/svn/trunk/src/build@15467 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-06 22:38:23 +00:00
thestig@chromium.org
e7d7482922
Add AS to scons_import_variables and scons_propagate_variables.
...
Review URL: http://codereview.chromium.org/99292
git-svn-id: http://src.chromium.org/svn/trunk/src/build@15086 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-01 20:32:49 +00:00
jrg@chromium.org
27208aac3d
Code coverage improvements.
...
Code coverage now works for Linux. Unit tests to run passed from
project to coverage_posix.py so deps are correct.
Review URL: http://codereview.chromium.org/100189
git-svn-id: http://src.chromium.org/svn/trunk/src/build@15016 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-30 23:19:00 +00:00
tc@google.com
4a74977095
Take 3 at turning on -Werror. This passed the last run on the
...
buildbots, except for the valgrind bots which use -O1. For now,
just disable -Werror on the bots with an override.
Review URL: http://codereview.chromium.org/100087
git-svn-id: http://src.chromium.org/svn/trunk/src/build@14695 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-28 00:43:27 +00:00
tc@google.com
8b5e5cf85f
Revert "Take 2 at turning on -Werror. I think this will work on gcc 4.2,"
...
This reverts commit r14655.
Review URL: http://codereview.chromium.org/100072
git-svn-id: http://src.chromium.org/svn/trunk/src/build@14666 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-27 21:33:20 +00:00
tc@google.com
58ac5ec36c
Take 2 at turning on -Werror. I think this will work on gcc 4.2,
...
4.3, and 4.4. I'll watch the bots closely.
Review URL: http://codereview.chromium.org/100066
git-svn-id: http://src.chromium.org/svn/trunk/src/build@14655 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-27 21:05:12 +00:00
sky@chromium.org
ec40cffdfb
More linux ifdef tweaks. This reverts my earlier change (13503).
...
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/100046
git-svn-id: http://src.chromium.org/svn/trunk/src/build@14628 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-27 18:17:24 +00:00
tc@google.com
d4f1bb00b8
Revert "Turn on -Werror on linux. Passes on my ghardy box. We'll see"
...
This reverts commit r14387.
Not sure why it fails on the bots. Will fix and try again.
TBR=evan
Review URL: http://codereview.chromium.org/93103
git-svn-id: http://src.chromium.org/svn/trunk/src/build@14395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-24 00:23:01 +00:00
ajwong@chromium.org
32509b8e86
Print backtraces on FATAL log messages in debug mode.
...
This provides basic support for looking up backtrace information on GNU libc systems and in Windows. The code is only enabled for FATAL log messages in debug mode. In a release build, it is unlikely that symbols will be available making the backtrace less useful.
Review URL: http://codereview.chromium.org/62140
git-svn-id: http://src.chromium.org/svn/trunk/src/build@14391 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-24 00:13:08 +00:00
tc@google.com
50015f0666
Turn on -Werror on linux. Passes on my ghardy box. We'll see
...
if the new fedora 11 (gcc 4.4) or new jaunty (gcc 4.3) builders
fail.
Review URL: http://codereview.chromium.org/92092
git-svn-id: http://src.chromium.org/svn/trunk/src/build@14387 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-24 00:03:37 +00:00
sgk@google.com
7bec2bcbc2
Add -DCHROME_V8 to the chrome/browser build.
...
Add a 'javascript_engine' variable to control that setting
(as well as whether we use v8.gyp at all).
Review URL: http://codereview.chromium.org/88070
git-svn-id: http://src.chromium.org/svn/trunk/src/build@14171 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-22 01:16:42 +00:00
sgk@google.com
157f6417b4
Build on Linux with shared libraries (significant chunks courtesy craigsch):
...
* Set $RPATH to $LIB_DIR in the SCons configuration.
* Add missing dependencies:
* net/net.gyp:net
=> testing/gtest.gyp:gtest
* third_party/libxml/libxml.gyp:xmlcatalog
=> third_party/icu38/icu38.gyp:icuuc
* chrome/chrome.gyp:perf_tests
=> renderer
=> views
=> webkit/webkit.gyp:glue
* Add files:
* third_party/WebKit/WebCore/loader/icon/IconRecord.cpp
* third_party/WebKit/WebCore/page/Coordinates.cpp
* skia/sgl/SkUnPreMultiply.cpp
* Exclude on Linux:
* chrome/views/controls/scroll_view.cc
* chrome/views/focus/external_focus_tracker.cc
* media/filter/ffmpeg_demuxer.{cc,h}
* Remove files:
* third_party/WebKit/WebCore/Configurations/Version.xcconfig
* Sort the chrome.gyp:views linux exclusion list.
* DEPS roll for $SHLINKFLAGS settings in gyp.
Review URL: http://codereview.chromium.org/88058
git-svn-id: http://src.chromium.org/svn/trunk/src/build@14166 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-22 00:20:29 +00:00
sgk@google.com
f1811fc0d4
Put $_LIBDIRFLAGS before ${LINK,SHLINK,LDMODULE}FLAGS so we prefer
...
our own libs (libpng.a, libz.a, etc.) to system ones.
Review URL: http://codereview.chromium.org/90006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@14059 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-20 21:36:41 +00:00
dkegel@google.com
e340807a53
Add a new option, debug_optimize, that lets you set the
...
optimization level used for debug builds on linux.
They still default to -O0, but you can set them to -O1 by
doing 'gyp -Ddebug_optimize=1'.
This cuts valgrind runtime without screwing up stack dumps too badly.
On the buildbot, the easiest way to use this is to
create the file ~/.gyp/include.gypi by hand, containing the lines
# Override for valgrind buildbot
{
'variables': {
'debug_optimize': '1',
},
}
From then on, any "gclient sync" run, when it runs gyp after finishing,
will cause debug builds to use -O1. This is a bit obscure, but
it's a heck of a lot easier than threading some flag value
through the buildbot scripts or adding a new build mode.
Review URL: http://codereview.chromium.org/67199
git-svn-id: http://src.chromium.org/svn/trunk/src/build@14046 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-20 19:11:31 +00:00
awalker@google.com
e4f9897bf0
Reverting 13839,13838.
...
Review URL: http://codereview.chromium.org/67220
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13840 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-16 15:30:46 +00:00
pinkerton@chromium.org
5171943ceb
Allow unit_tests (and other non-bundle executables) to rely on objectiveC that's
...
not directly referenced (such as only in a nib file). Add test for tab
controller.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@13838 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-16 14:42:13 +00:00
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