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

498 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
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
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
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
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
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
sra@chromium.org 77c858d682 Move Courgette from internal depot to third_party.
Review URL: http://codereview.chromium.org/113009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15377 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-06 04:02:10 +00:00
thomasvl@chromium.org 65cd732d1a - Mark the 'All' target with for getting a runner per http://codereview.chromium.org/99223
- Add a new target to build just what's needed for the webkit layout bots.
- Roll deps for the needed GYP change.
Review URL: http://codereview.chromium.org/100208

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14969 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-30 19:24:02 +00:00
bradnelson@google.com 1488adc0d2 Rolling back webkit-gyp switch. r14382
Review URL: http://codereview.chromium.org/99182

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14837 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-29 11:37:01 +00:00
bradnelson@google.com a17e33a005 Switching webkit over to gyp on windows.
Review URL: http://codereview.chromium.org/99173

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14832 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-29 08:02:56 +00:00
bradnelson@google.com 14e219bbaf Switching to v8.gyp in the v8 project (so they can maintain it themselves).
Rolling forward v8 version to pull in one with v8.gyp.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14786 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-28 21:37:56 +00:00
sgjesse@chromium.org ca9f7ad692 Reverting 14597,14596,14595.
Review URL: http://codereview.chromium.org/99053

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14598 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-27 12:10:14 +00:00
ager@chromium.org 85275025ef Update V8 in chromium to version 1.2.1.
Only small changes to the V8 code base itself.  The main reason for
this push is to get the V8 latest builder working again and to move
the v8.gyp file to the v8 sources to make DEPS rolls easier.

Updated all references to v8.gyp and the generated projects.  Added a
missing dependency to chrome.sln: mksnapshot depends on v8_nosnapshot.
Review URL: http://codereview.chromium.org/100037

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-27 10:58:25 +00:00
sgk@google.com 60f19d58f9 Capture Mozilla's codesighs, for use in executable sizing.
Vanilla code, no changes, except for the addition of:
* LICENSE, copied from elsewhere in the Mozilla tree;
* README.chromium, documenting what's going on.
* codesighs.gyp, for building with the rest of Chromium.
Review URL: http://codereview.chromium.org/93155

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14522 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-25 13:27:25 +00:00
sgk@google.com 7bec2bcbc2 Add -DCHROME_V8 to the chrome/browser build.
Add a 'javascript_engine' variable to control that setting
(as well as whether we use v8.gyp at all).
Review URL: http://codereview.chromium.org/88070

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14171 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-22 01:16:42 +00:00
bradnelson@google.com 53ab73c644 Rolling back change 13480 (change to gyp for webkit on windows).
Too many loose ends.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13485 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-10 00:25:00 +00:00
bradnelson@google.com bcc21715d7 Switching webkit to gyp on windows.
Review URL: http://codereview.chromium.org/63152

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13480 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-09 23:20:24 +00:00
sgk@google.com 4372aafdad Restore -Wall to Linux build and set up for -Werror.
* Add -Wall to build/common.gypi (and -Werror, commented out for now).
* Have build/external_code.gypi remove -Wall (and -Werror).
* Remove chromium_code definition from build/all.gyp.
* Remove chromium_code definitions from third_party/ *.gyp files.
* Remove scons-specific -Werror removal in webkit.gyp.
* Remove unused variables from:
  base/clipboard_linux.cc
  chrome/browser/gtk/download_shelf_gtk.cc
  chrome/browser/gtk/bookmark_bar_gtk.cc
Review URL: http://codereview.chromium.org/66001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-09 22:51:41 +00:00
scherkus@chromium.org eae002bced Convert /third_party/ffmpeg to gyp for Windows builds.
To smooth out the transition I left in using_ffmpeg.vsprops until the rest of Windows switches over to gyp.  I also took the opportunity to ditch the .bat file in favour of python.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13270 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-07 19:50:16 +00:00
sgk@google.com d78fa83964 Add ../third_party/harfbuzz to all.gyp.
Review URL: http://codereview.chromium.org/63063

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13252 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-07 15:58:27 +00:00
bradnelson@google.com 9f89a61f44 Moving activex shim to gyp.
Review URL: http://codereview.chromium.org/62089

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13229 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-07 05:31:48 +00:00
bradnelson@google.com ecd1bd71a7 Switching breakpad to gyp generated project.
Review URL: http://codereview.chromium.org/62076

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-07 02:47:24 +00:00
bradnelson@google.com 7fe1b1b1c6 Switching to gyp generated v8 on windows.
Review URL: http://codereview.chromium.org/63004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13145 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-06 01:00:05 +00:00
bradnelson@google.com e34ed6f4e5 Switching windows over to gyp generated googleurl.
Review URL: http://codereview.chromium.org/62045

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13138 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-05 20:15:21 +00:00
agl@chromium.org 10f83bfcee Revert "Move IPC code to ipc/"
This reverts commit r13062 which, unsurprisingly, broke the build.


git-svn-id: http://src.chromium.org/svn/trunk/src/build@13063 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-03 02:29:45 +00:00
agl@chromium.org 848f9efa81 Move IPC code to ipc/
(No review URL: Rietvelt couldn't cope)


git-svn-id: http://src.chromium.org/svn/trunk/src/build@13062 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-03 02:19:49 +00:00
bradnelson@google.com df5ebe825d Move a bunch of libs over to gyp on windows.
Review URL: http://codereview.chromium.org/60019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13020 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-02 17:39:00 +00:00
bradnelson@google.com 23bb1cc295 Switching printing to gyp on windows.
Review URL: http://codereview.chromium.org/58002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@12801 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-30 20:14:38 +00:00
bradnelson@google.com 1667acc959 Switching media to gyp under windows.
Review URL: http://codereview.chromium.org/57002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@12761 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-30 04:27:26 +00:00
sgk@google.com 1a2cb009fa Add a gtk_clipboard_dump target with a new .gyp file.
Review URL: http://codereview.chromium.org/42593

git-svn-id: http://src.chromium.org/svn/trunk/src/build@12454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-25 16:29:02 +00:00
bradnelson@google.com f6504c1a9d Switching sandbox to gyp on windows.
Rolling forward deps on gyp to get 'copies' support.
This time handled wow_helper.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@12270 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-23 00:38:22 +00:00
maruel@chromium.org 617ca8a8a7 Revert 11946 since it is causing a build breakage on full rebuild. The
sandbox project wasn't copying wow_helper.exe anymore, causing a build 
breakage on x64 platforms only.

TBR=bnelson
Review URL: http://codereview.chromium.org/42328

git-svn-id: http://src.chromium.org/svn/trunk/src/build@11955 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-18 12:09:58 +00:00
bradnelson@google.com 3873feba8b Moving sbox to gyp on windows.
(Also fixing missing property on sdch.)


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@11946 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-18 04:51:42 +00:00
bradnelson@google.com ade6465f46 Switching net over to use gyp on windows.
Review URL: http://codereview.chromium.org/48108

git-svn-id: http://src.chromium.org/svn/trunk/src/build@11942 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-18 02:30:55 +00:00
bradnelson@google.com 36f7bc2cb1 Reverting change 11688.
TBR.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@11692 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-14 01:04:27 +00:00
bradnelson@google.com e973843e20 Switching net to gyp on windows.
Review URL: http://codereview.chromium.org/42184

git-svn-id: http://src.chromium.org/svn/trunk/src/build@11688 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-13 23:58:07 +00:00
bradnelson@google.com eba4350d01 Switching to gyp generated vcprojs for some components.
Includes propset changes:
Property changes on: C:\clients\chrome6\src\skia
___________________________________________________________________
Modified: svn:ignore
   - skia.xcodeproj

   + skia.xcodeproj
skia.sln


Property changes on: C:\clients\chrome6\src\third_party\zlib
___________________________________________________________________
Modified: svn:ignore
   - zlib.xcodeproj

   + zlib.xcodeproj
zlib.sln


Property changes on: C:\clients\chrome6\src\third_party\libpng
___________________________________________________________________
Modified: svn:ignore
   - libpng.xcodeproj

   + libpng.xcodeproj
libpng.sln

Property changes on: C:\clients\chrome6\src\third_party\libjpeg
___________________________________________________________________
Modified: svn:ignore
   - libjpeg.xcodeproj

   + libjpeg.xcodeproj
libjpeg.sln


Property changes on: C:\clients\chrome6\src\build
___________________________________________________________________
Modified: svn:ignore
   - all.xcodeproj

   + all.xcodeproj
all.sln
All.vcproj


Property changes on: C:\clients\chrome6\src\base
___________________________________________________________________
Modified: svn:ignore
   - base.xcodeproj

   + base.xcodeproj
base.vcproj
base_gfx.vcproj
base_unittests.vcproj
debug_message.vcproj


Property changes on: C:\clients\chrome6\src\testing
___________________________________________________________________
Modified: svn:ignore
   - gtest
gtest.xcodeproj

   + gtest
gtest.xcodeproj
gtest.sln



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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@11512 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-12 02:31:38 +00:00
bradnelson@google.com 6f1ae5601a Making what gets generated platform conditional to allow gradual phase in on windows.
Review URL: http://codereview.chromium.org/42003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@11387 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-10 22:21:55 +00:00
mark@chromium.org 813b466231 Add printing.gyp
Review URL: http://codereview.chromium.org/28138

git-svn-id: http://src.chromium.org/svn/trunk/src/build@10445 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-02-26 03:19:22 +00:00
mark@chromium.org cbda795c0d Import .gyp files into the Chromium tree
Review URL: http://codereview.chromium.org/27158

git-svn-id: http://src.chromium.org/svn/trunk/src/build@10380 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-02-25 21:26:55 +00:00