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

452 Коммитов

Автор SHA1 Сообщение Дата
mhm@chromium.org 40472ad275 Reverting 17273 - Fails reliability tests
Review URL: http://codereview.chromium.org/118047

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17279 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-30 04:34:00 +00:00
stuartmorgan@chromium.org 886a797bb0 Re-land the password store work from bug 8205, with changes that should fix 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: http://src.chromium.org/svn/trunk/src/build@17273 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-30 00:51:16 +00:00
tc@google.com 0450fed26e Re-add the code to only add sse2 flags on Chromium builds. It
was accidentally lost in r16719.

BUG=9007

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@17155 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-29 00:39:06 +00:00
rspangler@google.com 5b0310bc95 Major refactoring of Croc.
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: http://src.chromium.org/svn/trunk/src/build@17141 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-29 00:05:27 +00:00
thestig@chromium.org 0c57581e9b Add debugging symbols to official Linux Chrome builds.
Review URL: http://codereview.chromium.org/115874

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17107 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-28 20:31:48 +00:00
sgk@google.com bd78284bb9 Set svn:eol-style LF on all gyp files.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/113957

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17090 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-28 18:46:27 +00:00
bradnelson@chromium.org 8d5c643d33 Switching locales projects to be semi gyp generated.
Initially these will be drop in replacements for the existing projects.
These were generated mechanically in lieu of a looping syntax.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17070 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-28 08:17:39 +00:00
ajwong@chromium.org fe0e67a31c Retry to checkin a version of gmock, modified to use our boost_tuple in VS2005.
This checkin adds gmock, and a small example of how to write a gmock-based unittest.

Original Review URL: http://codereview.chromium.org/113807

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17066 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-28 06:02:56 +00:00
sgk@google.com b851f9893f Add .dll (and a .exe) files to the gyp build:
* activex_test_control.dll
* browser_tests.dll
* browser_tests.exe
* memory_watcher.dll
* rlz.dll
* security_tests.dll
* test_chrome_plugin.dll
* themes/default.dll
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/113915

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17023 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-27 21:29:36 +00:00
thomasvl@chromium.org 2257cdf999 gyp file for pdfsqueeze
make chrome app depend on pdfsqueeze
add a rule to run pdfs through pdfsqueeze

BUG=7654
TEST=pdf files in resources should be smaller now.
Review URL: http://codereview.chromium.org/113911

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17022 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-27 21:12:12 +00:00
sgk@google.com bf020e1cb6 Add gyp-generated bspatch (used by setup.exe) and bsdiff.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/115778

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16966 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-27 02:06:16 +00:00
evan@chromium.org 0e1a4ad4f2 Revert the password manager refactoring -- it failed reliability tests.
(For reference, it was committed with the wrong message: "Patch to make
password patch build.")

This reverts commit r16708.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16939 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-26 22:48:40 +00:00
bradnelson@chromium.org a55777c82b Converting gears prebuilt stub to gyp.
Review URL: http://codereview.chromium.org/115801

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16938 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-26 22:39:36 +00:00
ajwong@chromium.org e823e74e32 Revert "Checkin a version of gmock, modified to use our boost_tuple in VS2005."
This reverts commit 071e95bcdcefcd2cb86c9aed5cb073bbcaa7f2a7.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16931 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-26 22:05:05 +00:00
ajwong@chromium.org 87f5dd4967 Checkin a version of gmock, modified to use our boost_tuple in VS2005.
This checkin adds gmock, and a small example of how to write a gmock-based unittest.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16927 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-26 21:49:53 +00:00
agl@chromium.org 2c584934a5 Linux: add Breakpad support
This commits a rewrite of the Breakpad Linux client.

The old code:
 * Had a number of plain bugs in it, but those could just have been
   fixed.
 * Allocated memory from the heap, which is a no go.
 * Made libc calls which can enter the dynamic linker - another source
   of crashes.
 * Didn't understand some of the tricks needed, like clone() via libc
   will write to random areas of memory because it assumes that it's
   only called from libpthread

Additionally, we had one more requirement which meant changing the
interface:
 * We need to be able to crash dump the renderers from the browser
   process.

And that last one really needed a rewrite.

We intend to try and upstream this new code into Breakpad.

The new Breakpad design works like this:

When a renderer crashes, a signal handler runs on an alternative stack
and collects information about the registers of the thread before the
crash. Then we enter Chromium specific code an send a datagram message
to a magic file descriptor (4) containing:
  * the registers and tid of the crashing thread
  * the active URL
  * a file descriptor to a socket
  * a CREDENTIALS structure giving the PID of the renderer.

On the other end of the socket is an object on the IO thread
(render_crash_handler_host_linux.cc) which reads and parses the
datagram. The CREDENTIALS structure is validated by the kernel, so the
renderer can't lie about it's PID and try and get the browser to crash
dump the wrong process.

The browser then ptraces the renderer and extracts all the needed
information to write a minidump to a temp file. Then we write a byte
to the file descriptor which the renderer gave the browser in the
datagram and that's the signal to the renderer to finish dying. It
dies by sending itself the same signal which trigger the crash dump in
the first place, so it will appear to crash as normal as far as kernel
core dumps and waitpid are concerned.

The browser then constucts a MIME message in a temp file for upload to
the crash service. We then fork out to /usr/bin/wget to actually do
the upload (since Debian numbers suggest that 99.8% of users have wget
installed.) A second forked child unlinks the temp files once wget has
completed.

For a browser crash, everything works pretty much the same except that
the datagram step is omitted and we clone() off a process to ptrace
ourselves and write the minidump.

This code is only enabled in Chrome branded builds. Stub source files
are substituted in the case of a Chromium build.

 http://codereview.chromium.org/115526

BUG=9646,10772
TEST=Build a Chrome branded binary. Send SEGV to a renderer and verify that wget output appears on stderr. Send a SEGV to the main binary and verify the same.


git-svn-id: http://src.chromium.org/svn/trunk/src/build@16719 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-22 03:37:45 +00:00
evan@chromium.org 5f46af183b Patch to make password patch build.
Review URL: http://codereview.chromium.org/113710
Patch from John Maguire <johnmaguire@google.com>.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16708 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-22 02:02:18 +00:00
sgk@google.com d0e8b08257 Explicitly enable /INCREMENTAL linking for gyp-generated Debug builds.
Explicitly disable it (/INCREMENTAL:NO) for Release, and for the
following targets that require it:
  chrome.dll
  interactive_ui_tests.exe
  perf_tests.exe
  unit_tests.exe

Explicitly specificy /SUBSYSTEM:CONSOLE as default for linking,
and match current practice by overriding with /SUBSYSTEM:WINDOWS for:
  chrome.exe
  chrome.dll
  media_player.exe
  sandbox_poc.exe

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16698 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-22 01:40:48 +00:00
rspangler@google.com e19c988e41 Add Croc code coverage config for linux.
Review URL: http://codereview.chromium.org/115591

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16542 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-20 21:59:43 +00:00
ben@chromium.org bd6482f0c9 didn't mean to check these in
git-svn-id: http://src.chromium.org/svn/trunk/src/build@16516 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-20 20:09:10 +00:00
ben@chromium.org 0d15dc46c4 these strings were somehow removed in my earlier revert. add back to fix the build.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@16515 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-20 20:08:19 +00:00
thomasvl@chromium.org de8ea8aaed Added a script to remove headers from the target.
Added a default in common.gypi to remove headers from all mac applications that are bundles.
Added a var to control the inclusion of keystone to chrome.gyp defaulted on branding and then honor it for the shipping work.
Review URL: http://codereview.chromium.org/113652

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16510 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-20 19:44:42 +00:00
tc@google.com cbeac997d9 Only enable the sse2 flags when building Chromium
BUG=9007

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@16506 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-20 19:21:39 +00:00
ben@chromium.org 3b077f41b4 Convert views to gyp.
http://crbug.com/11387

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16490 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-20 18:00:21 +00:00
thomasvl@chromium.org 0c7b4e0e5a Adding a general script to fetch values from the BRANDING files.
Update the scripts to fetch values from the BRANDING files instead of hardcoding the values.
Review URL: http://codereview.chromium.org/113555

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16372 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-19 14:10:09 +00:00
thomasvl@chromium.org 36d748e055 Remove two todo's since the pref controls initializing breakpad, and if users opt in at that level, we just want to send the crashes.
Review URL: http://codereview.chromium.org/113553

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16367 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-19 12:24:55 +00:00
thomasvl@chromium.org f5cfde9112 Rename official builds to "Google Chrome" on disk and "Chrome" in the menubar.
BUG=11826
Review URL: http://codereview.chromium.org/115474

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16313 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-18 21:10:55 +00:00
ben@chromium.org d2afb41437 Convert app/ to GYP.
http://crbug.com/11387


git-svn-id: http://src.chromium.org/svn/trunk/src/build@16251 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-17 02:02:42 +00:00
bradnelson@chromium.org 035e6f4fe7 Switching cygwin setup_mount project to use bare command line.
Otherwise you're assuming you have cygwin in order to set it up.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16246 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-16 22:17:56 +00:00
sgk@google.com 7348be621c Convert lzma_sdk to gyp.
Review URL: http://codereview.chromium.org/115004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16179 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-15 20:40:08 +00:00
sky@chromium.org 36a4de45da Changes common.gypi to not wrap number with quotes because of recent
gyp change.

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16143 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-15 03:05:20 +00:00
sky@chromium.org ce336ba23e Stubs out OSExchangeData for views on gtk.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16012 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-13 23:21:45 +00:00
evan@chromium.org a20f5da0e2 linux: gyp should fail if the build dependencies aren't met.
The alternative is that gyp silently succeeds and your build mysteriously
doesn't link, even after you've installed the dependencies, and you need
to know to rerun "gclient runhooks --force".

BUG=11432

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16002 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-13 21:34:35 +00:00
bradnelson@chromium.org 6ba709dd78 Moving all the breakpad stuff to: src/breakpad
(out of build/temp_gyp)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15980 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-13 18:49:37 +00:00
rspangler@google.com 8e8e673f06 Add croc code coverage tool. (Same change as yesterday, but now made in the
writable repository)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15974 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-13 18:31:04 +00:00
thomasvl@chromium.org 14bd772bb4 - Roll DEPS to pick up newer GYP
- Add script for running dump_syms on release builds if breakpad is enabled.
- Update the info.plist tweaks to add the breakpad keys if needed
- Add a var to check for breakpad support within the chrome.gyp instead of having the knowledge about breakpad being in official builds spread all around.
Review URL: http://codereview.chromium.org/113305

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15948 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-13 13:11:19 +00:00
ajwong@chromium.org 581fafc24d Add alsa into the dependencies.
Review URL: http://codereview.chromium.org/115275

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15923 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-13 00:33:29 +00:00
sky@chromium.org 35ad3802df Adds gyp switch that turns on views on Linux. This currently doesn't
do anything else, but it will eventually.

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-12 23:51:17 +00:00
bradnelson@chromium.org 69195be595 Pulling in new gyp version with product_name support on windows.
Dropping setting that conflicts with this in common.gpyi

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15907 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-12 21:58:48 +00:00
dglazkov@chromium.org c50b17e6ed Fix VS2008 build by adding a warning ignore.
R=maruel
BUG=2528
TEST=Building with VS2008 should succeed.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15859 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-12 16:37:55 +00:00
thomasvl@chromium.org fd68faef0c Pull the copyright info out of the branding file.
BUG=11762
Review URL: http://codereview.chromium.org/113268

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15857 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-12 15:39:02 +00:00
thomasvl@chromium.org 1a928d5550 - Set the bundle name based on the executable name (since they both are the branding).
- Stop using CPP on the info.plist since we have to run a script anyways.
- Set the bundleid into a build setting for simple info.plist processing to pick up.
- Add a script for the chrome/app target to manually tweak the info.plist:
  - collect the version number from the build tree
  - collect the svn revision from the build tree
  - update the info.plist keys that need the version number based on collected data.
  - record the svn revision into the info.plist for trouble shooting.
Review URL: http://codereview.chromium.org/115187

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15778 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-11 20:45:10 +00:00
sgk@google.com e29d54f9d9 Add a 'cygwin' target to execute setup_mount.bat explicitly as a
dependency of targets that need it (that is, any target with
'rules' or 'actions').
Review URL: http://codereview.chromium.org/115154

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15774 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-11 20:01:24 +00:00
deanm@chromium.org d60a1c04f3 Do not define __ARMEL__ on ARM, this is the compilers job.
Review URL: http://codereview.chromium.org/115182


git-svn-id: http://src.chromium.org/svn/trunk/src/build@15751 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-11 14:40:20 +00:00
sra@chromium.org aff99ffd93 Move Courgette
from src\third_party\courgette
   to   src\courgette and src\courgette\third_party

Fixed #includes

Added properties to ignore generated files:

C:\c5\src>svn pg svn:ignore courgette
courgette.xcodeproj
courgette.sln
courgette_fuzz.vcproj
courgette_lib.vcproj
courgette_minimal_tool.vcproj
courgette_tool.vcproj
courgette.vcproj
courgette_unittests.vcproj
SConstruct
courgette_fuzz.scons
courgette_lib.scons
courgette_main.scons
courgette_minimal_tool.scons
courgette.scons
courgette_tool.scons
courgette_unittests.scons


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15692 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-08 23:00:29 +00:00
mmoss@chromium.org fdfffe3738 Propagate official build variables from buildbot compile.py.
Review URL: http://codereview.chromium.org/115142


git-svn-id: http://src.chromium.org/svn/trunk/src/build@15690 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-08 22:35:32 +00:00
thomasvl@chromium.org 8ea8df8f41 Add a simple dmg script to the mac build dir to build a dmg out of the app.
Add a target to build a dmg out of the app.
Add a target to all that will build everything and the dmg (since we don't include the dmg in all since developers really don't need to wait for that).
Review URL: http://codereview.chromium.org/113152

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15672 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-08 20:24:08 +00:00
sgk@google.com 50aef5088b Move the right dependencies into the main section of all.gyp,
the {test_shell,webkit}.gyp:* targets from the 'all_gyps' section,
not the specific 'test_shell' and 'test_shell_tests' targets
from the mac condition.
Review URL: http://codereview.chromium.org/113144

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15629 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-08 08:54:03 +00:00
sgk@google.com 1498abede7 Convert the webkit build on Windows to gyp:
* build\all.gyp now uses webkit\webkit.gyp and
  webkit\tools\test_shell\test_shell.gyp.
* 'svn remove' checked-in .sln and .vcproj files that will now
  become gyp-generated files.  (We'll leave the other old ones
  in place, uncalled, and remove them with a later CL.)
* Add generated *.sln and *.vcproj files to svn:ignore on
  the relevant directories.
* Update various chrome\**.vcproj files with the new gyp directory
  in which various generated webkit files will now appear.
* Update the checked-in chrome\chrome.sln with all (?) the changes
  necessary to reflect the new gyp generation.
Review URL: http://codereview.chromium.org/115115

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15618 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-08 04:29:55 +00:00
sky@chromium.org b26d094122 Fleshes out WidgetGTK and WindowGTK a bit more. This is still vary
rough, but makes things work a bit more.

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15598 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-07 23:41:29 +00:00