diff options
author | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-06 03:28:05 +0000 |
---|---|---|
committer | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-06 03:28:05 +0000 |
commit | 25e0e8c9b9e60e964d78eac230fb6fc8469fe127 (patch) | |
tree | 43d9bae141b0a48e6c3bdb49ca2a3c82b997d512 /chrome/chrome.gyp | |
parent | fec0dfa7cb78f7af6ccfdb449b7c85d4446b8c66 (diff) | |
download | chromium_src-25e0e8c9b9e60e964d78eac230fb6fc8469fe127.zip chromium_src-25e0e8c9b9e60e964d78eac230fb6fc8469fe127.tar.gz chromium_src-25e0e8c9b9e60e964d78eac230fb6fc8469fe127.tar.bz2 |
Breakpad: Build an x86-64 version of crash_service.exe on Windows
This is needed for testing Native Client's support for Breakpad on
x86-64. However, ultimately crash_service is only used for testing
(Google Update's crash reporter is what is used in an installation of
the official Chrome build).
Initially, crash_service.exe will only work on x86-32 processes, and
crash_service64.exe will only work on x86-64 processes.
Eventually we will want to make crash_service64.exe work for both
32-bit and 64-bit processes.
It might not be possible to make crash_service.exe work on 64-bit
processes because Windows' ReadMemory() function only works on 64-bit
target processes if the caller is a 64-bit process.
BUG=89730
TEST=NaCl's run_inbrowser_trusted_crash_in_startup_test
Review URL: http://codereview.chromium.org/7541057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index a3a1ed8..1fcd2ee 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -1573,6 +1573,37 @@ }, }, }, + { + 'target_name': 'crash_service_win64', + 'type': 'executable', + 'product_name': 'crash_service64', + 'dependencies': [ + 'app/policy/cloud_policy_codegen.gyp:policy_win64', + 'common_constants_win64', + 'installer_util_nacl_win64', + '../base/base.gyp:base_static_win64', + '../breakpad/breakpad.gyp:breakpad_handler_win64', + '../breakpad/breakpad.gyp:breakpad_sender_win64', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'tools/crash_service/crash_service.cc', + 'tools/crash_service/crash_service.h', + 'tools/crash_service/main.cc', + ], + 'msvs_settings': { + 'VCLinkerTool': { + 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS + }, + }, + 'configurations': { + 'Common_Base': { + 'msvs_target_platform': 'x64', + }, + }, + }, ]}, # 'targets' ], # OS=="win" ['os_posix == 1 and OS != "mac"', { |