summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
Commit message (Collapse)AuthorAgeFilesLines
* Adding a GYP variable to indicate if a build wants Title Case strings or not.thomasvl@chromium.org2009-09-221-7/+19
| | | | | | | | | | | | | Default to Title Case strings for Mac and Linux/GTK. Pass an extra define to the invoke of grit for TitleCase strings. Test the define for grit Title Case strings and have two sets of strings where needed. DEPs roll to pick up a new GYP that will keep int values as ints. BUG=22253 TEST=The bookmark bar menus on Mac and linux gtk will be Title Case, in Windows and ChromeOS they will be Sentence case. NOTE: we'll the translations in the Title Case areas until new translations are entered. Review URL: http://codereview.chromium.org/210022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26803 0039d316-1c4b-4281-b951-d872f2087c98
* No-op .gypi change to force GYP to run via the DEPS hook. This should getmark@chromium.org2009-09-191-3/+9
| | | | | | | | the straggler bots back to green. They must have missed a GYP run while gclient was broken earlier. Review URL: http://codereview.chromium.org/211037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26639 0039d316-1c4b-4281-b951-d872f2087c98
* Update ffmpeg binaries directories to support variants based off the target ↵ajwong@chromium.org2009-09-181-3/+4
| | | | | | | | | | | architecture. BUG=20948 TEST=none Review URL: http://codereview.chromium.org/215016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26630 0039d316-1c4b-4281-b951-d872f2087c98
* Re-applying build/common.gypi patch from http://codereview.chromium.org/195078timurrrr@chromium.org2009-09-181-0/+4
| | | | | | | | | | The previous patch was reverted until buildbot master was restarted. After the restart, GYP_DEFINES contains "release_valgrind_build=1" http://build.chromium.org/buildbot/waterfall/builders/Chromium Linux Builder (valgrind)/builds/2/steps/gclient/logs/stdio Review URL: http://codereview.chromium.org/196140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26564 0039d316-1c4b-4281-b951-d872f2087c98
* Add all locales to the appropriate generated file lists in .gyp files.thestig@chromium.org2009-09-171-0/+11
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/208002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26494 0039d316-1c4b-4281-b951-d872f2087c98
* Use MAC_OS_X_DEPLOYMENT_TARGET instead of rolling our own macro.mark@chromium.org2009-09-161-21/+21
| | | | | | | Allow the deployment target and SDK to be overridden by GYP variables. Review URL: http://codereview.chromium.org/193128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26360 0039d316-1c4b-4281-b951-d872f2087c98
* Force inclusion of build/common.gypi for all chromium gyp files.yaar@chromium.org2009-09-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Changes needed for MacOS X 10.4 support.maf@google.com2009-09-151-1/+21
| | | | | | | | Add "support_macosx_10_4" option to common.gypi that causes it to change deployment target, and define a new preprocessor symbol on the Mac build. Setting this flag to true is harmless on non Mac builds and has no effect. Make various changes to source files where they modify their behavior in the presence of the new preprocessor symbol to become 10.4 compatible. Review URL: http://codereview.chromium.org/201122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26285 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add support for SELinux.agl@chromium.org2009-09-151-0/+6
| | | | | | | | | | | | | | | | | | This patch adds support for a selinux GYP variable which, when set to one, does the following: * Removes the seccomp sandbox from the compile * Removes support for SUID sandboxing from the zygote * Performs a dynamic transition, in the zygote, to chromium_renderer_t. This code requires that the system policy have a sensible set of access vectors for the chromium_renderer_t type. Such a policy will be found in sandbox/selinux in the future. http://codereview.chromium.org/203071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26257 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Added NVALGRIND define [on by default]. Can be turned off on ↵agl@chromium.org2009-09-151-4/+0
| | | | | | | | | | | valgrind slaves by using valgrind_build=1" This reverts commit 26241. (Testing to see if it greens the Linux Valgrind builder.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26251 0039d316-1c4b-4281-b951-d872f2087c98
* Added NVALGRIND define [on by default]. Can be turned off on valgrind slaves ↵timurrrr@chromium.org2009-09-151-0/+4
| | | | | | | | by using valgrind_build=1 Review URL: http://codereview.chromium.org/195078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26241 0039d316-1c4b-4281-b951-d872f2087c98
* Adding reference to experimental browser distribution files.robertshield@chromium.org2009-09-111-7/+7
| | | | | | Review URL: http://codereview.chromium.org/192076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26036 0039d316-1c4b-4281-b951-d872f2087c98
* There was already release_extra_cflags for linux;dkegel@google.com2009-09-111-3/+15
| | | | | | | | | | | | | | this just generalizes it to debug_ and to mac. Required a litle rearranging. Tested by comparing xcode and make files before and after change. Ignores those settings when generating Visual C++ projects, but since the goal was to let valgrind bots tweak optimization settings, that's ok for now. Review URL: http://codereview.chromium.org/202054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25997 0039d316-1c4b-4281-b951-d872f2087c98
* Adding the option to drop in a new BrowserDistribution instance for ↵robertshield@chromium.org2009-09-111-0/+6
| | | | | | | | experimentation. Review URL: http://codereview.chromium.org/202049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25950 0039d316-1c4b-4281-b951-d872f2087c98
* linux: improve support for cross-compilingpiman@chromium.org2009-09-041-1/+12
| | | | | | | | | | | This CL adds support for a 'sysroot' GYP define, that should point to the target root filesystem for cross-compilation. It passes that argument to the compiler and linker which uses it to prefix its hard-coded path (e.g. /usr/include) It also points pkg-config to look for package configs there, and rewrite the paths to be prefixed by 'sysroot' (since pkg-config doesn't do it itself) Review URL: http://codereview.chromium.org/199016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25418 0039d316-1c4b-4281-b951-d872f2087c98
* Parameterize the Google Update appid at build time instead of hard coding it ↵robertshield@chromium.org2009-09-011-1/+4
| | | | | | | | in the source. Review URL: http://codereview.chromium.org/178011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25072 0039d316-1c4b-4281-b951-d872f2087c98
* Clean out leftover bits of the path-based Linux SUID sandbox.thestig@chromium.org2009-09-011-14/+0
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/181030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25019 0039d316-1c4b-4281-b951-d872f2087c98
* Allow overriding debug optimization level on mac.dank@chromium.org2009-08-281-2/+3
| | | | | | Review URL: http://codereview.chromium.org/178026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24834 0039d316-1c4b-4281-b951-d872f2087c98
* Submitted for bmcquade:bradnelson@google.com2009-08-261-1/+1
| | | | | | | | | | | | | | | | See review 17374 Description: Fix include path in common.gypi to be relative to DEPTH, like all other include paths in common.gypi. BUG=19965 TEST=None Review URL: http://codereview.chromium.org/173504 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24524 0039d316-1c4b-4281-b951-d872f2087c98
* Build for Mac in the Release configuration at -O3mark@chromium.org2009-08-261-1/+1
| | | | | | | | | | | | This is an experiment to get a few test cycles in so that we can measure the impact and evaluate it against the .app/.dmg size increase that it will cause. The size increase relative to -O2 is 1900kB (6%) .app and 800kB (5%) .dmg. BUG=16713 TEST=Watch perf Review URL: http://codereview.chromium.org/173505 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24511 0039d316-1c4b-4281-b951-d872f2087c98
* Moving configuration platform to always be present, as that is requiredbradnelson@chromium.org2009-08-261-3/+3
| | | | | | | | | | | | in order for each configuration to get fully populated in configuration manager. BUG=None TEST=None Review URL: http://codereview.chromium.org/174483 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24436 0039d316-1c4b-4281-b951-d872f2087c98
* Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS ↵thestig@chromium.org2009-08-261-8/+20
| | | | | | | | | | | | | support. (Try 2) TEST=none BUG=19663 Original Review URL: http://codereview.chromium.org/173095 Review URL: http://codereview.chromium.org/173397 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24378 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 24220.yutak@chromium.org2009-08-251-20/+8
| | | | | | | | | | It seemed that r24220 caused failures on all of Linux UI (valgrind) bots. TBR=thestig@chromium.org Review URL: http://codereview.chromium.org/173345 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24228 0039d316-1c4b-4281-b951-d872f2087c98
* Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS ↵thestig@chromium.org2009-08-251-8/+20
| | | | | | | | | | support. TEST=none BUG=19663 Review URL: http://codereview.chromium.org/173095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24220 0039d316-1c4b-4281-b951-d872f2087c98
* Build for Mac in the Release configuration at -O2mark@chromium.org2009-08-201-18/+11
| | | | | | | | | | | BUG=16713 TEST=Watch perf. Startup time should be flat or possibly lose a very small amount (~1%). Everything else should be a little bit faster. Watch sizes. The .app and .dmg will grow, but I've cut their sizes way down lately, and I'd like to cash in some of those gains for speed. Review URL: http://codereview.chromium.org/174160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23882 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly set {Output,Intermediate}Directory on all configurations,sgk@google.com2009-08-191-0/+15
| | | | | | | | | | so that all .gyp files use the same output locations regardless of whether they're still using the old checked-in release.vsprops file. BUG=none TEST=successful build of the Purify configuration Review URL: http://codereview.chromium.org/172077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23698 0039d316-1c4b-4281-b951-d872f2087c98
* Try what I tried in r23343 againmunjal@chromium.org2009-08-151-17/+0
| | | | | | | | | | Sync gyp stuff moved from common.gypi to chrome.gyp. TEST=none BUG=none Review URL: http://codereview.chromium.org/169018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23517 0039d316-1c4b-4281-b951-d872f2087c98
* revert unintended changedarin@chromium.org2009-08-141-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23443 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WebFrame::selectAll and WebFrame::clearSelection in favor of havingdarin@chromium.org2009-08-141-1/+1
| | | | | | | | | | | | | consumers use executeCommand. Patch by Marshall Greenblatt R=darin BUG=19270 TEST=covered by unit tests git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23442 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add GYP flag for -fno-strict-aliasing.agl@chromium.org2009-08-141-0/+6
| | | | | | | | | | | We're still figuring out what to do about strict aliasing and V8. In the mean time, V8 (and other parts of the code) are unbuildable with GCC 4.4 and strict aliasing. Adding this flag at the request of fta. http://codereview.chromium.org/164538 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23421 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 23343.sidchat@google.com2009-08-131-0/+17
| | | | | | Review URL: http://codereview.chromium.org/164525 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23372 0039d316-1c4b-4281-b951-d872f2087c98
* Move the sync related GYP variables and conditions to chrome.gyp frommunjal@chromium.org2009-08-131-17/+0
| | | | | | | | | | | common.gypi TEST=none BUG=none Review URL: http://codereview.chromium.org/164445 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23343 0039d316-1c4b-4281-b951-d872f2087c98
* Use -fno-threadsafe-statics to disable thread-safe static semantics in C++.mark@chromium.org2009-08-131-18/+20
| | | | | | | | | | | | | | This will eliminate the cxa_guard_acquire/release locks around static guard accesses. The Windows compiler doesn't support thread-safe statics at all, so none of our cross-platform code relies on thread safety. We are using -fno-threadsafe-statics on Linux as well, since r20616. It's likely that threading is not a concern in most to all Mac-specific code using statics. BUG=16713 TEST=none Review URL: http://codereview.chromium.org/165461 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23326 0039d316-1c4b-4281-b951-d872f2087c98
* Disable RTTI and C++ exceptions in the Mac build. Disable RTTI in the Linuxmark@chromium.org2009-08-131-5/+8
| | | | | | | | | | | | build, where C++ exceptions are already disabled. BUG=19094 12248 TEST=Mac release-mode Google Chrome.app should shrink by about 6MB. Mac disk image should shrink by about 1.5MB. Linux binary and package should shrink too. Review URL: http://codereview.chromium.org/165330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23304 0039d316-1c4b-4281-b951-d872f2087c98
* Build browser/sync files by default using a stubbed-out syncapitim@chromium.org2009-08-111-3/+15
| | | | | | | | | implementation. The stub will be replaced once the rest of sync/engine lands as we open source the sync engine code. Review URL: http://codereview.chromium.org/165257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23004 0039d316-1c4b-4281-b951-d872f2087c98
* Target Cortex A8 for the ARM ChromeOS build of Chrome.piman@chromium.org2009-08-101-0/+12
| | | | | | | Review URL: http://codereview.chromium.org/164208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22934 0039d316-1c4b-4281-b951-d872f2087c98
* Add a 'tools' list to 'scons_settings' so we'll still get thesgk@google.com2009-08-101-0/+1
| | | | | | | | | | necessary 'chromium_builders' module when GYP gets updated to use a more generic default. BUG=none TEST=none Review URL: http://codereview.chromium.org/164216 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22892 0039d316-1c4b-4281-b951-d872f2087c98
* Turning on incremental linking for 64-bit machines.bradnelson@chromium.org2009-08-071-1/+7
| | | | | | | | | BUG=18646 TEST=None Review URL: http://codereview.chromium.org/165140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22790 0039d316-1c4b-4281-b951-d872f2087c98
* Define _FILE_OFFSET_BITS=64 in order to support large files (>2GB).thestig@chromium.org2009-08-061-0/+1
| | | | | | | | | | | | | | | | | | _FILE_OFFSET_BITS=64 is incompatible with fts (issue 17492), so file_util::Delete, file_util::CopyDirectory file_util::FileEnumerator are reimplemented without fts. Delete and CopyDirectory are now implemented using FileEnumerator. Patch from vandebo@google.com, original review: http://codereview.chromium.org/160479 BUG=13718,17492 TEST=none Review URL: http://codereview.chromium.org/165085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22670 0039d316-1c4b-4281-b951-d872f2087c98
* Move the entire application into a dylib (framework)mark@chromium.org2009-08-051-24/+71
| | | | | | Review URL: http://codereview.chromium.org/160538 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22506 0039d316-1c4b-4281-b951-d872f2087c98
* Adding two new windows configuration types:bradnelson@chromium.org2009-08-041-0/+46
| | | | | | | | | | | | | | | | | Purify Release - no tcmalloc This is done more pedantically than I'd like, so I've left in some TODOs. Eventually either gyp needs to support some notion of inheritance in configurations, or maybe we can make clever use of includes. BUG=None TEST=None Review URL: http://codereview.chromium.org/159362 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22433 0039d316-1c4b-4281-b951-d872f2087c98
* Making /MP on by default for msvs2008.bradnelson@chromium.org2009-07-311-6/+18
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/159732 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22220 0039d316-1c4b-4281-b951-d872f2087c98
* Make the Visual Studio /MP flag configurable.aa@chromium.org2009-07-311-0/+8
| | | | | | Review URL: http://codereview.chromium.org/160408 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22176 0039d316-1c4b-4281-b951-d872f2087c98
* Add a way to inject extra cflags in release builds.dank@chromium.org2009-07-301-0/+2
| | | | | | | | | | (I intend to use this as a quickie way to add -g to Release builds so I can see symbols. Is there a better way?) Review URL: http://codereview.chromium.org/159621 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22064 0039d316-1c4b-4281-b951-d872f2087c98
* Undo accidental change to common.gypi.aa@chromium.org2009-07-301-1/+0
| | | | | | | | TBR=tony@chromium.org Review URL: http://codereview.chromium.org/160398 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22059 0039d316-1c4b-4281-b951-d872f2087c98
* Pull CrxInstaller out of ExtensionsService.aa@chromium.org2009-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | CrxInstaller is a new stateful object that encapsulates a single installation from unpack through notification. It currently contains the UI bits, but I suspect in the next CL (where I will finally implement the install UI) these will come out and CrxInstaller will become SilentCrxInstaller, and only used for updates and external installs. Also in this change, I removed the concept of install callbacks that ExtensionUpdater was using. This was only used to delete the temp crx file as far as I can tell, and we can easily keep state about that in CrxInstaller. With this CL, ExtensionsServiceBackend is almost completely dead, with only a few zombie methods left like LoadAllExtensions(). These should all become little objects like CrxInstaller that hold a reference to ExtensionsService over their lifetime and then kill themselves. I'll get to that eventually. Review URL: http://codereview.chromium.org/160311 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22043 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gyp condition for ia32 specific flags.deanm@chromium.org2009-07-291-1/+1
| | | | | | | | | | | We should test if it's ia32, not if it's not arm. Patch by Joel Stanley. Review URL: http://codereview.chromium.org/160316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21954 0039d316-1c4b-4281-b951-d872f2087c98
* linux: refactor some common flags in common.gypievan@chromium.org2009-07-291-14/+6
| | | | | | | | No functional change, just reducing some cruft. Review URL: http://codereview.chromium.org/159566 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21933 0039d316-1c4b-4281-b951-d872f2087c98
* Add way to override optimization level for release build. dkegel@google.com2009-07-211-1/+4
| | | | | | | | | | Will be used with valgrind to speed up the bots more. This was suggested during http://codereview.chromium.org/67199, finally need it. Review URL: http://codereview.chromium.org/155817 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21169 0039d316-1c4b-4281-b951-d872f2087c98
* Pulling in new gyp version.bradnelson@chromium.org2009-07-201-1/+1
| | | | | | | | | | | | | | Switching two includes in common.gypi to msvs_system_include_dirs. This will force them to the back of the include order (which matches where the non-hermetic copies of these libraries would be). BUG=None TEST=None Review URL: http://codereview.chromium.org/155812 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21124 0039d316-1c4b-4281-b951-d872f2087c98