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
This commit is contained in:
@ -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",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -13,6 +13,10 @@ source_set("lib") {
|
||||
"crash_keys_win.cc",
|
||||
"crash_keys_win.h",
|
||||
]
|
||||
|
||||
include_dirs = [
|
||||
"../../../breakpad/src",
|
||||
]
|
||||
}
|
||||
|
||||
# Note: if you depend on this target, you need to either link in
|
||||
@ -51,7 +55,7 @@ source_set("app") {
|
||||
} else if (is_win) {
|
||||
deps += [
|
||||
"//sandbox",
|
||||
#'../breakpad/breakpad.gyp:breakpad_handler', TODO(GYP)
|
||||
"//breakpad:breakpad_handler",
|
||||
#'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP)
|
||||
]
|
||||
} else if (is_posix && !is_ios &&
|
||||
|
Reference in New Issue
Block a user