summaryrefslogtreecommitdiffstats
path: root/breakpad
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-30 00:40:03 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-30 00:40:03 +0000
commit6b5d2f943a91bf8a33642692cdf34d832ad3adea (patch)
tree0999856e609d547f9539268b9b211b1e844f883e /breakpad
parentd6cb41986a729ed1a42f4460145d42c199ec608b (diff)
downloadchromium_src-6b5d2f943a91bf8a33642692cdf34d832ad3adea.zip
chromium_src-6b5d2f943a91bf8a33642692cdf34d832ad3adea.tar.gz
chromium_src-6b5d2f943a91bf8a33642692cdf34d832ad3adea.tar.bz2
GN: Make chrome/{browser,common,renderer} compile on mac
This adds GN rules for google_toolbox_for_mac and generate_localize as well as fixing up various source issues that show up on the mac build. With this chrome/{browser,common,renderer} compile on mac (but probably don't fully link). R=brettw@chromium.org Review URL: https://codereview.chromium.org/407093015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286364 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'breakpad')
-rw-r--r--breakpad/BUILD.gn29
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" ]
+ }
+}