Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5444)

Unified Diff: chromecast/chromecast.gyp

Issue 731933005: Chromecast: adds crash handling for Linux build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/app/cast_main_delegate.cc ('k') | chromecast/crash/cast_crash_reporter_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/chromecast.gyp
diff --git a/chromecast/chromecast.gyp b/chromecast/chromecast.gyp
index 22a8085c6aa3f2ae3579559f232f92029f8e9bd8..c7e48f0cdcd1908e2edb0d1df9534e2230965ac7 100644
--- a/chromecast/chromecast.gyp
+++ b/chromecast/chromecast.gyp
@@ -105,6 +105,7 @@
'../base/base.gyp:base',
'../components/components.gyp:cdm_renderer',
'../components/components.gyp:component_metrics_proto',
+ '../components/components.gyp:crash_component',
'../components/components.gyp:metrics',
'../components/components.gyp:metrics_gpu',
'../components/components.gyp:metrics_net',
@@ -412,6 +413,29 @@
], # end of targets
}, { # OS != "android"
'targets': [
+ {
+ 'target_name': 'cast_crash_client',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../breakpad/breakpad.gyp:breakpad_client',
+ '../components/components.gyp:crash_component',
+ ],
+ 'sources': [
+ 'crash/cast_crash_reporter_client.cc',
+ 'crash/cast_crash_reporter_client.h',
+ ],
+ 'conditions': [
+ ['chromecast_branding=="Chrome"', {
+ 'dependencies': [
+ '<(cast_internal_gyp):crash_internal',
+ ],
+ }, {
+ 'sources': [
+ 'crash/cast_crash_reporter_client_simple.cc',
+ ],
+ }],
+ ]
+ }, # end of target 'cast_crash_client'
# This target contains all of the primary code of |cast_shell|, except
# for |main|. This allows end-to-end tests using |cast_shell|.
# This also includes all targets that cannot be built on Android.
@@ -419,6 +443,7 @@
'target_name': 'cast_shell_core',
'type': '<(component)',
'dependencies': [
+ 'cast_crash_client',
'cast_net',
'cast_shell_common',
'media/media.gyp:cast_media',
« no previous file with comments | « chromecast/app/cast_main_delegate.cc ('k') | chromecast/crash/cast_crash_reporter_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698