Граф коммитов

667 Коммитов

Автор SHA1 Сообщение Дата
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