summaryrefslogtreecommitdiffstats
path: root/breakpad
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-23 22:09:51 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-23 22:09:51 +0000
commitadf0e224080f260ae9533f160e49a3bdd546af2f (patch)
treee1bf6ae8be52d9d9a782ce4e51ce9daf70af1b6f /breakpad
parentd745d8b08663cfe77e2d91e10a258b852f73c810 (diff)
downloadchromium_src-adf0e224080f260ae9533f160e49a3bdd546af2f.zip
chromium_src-adf0e224080f260ae9533f160e49a3bdd546af2f.tar.gz
chromium_src-adf0e224080f260ae9533f160e49a3bdd546af2f.tar.bz2
Add breakpad component to GN build.
Comment the breakpad gyp file. R=jamesr@chromium.org Review URL: https://codereview.chromium.org/413863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'breakpad')
-rw-r--r--breakpad/BUILD.gn31
-rw-r--r--breakpad/breakpad.gyp18
2 files changed, 34 insertions, 15 deletions
diff --git a/breakpad/BUILD.gn b/breakpad/BUILD.gn
index 53454ac..6fef7b0 100644
--- a/breakpad/BUILD.gn
+++ b/breakpad/BUILD.gn
@@ -206,7 +206,7 @@ if (current_toolchain == host_toolchain && is_mac) {
}
if (is_mac) {
- static_library("breakpad_utilities") {
+ static_library("utilities") {
sources = [
"src/client/mac/handler/breakpad_nlist_64.cc",
"src/client/mac/handler/dynamic_images.cc",
@@ -248,7 +248,7 @@ if (is_mac) {
]
deps = [
- ":breakpad_utilities"
+ ":utilities"
]
}
@@ -279,7 +279,7 @@ if (is_mac) {
]
deps = [
- ":breakpad_utilities",
+ ":utilities",
":crash_inspector",
":crash_report_sender",
]
@@ -362,13 +362,14 @@ if (is_linux && current_toolchain == host_toolchain) {
include_dirs = [ "src" ]
}
- config("breakpad_client_config") {
+ config("client_config") {
+ include_dirs = [ "src" ]
if (is_android) {
- include_dirs = [ "src/common/android/include" ]
+ include_dirs += [ "src/common/android/include" ]
}
}
- static_library("breakpad_client") {
+ static_library("client") {
sources = [
"src/client/linux/crash_generation/crash_generation_client.cc",
"src/client/linux/crash_generation/crash_generation_client.h",
@@ -422,7 +423,7 @@ if (is_linux && current_toolchain == host_toolchain) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- direct_dependent_configs = [ ":breakpad_client_config" ]
+ direct_dependent_configs = [ ":client_config" ]
# Android NDK toolchain doesn't support -mimplicit-it=always
if (cpu_arch == "arm" && !is_android) {
@@ -448,7 +449,7 @@ if (is_linux && current_toolchain == host_toolchain) {
]
}
- static_library("breakpad_processor_support") {
+ static_library("processor_support") {
sources = [
"src/common/scoped_ptr.h",
"src/processor/basic_code_modules.cc",
@@ -498,8 +499,8 @@ if (is_linux && current_toolchain == host_toolchain) {
]
deps = [
- ":breakpad_client",
- ":breakpad_processor_support",
+ ":client",
+ ":processor_support",
":linux_dumper_unittest_helper",
"//testing/gtest",
"//testing/gtest:gtest_main",
@@ -534,7 +535,7 @@ if (is_linux && current_toolchain == host_toolchain) {
"src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc",
]
deps = [
- ":breakpad_processor_support",
+ ":processor_support",
]
include_dirs = [
@@ -556,7 +557,7 @@ if (is_linux && current_toolchain == host_toolchain) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":breakpad_client" ]
+ deps = [ ":client" ]
include_dirs = [ "src" ]
@@ -571,7 +572,7 @@ if (is_linux && current_toolchain == host_toolchain) {
include_dirs = [ "src" ]
- deps = [ ":breakpad_client" ]
+ deps = [ ":client" ]
}
executable("core-2-minidump") {
@@ -580,7 +581,7 @@ if (is_linux && current_toolchain == host_toolchain) {
]
deps = [
- ":breakpad_client",
+ ":client",
]
include_dirs = [ "src" ]
@@ -588,7 +589,7 @@ if (is_linux && current_toolchain == host_toolchain) {
}
if (is_ios) {
- static_library("breakpad_client") {
+ static_library("client") {
sources = [
"src/client/ios/Breakpad.h",
"src/client/ios/Breakpad.mm",
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp
index ca1286b..80cfc6a 100644
--- a/breakpad/breakpad.gyp
+++ b/breakpad/breakpad.gyp
@@ -13,6 +13,7 @@
['OS!="ios" and OS!="win"', {
'targets': [
{
+ # GN version: //breakpad:minidump_stackwalk
'target_name': 'minidump_stackwalk',
'type': 'executable',
'includes': ['breakpad_tools.gypi'],
@@ -96,6 +97,7 @@
],
},
{
+ # GN version: //breakpad:minidump_dump
'target_name': 'minidump_dump',
'type': 'executable',
'includes': ['breakpad_tools.gypi'],
@@ -129,6 +131,7 @@
},
'targets': [
{
+ # GN version: //breakpad:dump_syms
'target_name': 'dump_syms',
'type': 'executable',
'toolsets': ['host'],
@@ -194,6 +197,7 @@
},
},
{
+ # GN version: //breakpad:symupload
'target_name': 'symupload',
'type': 'executable',
'toolsets': ['host'],
@@ -228,6 +232,7 @@
},
'targets': [
{
+ # GN version: //breakpad:utilities
'target_name': 'breakpad_utilities',
'type': 'static_library',
'sources': [
@@ -250,6 +255,7 @@
],
},
{
+ # GN version: //breakpad:crash_inspector
'target_name': 'crash_inspector',
'type': 'executable',
'variables': {
@@ -275,6 +281,7 @@
}
},
{
+ # GN version: //breakpad:crash_report_sender
'target_name': 'crash_report_sender',
'type': 'executable',
'mac_bundle': 1,
@@ -311,6 +318,7 @@
}
},
{
+ # GN version: //breakpad
'target_name': 'breakpad',
'type': 'static_library',
'dependencies': [
@@ -351,6 +359,7 @@
# Tools needed for archiving build symbols.
'targets': [
{
+ # GN version: //breakpad:symupload
'target_name': 'symupload',
'type': 'executable',
@@ -372,6 +381,7 @@
},
},
{
+ # GN version: //breakpad:dump_syms
'target_name': 'dump_syms',
'type': 'executable',
'conditions': [
@@ -435,6 +445,7 @@
],
},
{
+ # GN version: //breakpad:client
'target_name': 'breakpad_client',
'type': 'static_library',
@@ -534,6 +545,7 @@
},
{
# Breakpad r693 uses some files from src/processor in unit tests.
+ # GN version: //breakpad:processor_support
'target_name': 'breakpad_processor_support',
'type': 'static_library',
@@ -557,6 +569,7 @@
],
},
{
+ # GN version: //breakpad:breakpad_unittests
'target_name': 'breakpad_unittests',
'type': 'executable',
'dependencies': [
@@ -623,6 +636,7 @@
],
},
{
+ # GN version: //breakpad:linux_dumper_unittest_helper
'target_name': 'linux_dumper_unittest_helper',
'type': 'executable',
'dependencies': [
@@ -645,6 +659,7 @@
],
},
{
+ # GN version: //breakpad:generate_test_dump
'target_name': 'generate_test_dump',
'type': 'executable',
@@ -672,6 +687,7 @@
],
},
{
+ # GN version: //breakpad:minidump-2-core
'target_name': 'minidump-2-core',
'type': 'executable',
@@ -689,6 +705,7 @@
],
},
{
+ # GN version: //breakpad:core-2-minidump
'target_name': 'core-2-minidump',
'type': 'executable',
@@ -710,6 +727,7 @@
['OS=="ios"', {
'targets': [
{
+ # GN version: //breakpad:client
'target_name': 'breakpad_client',
'type': 'static_library',
'sources': [