summaryrefslogtreecommitdiffstats
path: root/build/gyp_chromium
Commit message (Collapse)AuthorAgeFilesLines
* Enable the packed_resources target on Windows.tony@chromium.org2011-08-161-1/+2
| | | | | | | | | | | | | | | | | | | This target generates the locale .pak files on Windows. Since nothing depends on this target, it doesn't build by default (they're not used yet). Specific changes: - Have locale_settings_win.grd generate .pak files. - Use pymod_do_main to avoid some shell escaping problems (and it's a bit faster). - Rewrite repack_locales.py to work with pymod_do_main. BUG=92724 Review URL: http://codereview.chromium.org/7648001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97012 0039d316-1c4b-4281-b951-d872f2087c98
* Remove features_override.gypi. Currently, it matches the valuestony@chromium.org2011-06-101-2/+1
| | | | | | | | in the upstream features.gypi. Review URL: http://codereview.chromium.org/7104114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88721 0039d316-1c4b-4281-b951-d872f2087c98
* Invoke grit_info as a python module.thakis@chromium.org2011-05-281-0/+4
| | | | | | | | | | | | This speeds up build/gyp_chromium by 7s on my system (for a total of 10s with the other grit_info changes I landed earlier). BUG=82230 TEST=none Review URL: http://codereview.chromium.org/7035004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87140 0039d316-1c4b-4281-b951-d872f2087c98
* Set chrome_dir as an absolute path. This makes the path to the hermetic ↵pam@chromium.org2011-04-191-1/+1
| | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@82088 0039d316-1c4b-4281-b951-d872f2087c98
* OpenBSD: compatibility fixes for the build system.phajdan.jr@chromium.org2011-04-141-1/+1
| | | | | | | | | | | | | - 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: svn://svn.chromium.org/chrome/trunk/src@81550 0039d316-1c4b-4281-b951-d872f2087c98
* Add use of the Psyco JIT compiler to GYP on Windows. On my z600 with 12 GB ↵joi@chromium.org2011-03-301-1/+25
| | | | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@79871 0039d316-1c4b-4281-b951-d872f2087c98
* Causing gyp_chromium to fall back on win32 hermetic python if it isbradnelson@google.com2011-02-231-0/+14
| | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@75695 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for a chromium.gyp_env at the top of the tree (peer of src) so youthomasvl@chromium.org2010-11-081-0/+32
| | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@65408 0039d316-1c4b-4281-b951-d872f2087c98
* gyp_chromium: put our path in the front of sys.pathevan@chromium.org2010-07-121-1/+1
| | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@52135 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ChromiumOS build (it still has circular dependencies).tony@chromium.org2010-05-241-1/+3
| | | | | | | | TBR=mark Review URL: http://codereview.chromium.org/2107018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48008 0039d316-1c4b-4281-b951-d872f2087c98
* Break gyp cycles on Linux.tony@chromium.org2010-05-241-1/+1
| | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@48007 0039d316-1c4b-4281-b951-d872f2087c98
* In build/gyp_chromium, if CHROMIUM_GYP_SYNTAX_CHECK is set to 1, run gyp ↵rsesek@chromium.org2010-03-261-0/+6
| | | | | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@42788 0039d316-1c4b-4281-b951-d872f2087c98
* Circular relationships between .gyp files should be errors. Make them errors,mark@chromium.org2010-02-161-0/+10
| | | | | | | | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@39128 0039d316-1c4b-4281-b951-d872f2087c98
* gyp_chromium automatically includes features_override.gypiyaar@chromium.org2009-10-051-1/+2
| | | | | | | | Other projects that use gyp_chromium directly depend on that. Review URL: http://codereview.chromium.org/255078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28035 0039d316-1c4b-4281-b951-d872f2087c98
* Create a separate function that returns the list of additionalsgk@google.com2009-09-231-20/+30
| | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@26901 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid gyp_chromium duplicating an include that's already in the command line.mattm@chromium.org2009-09-161-9/+31
| | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@26415 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor gyp_chromium so you don't have to execute it from the src/.. directory.sgk@google.com2009-09-161-16/+16
| | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@26408 0039d316-1c4b-4281-b951-d872f2087c98
* Make follow-up changes per r26302 review comments that were apparently not mademark@chromium.org2009-09-161-8/+17
| | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@26378 0039d316-1c4b-4281-b951-d872f2087c98
* Force inclusion of build/common.gypi for all chromium gyp files.yaar@chromium.org2009-09-151-0/+37
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: svn://svn.chromium.org/chrome/trunk/src@26302 0039d316-1c4b-4281-b951-d872f2087c98