summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--breakpad/README.google5
-rw-r--r--breakpad/SConscript68
-rw-r--r--breakpad/breakpad_handler.vcproj183
-rw-r--r--breakpad/breakpad_sender.vcproj59
-rw-r--r--breakpad/symupload.exebin0 -> 167936 bytes
-rw-r--r--breakpad/using_breakpad.vsprops11
6 files changed, 326 insertions, 0 deletions
diff --git a/breakpad/README.google b/breakpad/README.google
new file mode 100644
index 0000000..763c6f5
--- /dev/null
+++ b/breakpad/README.google
@@ -0,0 +1,5 @@
+Breakpad actually lives in src (pulled via svn:externals from code.google.com).
+
+This directory contains Chrome's version of Breakpad's Visual Studio build
+files (*.vcproj) and a compiled version of Breakpad's symupload.exe utility
+for Windows.
diff --git a/breakpad/SConscript b/breakpad/SConscript
new file mode 100644
index 0000000..bf7e0bb
--- /dev/null
+++ b/breakpad/SConscript
@@ -0,0 +1,68 @@
+# Copyright 2008, Google Inc.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above
+# copyright notice, this list of conditions and the following disclaimer
+# in the documentation and/or other materials provided with the
+# distribution.
+# * Neither the name of Google Inc. nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Import('env')
+
+env = env.Clone()
+
+env.Prepend(
+ CPPPATH = [
+ 'src',
+ '#/..',
+ ],
+)
+
+env.Append(
+ CCFLAGS = [
+ '/TP',
+
+ '/wd4800',
+ '/wd4503',
+ '/wd4819',
+ ],
+)
+
+sender_input_files = [
+ 'src/client/windows/sender/crash_report_sender.cc',
+ 'src/common/windows/http_upload.cc',
+]
+
+env.StaticLibrary('breakpad_sender', sender_input_files)
+
+
+handler_input_files = [
+ 'src/client/windows/crash_generation/client_info.cc',
+ 'src/client/windows/crash_generation/minidump_generator.cc',
+ 'src/common/windows/guid_string.cc',
+ 'src/client/windows/handler/exception_handler.cc',
+ 'src/client/windows/crash_generation/crash_generation_server.cc',
+ 'src/client/windows/crash_generation/crash_generation_client.cc',
+]
+
+env.StaticLibrary('breakpad_handler', handler_input_files)
diff --git a/breakpad/breakpad_handler.vcproj b/breakpad/breakpad_handler.vcproj
new file mode 100644
index 0000000..680bb19
--- /dev/null
+++ b/breakpad/breakpad_handler.vcproj
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="breakpad_handler"
+ ProjectGUID="{B55CA863-B374-4BAF-95AC-539E4FA4C90C}"
+ RootNamespace="breakpad_handler"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ ConfigurationType="4"
+ InheritedPropertySheets="$(SolutionDir)..\build\common.vsprops;$(SolutionDir)..\build\debug.vsprops;$(SolutionDir)..\build\external_code.vsprops;.\using_breakpad.vsprops"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ ConfigurationType="4"
+ InheritedPropertySheets="$(SolutionDir)..\build\common.vsprops;$(SolutionDir)..\build\release.vsprops;$(SolutionDir)..\build\external_code.vsprops;.\using_breakpad.vsprops"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <File
+ RelativePath=".\src\client\windows\crash_generation\client_info.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\src\client\windows\crash_generation\client_info.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\client\windows\crash_generation\crash_generation_client.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\src\client\windows\crash_generation\crash_generation_client.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\client\windows\crash_generation\crash_generation_server.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\src\client\windows\crash_generation\crash_generation_server.h"
+ >
+ </File>
+ <File
+ RelativePath="src\client\windows\handler\exception_handler.cc"
+ >
+ </File>
+ <File
+ RelativePath="src\client\windows\handler\exception_handler.h"
+ >
+ </File>
+ <File
+ RelativePath="src\common\windows\guid_string.cc"
+ >
+ </File>
+ <File
+ RelativePath="src\common\windows\guid_string.h"
+ >
+ </File>
+ <File
+ RelativePath="src\google_breakpad\common\minidump_format.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\client\windows\crash_generation\minidump_generator.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\src\client\windows\crash_generation\minidump_generator.h"
+ >
+ </File>
+ <File
+ RelativePath="src\common\windows\string_utils-inl.h"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/breakpad/breakpad_sender.vcproj b/breakpad/breakpad_sender.vcproj
new file mode 100644
index 0000000..ecc1740
--- /dev/null
+++ b/breakpad/breakpad_sender.vcproj
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="breakpad_sender"
+ ProjectGUID="{9946A048-043B-4F8F-9E07-9297B204714C}"
+ RootNamespace="breakpad_sender"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ ConfigurationType="4"
+ InheritedPropertySheets="$(SolutionDir)..\build\common.vsprops;$(SolutionDir)..\build\debug.vsprops;$(SolutionDir)..\build\external_code.vsprops;using_breakpad.vsprops"
+ >
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ ConfigurationType="4"
+ InheritedPropertySheets="$(SolutionDir)..\build\common.vsprops;$(SolutionDir)..\build\release.vsprops;$(SolutionDir)..\build\external_code.vsprops;using_breakpad.vsprops"
+ >
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </Configuration>
+ </Configurations>
+ <Files>
+ <File
+ RelativePath="src\client\windows\sender\crash_report_sender.cc"
+ >
+ </File>
+ <File
+ RelativePath="src\common\windows\http_upload.cc"
+ >
+ </File>
+ <File
+ RelativePath="src\client\windows\sender\crash_report_sender.h"
+ >
+ </File>
+ <File
+ RelativePath="src\common\windows\http_upload.h"
+ >
+ </File>
+ </Files>
+</VisualStudioProject>
diff --git a/breakpad/symupload.exe b/breakpad/symupload.exe
new file mode 100644
index 0000000..a0dd274
--- /dev/null
+++ b/breakpad/symupload.exe
Binary files differ
diff --git a/breakpad/using_breakpad.vsprops b/breakpad/using_breakpad.vsprops
new file mode 100644
index 0000000..7d7ab92
--- /dev/null
+++ b/breakpad/using_breakpad.vsprops
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="using_breakpad"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ AdditionalIncludeDirectories="&quot;$(SolutionDir)..\breakpad\src&quot;"
+ />
+</VisualStudioPropertySheet>