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

16 Коммитов

Автор SHA1 Сообщение Дата
pam@chromium.org 91dd42223f Set chrome_dir as an absolute path. This makes the path to the hermetic Python still valid when running subprocesses in a different working directory (cwd). For example, gyp\input.py does this when expanding variables.
BUG=79166
TEST='gclient runhooks' succeeds under cygwin with no Python installed in depot_tools
Review URL: http://codereview.chromium.org/6823078

git-svn-id: http://src.chromium.org/svn/trunk/src/build@82088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-04-19 09:33:24 +00:00
phajdan.jr@chromium.org fa0c695188 OpenBSD: compatibility fixes for the build system.
- switch from /bin/bash to /bin/sh (bash is not a part of base system
  on OpenBSD)
- switch from /usr/bin/python to /usr/bin/env python (python is not a part
  of base system on OpenBSD)

BUG=none

Review URL: http://codereview.chromium.org/6845002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@81550 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-04-14 08:38:55 +00:00
joi@chromium.org 8c4f28a363 Add use of the Psyco JIT compiler to GYP on Windows. On my z600 with 12 GB of RAM, this shortens the time taken for a warm run of build/chromium_gyp from approximately 90 seconds down to approximately 70 seconds. On the other hand, it increases maximum memory usage for the GYP process from ~132 MB to ~158 MB on the same test system.
At the moment it is unknown whether using Psyco on Mac and Linux would pay off; follow-up changes may address this if it is.

BUG=none
TEST=things build correctly

Review URL: http://codereview.chromium.org/6778017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@79871 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-03-30 18:52:23 +00:00
bradnelson@google.com 9462139311 Causing gyp_chromium to fall back on win32 hermetic python if it is
ever run with cygwin python.

BUG=http://code.google.com/p/gyp/issues/detail?id=178
TEST=None

Review URL: http://codereview.chromium.org/6538104

git-svn-id: http://src.chromium.org/svn/trunk/src/build@75695 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-23 02:00:06 +00:00
thomasvl@chromium.org 825cda0e76 Add support for a chromium.gyp_env at the top of the tree (peer of src) so you
don't have to set a bunch of independent variables and can instead set
  things in a group per tree.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4705001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@65408 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-08 20:09:23 +00:00
evan@chromium.org 0a078d4a6e gyp_chromium: put our path in the front of sys.path
This way we use our version of gyp rather than the system's copy(!),
when the latter is available.

Review URL: http://codereview.chromium.org/2931010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@52135 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-07-12 21:56:56 +00:00
tony@chromium.org 655da684b2 Fix ChromiumOS build (it still has circular dependencies).
TBR=mark

Review URL: http://codereview.chromium.org/2107018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@48008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-24 00:48:16 +00:00
tony@chromium.org dab91390db Break gyp cycles on Linux.
The cycle is between installer.gyp and chrome.gyp.  The fix is to switch installer.gyp into installer.gypi and include it into chrome.gyp

BUG=35308

Review URL: http://codereview.chromium.org/2067018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@48007 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-24 00:35:46 +00:00
rsesek@chromium.org 63cd076778 In build/gyp_chromium, if CHROMIUM_GYP_SYNTAX_CHECK is set to 1, run gyp with --check.
This is to eventually run gyp with syntax checking enabled on the buildbots.
Enabling that will come in a later CL after all gyp errors are fixed.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/1435001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@42788 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-26 18:40:49 +00:00
mark@chromium.org b3400c94ed Circular relationships between .gyp files should be errors. Make them errors,
but currently only on the Mac.

These relationships should be errors on all platforms, but some currently
exist on non-Mac platforms.  See http://crbug.com/35878.  Because the Mac is
the only platform where a circular dependency between .gyp files is known to
cause tangible problems, the portions of Chromium's .gyp files that are used
by Macs have been fixed to remove these relationships, and the check is left
enabled on the Mac to ensure that no new ones are created.

BUG=35308
TEST=none
Review URL: http://codereview.chromium.org/600151

git-svn-id: http://src.chromium.org/svn/trunk/src/build@39128 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-16 20:14:26 +00:00
yaar@chromium.org ac49c578a1 gyp_chromium automatically includes features_override.gypi
Other projects that use gyp_chromium directly depend on that.

Review URL: http://codereview.chromium.org/255078

git-svn-id: http://src.chromium.org/svn/trunk/src/build@28035 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-05 20:48:38 +00:00
sgk@google.com 849c008d9d Create a separate function that returns the list of additional
files to be included in the build (common.gypi and */supplement.gypi).
BUG=none
TEST=successful "gclient runhooks"
Review URL: http://codereview.chromium.org/214058

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26901 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-23 03:49:50 +00:00
mattm@chromium.org 5ba0f23123 Avoid gyp_chromium duplicating an include that's already in the command line.
Fixes automatic makefile regeneration from duplicating gcc flags and causing a full rebuild each time.

BUG=none
TEST=make && touch chrome/chrome.gyp && make

Review URL: http://codereview.chromium.org/207004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26415 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-16 23:16:05 +00:00
sgk@google.com eb43828260 Refactor gyp_chromium so you don't have to execute it from the src/.. directory.
BUG=none
TEST='python src/build/gyp_chromium; cd src; python build/gyp_chromium; cd build; python gyp_chromium'
Review URL: http://codereview.chromium.org/195107

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26408 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-16 22:37:47 +00:00
mark@chromium.org 727acf7f42 Make follow-up changes per r26302 review comments that were apparently not made
in r26302.  Set Subversion properties, fix the O3D GYP invocation to work
properly, fix presubmit warnings, and do some additional cleanup.
Review URL: http://codereview.chromium.org/200144

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-16 19:44:02 +00:00
yaar@chromium.org 348eca2172 Force inclusion of build/common.gypi for all chromium gyp files.
Why: Simpler build code. If everybody includes it, it should be included automatically.
Why now: The webkit chromium builds need it be specified, since can't default to build/common.gypi.

What was done:
1. build/common.gypi's contents were moved to a new file build/gyp_chromium.gypi
2. tools/gyp/gyp_chromium was moved to build/gyp_chromium and made to automatically include build/gyp_chromium.gypi.
3. lots of gyp files were fixed to not refer to build/common.gypi any more.
4. o3d which also builds independently of chrome, was fixed to have a gyp_o3d that includes gyp_chromium.gypi too.
5. build/common.gypi was left empty, because there are some external projects that still refer to it.

Things that are left to do after this patch is in:
1. The following external files (in other repositories) need to stop include common.gypi
  ./third_party/hunspell/hunspell.gyp
  ./third_party/icu/icu.gyp
  ./v8/tools/gyp/v8.gyp
2. Once nobody refers to common.gypi anymore, delete common.gypi
   -or-
   Delete gyp_chromium.gypi and move its content back to common.gypi

Tested on mac, win and linux. On win, got a few unit tests errors on chrome bookmarks, which should not be related. I'm running again with clobber to verify.

Review URL: http://codereview.chromium.org/206006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26302 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-15 23:52:14 +00:00