diff options
Diffstat (limited to 'breakpad')
-rw-r--r-- | breakpad/BUILD.gn | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/breakpad/BUILD.gn b/breakpad/BUILD.gn index 6fef7b0..bfec412 100644 --- a/breakpad/BUILD.gn +++ b/breakpad/BUILD.gn @@ -24,6 +24,14 @@ config("internal_config") { } } +config("client_config") { + include_dirs = [ "src" ] + if (is_android) { + include_dirs += [ "src/common/android/include" ] + } +} + + # minidump_stackwalk and minidump_dump are tool-type executables that do # not build on iOS. if (current_toolchain == host_toolchain && !is_win) { @@ -241,6 +249,7 @@ if (is_mac) { include_dirs = [ "src/client/apple/Framework", "src/common/mac", + "src", ] libs = [ "CoreServices.framework", @@ -281,9 +290,14 @@ if (is_mac) { deps = [ ":utilities", ":crash_inspector", - ":crash_report_sender", + # TODO(GYP): Make this link + #":crash_report_sender", ] } + + group("client") { + direct_dependent_configs = [ ":client_config" ] + } } if (is_linux || is_android) { @@ -362,13 +376,6 @@ if (is_linux && current_toolchain == host_toolchain) { include_dirs = [ "src" ] } - config("client_config") { - include_dirs = [ "src" ] - if (is_android) { - include_dirs += [ "src/common/android/include" ] - } - } - static_library("client") { sources = [ "src/client/linux/crash_generation/crash_generation_client.cc", @@ -645,3 +652,9 @@ if (is_ios) { # TODO(GYP) There is some XCode-only targets like ninja-breakpad. } + +if (is_win) { + group("client") { + direct_dependent_configs = [ ":client_config" ] + } +} |