summaryrefslogtreecommitdiffstats
path: root/breakpad
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-07 02:27:56 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-07 02:27:56 +0000
commite58447ea4400f840be88eb33b000dca32b450ee3 (patch)
tree93ef36f30444be3d0249029f8fb1d5396410ec63 /breakpad
parentc9ce4465e754ec06f0fed50227e06bcbe9a4c1ca (diff)
downloadchromium_src-e58447ea4400f840be88eb33b000dca32b450ee3.zip
chromium_src-e58447ea4400f840be88eb33b000dca32b450ee3.tar.gz
chromium_src-e58447ea4400f840be88eb33b000dca32b450ee3.tar.bz2
gn win: Add breakpad_handler target, necessary to compile breakpad on win
(due to direct_dependent include_dirs) R=brettw@chromium.org TBR=thestig@chromium.org BUG=354261 Review URL: https://codereview.chromium.org/448743003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287930 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'breakpad')
-rw-r--r--breakpad/BUILD.gn31
1 files changed, 31 insertions, 0 deletions
diff --git a/breakpad/BUILD.gn b/breakpad/BUILD.gn
index bfec412..0ae5a2b 100644
--- a/breakpad/BUILD.gn
+++ b/breakpad/BUILD.gn
@@ -31,6 +31,11 @@ config("client_config") {
}
}
+config("handler_config") {
+ include_dirs = [
+ "src",
+ ]
+}
# minidump_stackwalk and minidump_dump are tool-type executables that do
# not build on iOS.
@@ -657,4 +662,30 @@ if (is_win) {
group("client") {
direct_dependent_configs = [ ":client_config" ]
}
+
+ source_set("breakpad_handler") {
+ configs += [ ":handler_config" ]
+ if (is_win) {
+ direct_dependent_configs = [ ":handler_config" ]
+ }
+
+ defines = [ "BREAKPAD_NO_TERMINATE_THREAD" ]
+
+ sources = [
+ "src/client/windows/crash_generation/client_info.cc",
+ "src/client/windows/crash_generation/client_info.h",
+ "src/client/windows/crash_generation/crash_generation_client.cc",
+ "src/client/windows/crash_generation/crash_generation_client.h",
+ "src/client/windows/crash_generation/crash_generation_server.cc",
+ "src/client/windows/crash_generation/crash_generation_server.h",
+ "src/client/windows/handler/exception_handler.cc",
+ "src/client/windows/handler/exception_handler.h",
+ "src/common/windows/guid_string.cc",
+ "src/common/windows/guid_string.h",
+ "src/google_breakpad/common/minidump_format.h",
+ "src/client/windows/crash_generation/minidump_generator.cc",
+ "src/client/windows/crash_generation/minidump_generator.h",
+ "src/common/windows/string_utils-inl.h",
+ ]
+ }
}