summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Linux: fix for developing on a machine with google-chrome packages installed.agl@chromium.org2009-07-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | The latest google-chrome packages contain a sandbox binary, which the development builds of chromium will pick up on automatically. However, for safety reasons, the sandbox binary will only exec a fixed chrome binary location. Since development builds will be somewhere else in the filesystem, this means that they will fail to start their zygote processes and generally be very sad. However, we /do/ want people developing with the sandbox, but we don't want the general sandbox binary to be able to exec anything. We could have chromium try and find its sandbox binary relative to the build directory, but some people build on NFS and, since the sandbox binary needs to be SUID, this won't work for them. Instead, we add a new target: chrome_devel_sandbox which developers can use. This builds a sandbox binary that will exec anything which is owned by the running user. This alternative sandbox binary can be selected by exporting CHROME_DEVEL_SANDBOX. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20709 0039d316-1c4b-4281-b951-d872f2087c98
* Add a variable that lets you override the optimization level for release ↵thomasvl@chromium.org2009-07-141-0/+7
| | | | | | | | builds (for valgrind -- to avoid inlining, etc.) Review URL: http://codereview.chromium.org/155501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20636 0039d316-1c4b-4281-b951-d872f2087c98
* Add -fno-threadsafe-statics to the Linux build.deanm@chromium.org2009-07-141-0/+6
| | | | | | | | | | | We already depend on our static initializers being thread safe, since MSVC does not implement locking around static initialization. This avoids extra locking (__cxa_guard_acquire / __cxa_guard_release). Review URL: http://codereview.chromium.org/149607 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20616 0039d316-1c4b-4281-b951-d872f2087c98
* Pulling in new gyp version.bradnelson@chromium.org2009-07-111-1/+1
| | | | | | | | | | | | Working around change in msvs_cygwin_shell added for nacl. BUG=None TEST=None TBR=sgk Review URL: http://codereview.chromium.org/155393 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20449 0039d316-1c4b-4281-b951-d872f2087c98
* Replace instances of LINUX2 with OS_CHROMEOS and linux2 with chromeos.brettw@chromium.org2009-07-081-3/+3
| | | | | | Review URL: http://codereview.chromium.org/149367 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20210 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: SUID sandbox supportagl@chromium.org2009-07-081-1/+2
| | | | | | | | | | | | | | | | | | | | | * Make processes dumpable when they crash. * Find crashing processes by searching for a socket inode, rather than relying on SCM_CREDENTIALS. The kernel doesn't translate PIDs between PID namespaces with SCM_CREDENTIALS, so we can't use the PID there. * Use a command line flag to the renderer to enable crash dumping. Previously it tried to access the user's home directory for this information. * Search for a sandbox helper binary and, if found, use it. * Include the source for a sandbox helper binary. It's currently not built by default. http://codereview.chromium.org/149230 R=evan,markus BUG=8081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20110 0039d316-1c4b-4281-b951-d872f2087c98
* Beginning of code coverage on Windows.jrg@chromium.org2009-07-071-4/+16
| | | | | | Review URL: http://codereview.chromium.org/155123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20045 0039d316-1c4b-4281-b951-d872f2087c98
* Modifying mini_installer to have different additional options.bradnelson@chromium.org2009-07-031-7/+20
| | | | | | | | | | | | This should not affect other targets. BUG=None TEST=None TBR=sgk Review URL: http://codereview.chromium.org/149152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19916 0039d316-1c4b-4281-b951-d872f2087c98
* Don't screw up /usr/bin/ld if you can't write to current dir as root.dkegel@google.com2009-06-301-11/+23
| | | | | | | | | BUG=http://crbug.com/15700 TEST=make sure ld is not gold, make sure root can't write to your nfs home directory, copy this script there, run it, let it install gold, verify it aborts early without torching /usr/bin/ld Review URL: http://codereview.chromium.org/151113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19683 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the tree. It looks like the previous change (19561)nsylvain@chromium.org2009-06-301-16/+7
| | | | | | | | | | | | | did not work as expected, since most of the windows machines are red trying to load dwmapi.dll, which should be in the delay load list. I'm reverting part of this change. TBR:bradnelson Review URL: http://codereview.chromium.org/150102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19581 0039d316-1c4b-4281-b951-d872f2087c98
* Learned that mini_installer's linker settings cannot actually be sharedbradnelson@chromium.org2009-06-301-8/+17
| | | | | | | | | | | | | by everyone else. Separated mini_installer into its own gyp file and isolated it from several common settings. BUG=None TEST=None Review URL: http://codereview.chromium.org/150045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19561 0039d316-1c4b-4281-b951-d872f2087c98
* Use C99 standard format macros for 64-bit values.agl@chromium.org2009-06-291-0/+8
| | | | | | | | | | | | | | | | | | | Currently we have several uses of %I64d in format strings to indicate a 64-bit value. This does not work on Mac or Linux, where 'I' indicates the use of locale specific digits. Instead, we introduce base/format_macros.h which mimic the C99 standard macros for 64-bit values in a cross-platform manner. Dean pointed out that V8 is handling this themselves rather than use inttypes.h. Maybe we'll end up going down the same path but, for the moment, we'll try and do it the 'correct' way and see how it works out. http://codereview.chromium.org/147154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19500 0039d316-1c4b-4281-b951-d872f2087c98
* Another go at switching mini_installer to gyp.bradnelson@google.com2009-06-291-1/+1
| | | | | | | | | | | BUG=None TEST=None TBR=sgk Review URL: http://codereview.chromium.org/150012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19480 0039d316-1c4b-4281-b951-d872f2087c98
* Added stub native web worker support, including build support in preparationsehr@google.com2009-06-291-2/+2
| | | | | | | for integrating the native client build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19479 0039d316-1c4b-4281-b951-d872f2087c98
* Add a gyp "buildtype" variable to differentiate official release builds.mmoss@chromium.org2009-06-251-0/+10
| | | | | | | | | | | | | | | | This notion was previously overloaded on "branding", but as implied, that variable should really just control the "Google Chrome" vs. "Chromium" branding. We need a separate setting to distinguish between "release" builds (which get special handling, like breakpad symbol processing), and "everyday" builds, like the buildbot continuous builds or personal developer builds. This fixes a problem where the "Google Chrome" continuous builder was unnecessarily trying to upload breakpad symbols for every single build. Review URL: http://codereview.chromium.org/132038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19283 0039d316-1c4b-4281-b951-d872f2087c98
* Disable TR1 for windows (set _HAS_TR1=0). This change requires a clobber build.ajwong@chromium.org2009-06-232-2/+2
| | | | | | Review URL: http://codereview.chromium.org/147015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19049 0039d316-1c4b-4281-b951-d872f2087c98
* Make symbol signatures upper-case.thestig@chromium.org2009-06-181-1/+2
| | | | | | Review URL: http://codereview.chromium.org/132034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18741 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the addition of -fno-threadsafe-statics. It breaks the build:deanm@chromium.org2009-06-181-1/+0
| | | | | | | | | | | cc1: warning: command line option "-fno-threadsafe-statics" is valid for C++/ObjC++ but not for C From what I can find, GYP has not separation between C and C++ flags :( Review URL: http://codereview.chromium.org/131031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18701 0039d316-1c4b-4281-b951-d872f2087c98
* Add -fno-threadsafe-statics to the Linux build.deanm@chromium.org2009-06-181-0/+1
| | | | | | | | | | | We already depend on our static initializers being thread safe, since MSVC does not implement locking around static initialization. This avoids extra locking (__cxa_guard_acquire / __cxa_guard_release). Review URL: http://codereview.chromium.org/126267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18700 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: dump_app_syms would fail if the output didn't exist.agl@chromium.org2009-06-171-1/+1
| | | | | | | | | | | | | | This script was trying to only rebuild the symbols when the binary file was more recent than the symbols file. However, -nt fails when the right hand side doesn't exist. Therefore it wouldn't actually dump symbols and the sed script would fail later on. This adds a test for the non-existance of the output file first. TBR=mmoss git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18659 0039d316-1c4b-4281-b951-d872f2087c98
* Add a small untility for checking to see if the X server is alive.tony@chromium.org2009-06-161-0/+1
| | | | | | | | | This will be used by the buildbots after Xvfb is executated to make sure that Xvfb is alive. Review URL: http://codereview.chromium.org/126165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18549 0039d316-1c4b-4281-b951-d872f2087c98
* Fetch the SVN revision number correctly regardless of line endingssgk@google.com2009-06-161-4/+6
| | | | | | | | | returned by any version of Python on any platform. BUG=14187 TEST=none Review URL: http://codereview.chromium.org/126227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18533 0039d316-1c4b-4281-b951-d872f2087c98
* Add Compact Language Detection (CLD) library to Chrome. This works in ↵sidchat@google.com2009-06-151-0/+1
| | | | | | | | | | Windows only currently. BUG=none TEST=none Review URL: http://codereview.chromium.org/122007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18445 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanups from post-submit suggestions.mmoss@chromium.org2009-06-122-11/+10
| | | | | | | Review URL: http://codereview.chromium.org/126062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18303 0039d316-1c4b-4281-b951-d872f2087c98
* Change delayload attribute from string to list in gyp fileshclam@chromium.org2009-06-121-1/+5
| | | | | | | | | | Change from string to list so the list can merge correctly. TBR=scherkus Review URL: http://codereview.chromium.org/125059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18294 0039d316-1c4b-4281-b951-d872f2087c98
* Extract breakpad symbol files for Linux official builds.mmoss@chromium.org2009-06-122-0/+75
| | | | | | | | | | These are archived and submitted to the crash server by the official builder (coming in a separate buildbot CL). Review URL: http://codereview.chromium.org/126015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18286 0039d316-1c4b-4281-b951-d872f2087c98
* Always build breakpad tools with Linux official build.mmoss@chromium.org2009-06-111-7/+0
| | | | | | | | | | This removes the need for separate build runs with different hammer flags (e.g. --mode=Tool). Review URL: http://codereview.chromium.org/125009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18202 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/122044nick@chromium.org2009-06-111-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18190 0039d316-1c4b-4281-b951-d872f2087c98
* Support Jaunty by dropping package xcb-xlib0.dank@chromium.org2009-06-111-5/+80
| | | | | | | | | | | | Support (our local flavor of) hardy by dropping package sun-java6-fonts (which is broken there). Add optional support for gold. (It would be better to not replace the system linker, but it's reversible, and works well unless you need to build wine or valgrind.) BUG=13457 TEST=verify that this installs a working chrome dev env on clean hardy and jaunty Review URL: http://codereview.chromium.org/119331 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18175 0039d316-1c4b-4281-b951-d872f2087c98
* Add lib32asound2-dev into 32-bit build dependencies.ajwong@chromium.org2009-06-091-2/+2
| | | | | | Review URL: http://codereview.chromium.org/119336 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17970 0039d316-1c4b-4281-b951-d872f2087c98
* Convert tcmalloc (and its modified libcmt) to building with gyp.sgk@google.com2009-06-061-0/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/119265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17828 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit_tests (Chrome browser unit tests) to Mac/Linux coverage.jrg@chromium.org2009-06-052-2/+2
| | | | | | | | Minor fixes to coverage related scripts. Review URL: http://codereview.chromium.org/118298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17785 0039d316-1c4b-4281-b951-d872f2087c98
* Grab the correct element from the match group of the git regex.mmoss@chromium.org2009-06-051-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/119211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17769 0039d316-1c4b-4281-b951-d872f2087c98
* Fix make build by providing a hint as to when to expand the filename.tc@google.com2009-06-041-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/119182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17639 0039d316-1c4b-4281-b951-d872f2087c98
* Fetch last change (revision) info in a separate action that can runsgk@google.com2009-06-043-0/+156
| | | | | | | | | | every build, instead of having it occur as a side effect of updating some other target for which we want to use normal up-to-date checks. BUG=none TEST=none Review URL: http://codereview.chromium.org/118192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17634 0039d316-1c4b-4281-b951-d872f2087c98
* Change PasswordStoreDefault to access the WebDataService from the UI thread ↵stuartmorgan@chromium.org2009-06-031-0/+37
| | | | | | | | | | | | only. Enables the PasswordStore refactoring yet again (third time's the charm?). BUG=12479 TEST=Password save/autofill should continue to work on Windows. Review URL: http://codereview.chromium.org/118131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17545 0039d316-1c4b-4281-b951-d872f2087c98
* Disable -mdynamic-no-pic, the equivalent of enabling -fPIC, to allow most ofmark@chromium.org2009-06-031-0/+1
| | | | | | | | | | | the app to be moved into a framework in support of the multi-app-bundle approach. BUG=8044 TEST=-mdynamic-no-pic absent from build log, all tests pass Review URL: http://codereview.chromium.org/119090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17498 0039d316-1c4b-4281-b951-d872f2087c98
* Adds linux2 variable and change to WidgetGtk to make it compile.sky@chromium.org2009-06-021-0/+5
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/119057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17442 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the breakpad file to match the app name instead of just branding name.thomasvl@chromium.org2009-06-021-1/+11
| | | | | | | Build a tar.bz2 out of the .dsym for archiving. Review URL: http://codereview.chromium.org/118129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17433 0039d316-1c4b-4281-b951-d872f2087c98
* Enable TR1 in windows build for gmock's use in VS2008 SP1.ajwong@chromium.org2009-06-022-2/+2
| | | | | | Review URL: http://codereview.chromium.org/115977 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17430 0039d316-1c4b-4281-b951-d872f2087c98
* Removing unused variables and conditions in all.gypbradnelson@chromium.org2009-06-021-9/+0
| | | | | | | | | | BUG=None TEST=None TBR=sgk Review URL: http://codereview.chromium.org/119030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17395 0039d316-1c4b-4281-b951-d872f2087c98
* Use a variable to control the value of LinkIncremental on Debugsgk@google.com2009-06-021-1/+8
| | | | | | | | | | builds, so we can force it off when building the locale .dll files. Ignore gyp-generated locales.sln file. BUG=none TEST=none Review URL: http://codereview.chromium.org/119017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17394 0039d316-1c4b-4281-b951-d872f2087c98
* Switching chrome.sln to gyp generated version.bradnelson@google.com2009-06-021-5/+1
| | | | | | | | | | | Doing this by using existing vcproj files. BUG=None TEST=None Review URL: http://codereview.chromium.org/119021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17379 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak SVNVersion be happier (matches windows).jrg@chromium.org2009-06-011-6/+7
| | | | | | | | | | | | Fix about:version so "Developer build" says "Official build" when relevant, and lists SVN version for developer builds. BUG=12064 Review URL: http://codereview.chromium.org/118036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17337 0039d316-1c4b-4281-b951-d872f2087c98
* Run real dsymutil to get a real .dSYM for Breakpad dump_syms. This willmark@chromium.org2009-06-011-10/+37
| | | | | | | | | | | allow dump_syms to access DWARF data for line numbers and other stuff, and not just public symbol table data. BUG=12776 TEST=set branding to Chrome, dsymutil should run and take forever Review URL: http://codereview.chromium.org/113999 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17316 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 17273 - Fails reliability testsmhm@chromium.org2009-05-301-37/+0
| | | | | | Review URL: http://codereview.chromium.org/118047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17279 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land the password store work from bug 8205, with changes that should fix ↵stuartmorgan@chromium.org2009-05-301-0/+37
| | | | | | | | | | bug 12479. The Linux pieces are still disabled, however. BUG=8205 TEST=Password autofill should continue to work on Windows. Review URL: http://codereview.chromium.org/114057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17273 0039d316-1c4b-4281-b951-d872f2087c98
* Re-add the code to only add sse2 flags on Chromium builds. Ittc@google.com2009-05-291-3/+9
| | | | | | | | | | | was accidentally lost in r16719. BUG=9007 Review URL: http://codereview.chromium.org/115902 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17155 0039d316-1c4b-4281-b951-d872f2087c98
* Major refactoring of Croc.rspangler@google.com2009-05-293-100/+105
| | | | | | | | | | | | Add support for scanning missing source files for executable lines. Add support for HTML output. Now reports percent coverage. BUG=none TEST=by hand on experimental buildbot Review URL: http://codereview.chromium.org/113980 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17141 0039d316-1c4b-4281-b951-d872f2087c98
* Add debugging symbols to official Linux Chrome builds.thestig@chromium.org2009-05-281-0/+5
| | | | | | Review URL: http://codereview.chromium.org/115874 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17107 0039d316-1c4b-4281-b951-d872f2087c98