summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Linux: add support for SELinux.agl@chromium.org2009-09-152-0/+15
| | | | | | | | | | | | | | | | | | 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
* Remove the test runner line I had in there by accident.thomasvl@chromium.org2009-09-141-1/+0
| | | | | | | | | BUG=none TEST=none TBR=mark Review URL: http://codereview.chromium.org/204004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26101 0039d316-1c4b-4281-b951-d872f2087c98
* TBR:nsylvainmmoss@chromium.org2009-09-141-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26095 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
* Remove the target the bots used to use (but don't any more).thomasvl@chromium.org2009-09-111-12/+35
| | | | | | | | | | Add two targets for the chromium mac builders to build the subset their testers run for better cycle times. TEST=none BUG=none Review URL: http://codereview.chromium.org/195063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26005 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
* Don't use --owner or --group in tar -c, these options are not present inmark@chromium.org2009-09-111-1/+1
| | | | | | | Mac OS X 10.6 ("Snow Leopard")'s tar. Review URL: http://codereview.chromium.org/194078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25993 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
* strip the gold linker executable in install-build-deps.sh.thestig@chromium.org2009-09-101-0/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/194069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25874 0039d316-1c4b-4281-b951-d872f2087c98
* Replace icu38/icu38.gyp with icu/icu.gyp in gyp files replace all the ↵jshin@chromium.org2009-09-092-5/+5
| | | | | | | | | | | | | | | | | | references to third_party/icu38 and icudt38.dll with third_party/icu and icudt42.dll in vsprops and cc files. Also, update the icu data module name and the icu data symbol in icu_util.cc In addition, add a dummy C++ source file (xmldummy_mac.cc) to libxml to work around an Xcode bug (xmllint and xmlcatalog are linked with gcc rather than g++ even though it's linked to a "C++ library", libicuuc.a). Also updated is the test results for net_util_unittests. This will not be landed until deps/third_party/icu42 is ready for all 3 platforms (Windows VS build files are not yet updated there). BUG=8198 TEST=On all platforms, all the targets are built fine. Review URL: http://codereview.chromium.org/172031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25708 0039d316-1c4b-4281-b951-d872f2087c98
* Take out the activex control.BUG=20259jam@chromium.org2009-09-081-2/+0
| | | | | | Review URL: http://codereview.chromium.org/200031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25650 0039d316-1c4b-4281-b951-d872f2087c98
* Added USE_GDK, set when either TOOLKIT_GTK or TOOLKIT_VIEWS is set butbenl@chromium.org2009-09-071-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not OS_WIN. Added USE_X11. Set when OS_LINUX or OS_FREEBSD is set. Added USE_BASE_DATA_PACK for base::DataPack usage, set for OS_MACOSX, OS_LINUX or OS_FREEBSD. Added USE_NSS for ... nss (for crypto). Windows and MacOS use platform-specific libraries. All of the above cause slightly odd formulations like: #if defined(OS_WIN) ... #elif defined(USE_BASE_DATA_PACK) ... #endif Possibly should also define USE_DLL_FOR_DATA, etc? Or something? Wrapped various references to struct stat64 and stat64() to use struct stat and stat() for FreeBSD - but a "man stat64" on Linux suggests that we could do the same thing for at least Linux, too, and perhaps eliminate the wrapper? git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25599 0039d316-1c4b-4281-b951-d872f2087c98
* Make the build-bisect tool work with non-Mac archives.mmoss@chromium.org2009-09-041-40/+112
| | | | | | | | | | | | Also, - add opts so it can be run without prompting - add some feedback for lengthy operations (e.g. archive download) - use temp dirs to avoid file conflicts Review URL: http://codereview.chromium.org/201023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25474 0039d316-1c4b-4281-b951-d872f2087c98
* linux: improve support for cross-compilingpiman@chromium.org2009-09-044-28/+126
| | | | | | | | | | | 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
* Add a Mac-specifc snapshot build archive bisecting tool.rsesek@chromium.org2009-09-031-0/+160
| | | | | | Review URL: http://codereview.chromium.org/195006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25384 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
* Fix arg error check (was expecting too many).thomasvl@chromium.org2009-09-011-1/+1
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/175047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25060 0039d316-1c4b-4281-b951-d872f2087c98
* Put a proper info.plist into the framework so we can codesign it.thomasvl@chromium.org2009-09-011-5/+2
| | | | | | | | | | | Update the tweak info.plist script to work on frameworks as well as apps. Remove the bundle version since the script manages that. BUG=20503 TEST=The framework should now have an valid info.plist file in it's resources folder. Review URL: http://codereview.chromium.org/178055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25027 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
* Linux: add gyp flag for enabling tcmalloc. Also fix the linux build which ↵willchan@chromium.org2009-08-261-0/+1
| | | | | | | | didn't work in a clean client since tcmalloc.h wasn't generated. Review URL: http://codereview.chromium.org/173387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24538 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
* Add license information to our shell scripts.agl@chromium.org2009-08-251-0/+4
| | | | | | | | | | Downstream packagers are (rightly) careful about the license of code that they distribute and so we want to dot our i's. http://codereview.chromium.org/174372 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24311 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
* linux: call g_thread_init() at relevant startup pointsevan@chromium.org2009-08-251-20/+3
| | | | | | | | | | | | | | | | | | According to glib docs, we need to do this if it's at all possible for us to hit glib on multiple threads. This may be happening when we grab plugin metadata from the file thread. Rather than explicitly depending on gthread all over the place, just put it in with the GTK dep (since anywhere we're using GTK we ought to init gthread). (Note that this is *not* initializing the GDK locking system.) BUG=18957 Review URL: http://codereview.chromium.org/174264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24207 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "linux: call g_thread_init() at relevant startup points"evan@chromium.org2009-08-251-3/+20
| | | | | | This reverts commit r24203, Mac breakage. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24204 0039d316-1c4b-4281-b951-d872f2087c98
* linux: call g_thread_init() at relevant startup pointsevan@chromium.org2009-08-251-20/+3
| | | | | | | | | | | | | | | | | | According to glib docs, we need to do this if it's at all possible for us to hit glib on multiple threads. This may be happening when we grab plugin metadata from the file thread. Rather than explicitly depending on gthread all over the place, just put it in with the GTK dep (since anywhere we're using GTK we ought to init gthread). (Note that this is *not* initializing the GDK locking system.) BUG=18957 Review URL: http://codereview.chromium.org/174264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24203 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "linux: call g_thread_init() at relevant startup points"tony@chromium.org2009-08-241-3/+20
| | | | | | | | | | | This reverts commit r24148 because the FDRemapping unittest is failing. TBR=evanm Review URL: http://codereview.chromium.org/173309 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24168 0039d316-1c4b-4281-b951-d872f2087c98
* linux: call g_thread_init() at relevant startup pointsevan@chromium.org2009-08-241-20/+3
| | | | | | | | | | | | | | | | | | According to glib docs, we need to do this if it's at all possible for us to hit glib on multiple threads. This may be happening when we grab plugin metadata from the file thread. Rather than explicitly depending on gthread all over the place, just put it in with the GTK dep (since anywhere we're using GTK we ought to init gthread). (Note that this is *not* initializing the GDK locking system.) BUG=18957 Review URL: http://codereview.chromium.org/174264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24148 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak the comment in the lproj fixup script to explain why we need an "en" ↵thomasvl@chromium.org2009-08-241-14/+0
| | | | | | | | | | | | | | | | | | | | | | folder. Added a string for the products short name, this is current mac only, and is used for the application menu title via the infoplist.strings file. Added source for a tool to build InfoPlist.strings files based on the values within the GRD files. Run the InfoPlist.strings generation tool during the build. Added a script to take a string and list of locale and generate all the versions of the string. Wired up the string locale tool so GYP knows about all the inputs/outputs from the InfoPlist.strings generation tool. Stop setting some of the Info.plist keys that are now covered by the InfoPlist.strings files. Update the mac links script to stop creating a resources link. Add a shim to nuke the helper's resource link so it can get a real folder. Helper in in chrome_paths_mac to find the main app's bundle (that the helper lives in). At startup, if not the browser, set the main bundle to be the parent of this bundle. Fix up the breakpad init to use the mac_util helper for main bundle. TEST=when runnining in the supported languages, Finder Get Info should show a localized copyright. The process names in activity monitor should also be correct and show localized names once the TC work is done. BUG=19019 Review URL: http://codereview.chromium.org/171040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24104 0039d316-1c4b-4281-b951-d872f2087c98
* Pulling new version of googleurl into the tree.cira@chromium.org2009-08-211-1/+1
| | | | | | | | | | Fixing a net_unittest case that wasn't updated when googleurl code was changed (but not down integrated to chrome). BUG=5490 Review URL: http://codereview.chromium.org/174093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23965 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
* Cosmetic fixes to clobber_generated_headers.py:sgk@google.com2009-08-191-6/+9
| | | | | | | | | | | | | Only try to remove a generated header file if it exists. Only report "Clobbered" if we actually removed something. Print the actual system error if the removal fails. Print the error message on stderr, not stdout. Normalize the header file path name. BUG=none TEST=none Review URL: http://codereview.chromium.org/164173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23736 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
* Tweak indentationmark@chromium.org2009-08-121-4/+4
| | | | | | Review URL: http://codereview.chromium.org/165379 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23182 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a typo in install-build-deps.sh.thestig@chromium.org2009-08-121-1/+1
| | | | | | | TBR=mmoss Review URL: http://codereview.chromium.org/164389 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23177 0039d316-1c4b-4281-b951-d872f2087c98