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

Side by Side Diff: chromecast/chromecast.gyp

Issue 1154383006: Adding crash utilities to chromecast/crash. (Closed) Base URL: https://eureka-internal.googlesource.com/chromium/src@master
Patch Set: Moved android crash client to app/ to keep dependencies consistent Created 5 years, 6 months 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'android_support_v13_target%': 7 'android_support_v13_target%':
8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java lib', 8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java lib',
9 'cast_build_release': 'internal/build/cast_build_release', 9 'cast_build_release': 'internal/build/cast_build_release',
10 'cast_is_debug_build%': 0, 10 'cast_is_debug_build%': 0,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 'target_name': 'cast_base', 56 'target_name': 'cast_base',
57 'type': '<(component)', 57 'type': '<(component)',
58 'dependencies': [ 58 'dependencies': [
59 '../base/base.gyp:base', 59 '../base/base.gyp:base',
60 ], 60 ],
61 'sources': [ 61 'sources': [
62 'base/cast_paths.cc', 62 'base/cast_paths.cc',
63 'base/cast_paths.h', 63 'base/cast_paths.h',
64 'base/chromecast_switches.cc', 64 'base/chromecast_switches.cc',
65 'base/chromecast_switches.h', 65 'base/chromecast_switches.h',
66 'base/error_codes.cc',
67 'base/error_codes.h',
66 'base/metrics/cast_histograms.h', 68 'base/metrics/cast_histograms.h',
67 'base/metrics/cast_metrics_helper.cc', 69 'base/metrics/cast_metrics_helper.cc',
68 'base/metrics/cast_metrics_helper.h', 70 'base/metrics/cast_metrics_helper.h',
69 'base/metrics/grouped_histogram.cc', 71 'base/metrics/grouped_histogram.cc',
70 'base/metrics/grouped_histogram.h', 72 'base/metrics/grouped_histogram.h',
71 'base/path_utils.cc', 73 'base/path_utils.cc',
72 'base/path_utils.h', 74 'base/path_utils.h',
73 'base/process_utils.cc', 75 'base/process_utils.cc',
74 'base/process_utils.h', 76 'base/process_utils.h',
75 'base/serializers.cc', 77 'base/serializers.cc',
76 'base/serializers.h' 78 'base/serializers.h'
77 ], 79 ],
78 }, # end of target 'cast_base' 80 }, # end of target 'cast_base'
79 { 81 {
82 'target_name': 'cast_crash',
83 'type': '<(component)',
84 'include_dirs': [
85 # TODO(gfhuang): we should not need to include this directly, but
86 # somehow depending on component.gyp:breakpad_component is not
87 # working as expected.
88 '../breakpad/src',
89 ],
90
91 'dependencies': [
92 'cast_base',
93 'cast_version_header',
94 '../breakpad/breakpad.gyp:breakpad_client',
95 ],
96
gunsch 2015/06/22 22:37:52 nit: rm blank line (before/after dependencies)
slan 2015/06/22 23:28:13 Done.
97 'sources': [
98 'crash/app_state_tracker.cc',
99 'crash/app_state_tracker.h',
100 'crash/cast_crash_keys.cc',
101 'crash/cast_crash_keys.h',
102 'crash/cast_crashdump_uploader.cc',
103 'crash/cast_crashdump_uploader.h',
104 'crash/linux/crash_util.cc',
105 'crash/linux/crash_util.h',
106 'crash/linux/dummy_minidump_generator.cc',
107 'crash/linux/dummy_minidump_generator.h',
108 'crash/linux/dump_info.cc',
109 'crash/linux/dump_info.h',
110 'crash/linux/minidump_generator.h',
111 'crash/linux/synchronized_minidump_manager.cc',
112 'crash/linux/synchronized_minidump_manager.h',
113 'crash/linux/minidump_params.cc',
114 'crash/linux/minidump_params.h',
115 'crash/linux/minidump_writer.cc',
116 'crash/linux/minidump_writer.h',
117 ],
118 }, # end of target 'cast_crash'
119 {
80 'target_name': 'cast_crash_client', 120 'target_name': 'cast_crash_client',
81 'type': '<(component)', 121 'type': '<(component)',
82 'dependencies': [ 122 'dependencies': [
83 '../breakpad/breakpad.gyp:breakpad_client', 123 'cast_crash',
84 '../components/components.gyp:crash_component', 124 '../components/components.gyp:crash_component',
125 '../content/content.gyp:content_common',
85 ], 126 ],
86 'sources': [ 127 'sources' : [
87 'crash/cast_crash_keys.cc', 128 'app/android/cast_crash_reporter_client_android.cc',
88 'crash/cast_crash_keys.h', 129 'app/android/cast_crash_reporter_client_android.h',
89 'crash/cast_crash_reporter_client.cc', 130 'app/linux/cast_crash_reporter_client.cc',
90 'crash/cast_crash_reporter_client.h', 131 'app/linux/cast_crash_reporter_client.h',
91 ], 132 ],
92 'conditions': [ 133 }, # end of targer 'cast_crash_client'
93 ['chromecast_branding=="Chrome"', {
94 'dependencies': [
95 'internal/chromecast_internal.gyp:crash_internal',
96 ],
97 }, {
98 'sources': [
99 'crash/cast_crash_reporter_client_simple.cc',
100 ],
101 }],
102 ]
103 }, # end of target 'cast_crash_client'
104 { 134 {
105 'target_name': 'cast_net', 135 'target_name': 'cast_net',
106 'type': '<(component)', 136 'type': '<(component)',
107 'sources': [ 137 'sources': [
108 'net/connectivity_checker.cc', 138 'net/connectivity_checker.cc',
109 'net/connectivity_checker.h', 139 'net/connectivity_checker.h',
110 'net/connectivity_checker_impl.cc', 140 'net/connectivity_checker_impl.cc',
111 'net/connectivity_checker_impl.h', 141 'net/connectivity_checker_impl.h',
112 'net/fake_connectivity_checker.cc', 142 'net/fake_connectivity_checker.cc',
113 'net/fake_connectivity_checker.h', 143 'net/fake_connectivity_checker.h',
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 '<(PRODUCT_DIR)/icudtl.dat', 456 '<(PRODUCT_DIR)/icudtl.dat',
427 '<(PRODUCT_DIR)/natives_blob.bin', 457 '<(PRODUCT_DIR)/natives_blob.bin',
428 '<(PRODUCT_DIR)/snapshot_blob.bin', 458 '<(PRODUCT_DIR)/snapshot_blob.bin',
429 ], 459 ],
430 }], 460 }],
431 }, 461 },
432 { 462 {
433 'target_name': 'libcast_shell_android', 463 'target_name': 'libcast_shell_android',
434 'type': 'shared_library', 464 'type': 'shared_library',
435 'dependencies': [ 465 'dependencies': [
466 'cast_crash_client',
436 'cast_jni_headers', 467 'cast_jni_headers',
437 'cast_shell_common', 468 'cast_shell_common',
438 'cast_shell_icudata', 469 'cast_shell_icudata',
439 'cast_shell_pak', 470 'cast_shell_pak',
440 'cast_version_header', 471 'cast_version_header',
441 '../base/base.gyp:base', 472 '../base/base.gyp:base',
442 '../breakpad/breakpad.gyp:breakpad_client', 473 '../breakpad/breakpad.gyp:breakpad_client',
443 '../components/components.gyp:breakpad_host', 474 '../components/components.gyp:breakpad_host',
444 '../components/components.gyp:crash_component', 475 '../components/components.gyp:crash_component',
445 '../components/components.gyp:external_video_surface', 476 '../components/components.gyp:external_video_surface',
446 '../content/content.gyp:content', 477 '../content/content.gyp:content',
447 '../skia/skia.gyp:skia', 478 '../skia/skia.gyp:skia',
448 '../ui/gfx/gfx.gyp:gfx', 479 '../ui/gfx/gfx.gyp:gfx',
449 '../ui/gl/gl.gyp:gl', 480 '../ui/gl/gl.gyp:gl',
450 ], 481 ],
451 'include_dirs': [ 482 'include_dirs': [
452 '../breakpad/src', 483 '../breakpad/src',
453 ], 484 ],
454 'sources': [ 485 'sources': [
455 'base/cast_sys_info_android.cc',
456 'base/cast_sys_info_android.h',
457 'base/chromecast_config_android.cc',
458 'base/chromecast_config_android.h',
459 'android/cast_jni_registrar.cc', 486 'android/cast_jni_registrar.cc',
460 'android/cast_jni_registrar.h', 487 'android/cast_jni_registrar.h',
461 'android/cast_metrics_helper_android.cc', 488 'android/cast_metrics_helper_android.cc',
462 'android/cast_metrics_helper_android.h', 489 'android/cast_metrics_helper_android.h',
463 'android/platform_jni_loader.h', 490 'android/platform_jni_loader.h',
464 'app/android/cast_jni_loader.cc', 491 'app/android/cast_jni_loader.cc',
492 'app/android/crash_handler.cc',
493 'app/android/crash_handler.h',
494 'base/cast_sys_info_android.cc',
495 'base/cast_sys_info_android.h',
496 'base/chromecast_config_android.cc',
497 'base/chromecast_config_android.h',
465 'browser/android/cast_window_android.cc', 498 'browser/android/cast_window_android.cc',
466 'browser/android/cast_window_android.h', 499 'browser/android/cast_window_android.h',
467 'browser/android/cast_window_manager.cc', 500 'browser/android/cast_window_manager.cc',
468 'browser/android/cast_window_manager.h', 501 'browser/android/cast_window_manager.h',
469 'crash/android/cast_crash_reporter_client_android.cc',
470 'crash/android/cast_crash_reporter_client_android.h',
471 'crash/android/crash_handler.cc',
472 'crash/android/crash_handler.h',
473 ], 502 ],
474 'conditions': [ 503 'conditions': [
475 ['chromecast_branding=="Chrome"', { 504 ['chromecast_branding=="Chrome"', {
476 'dependencies': [ 505 'dependencies': [
477 'internal/chromecast_internal.gyp:cast_shell_android_internal' 506 'internal/chromecast_internal.gyp:cast_shell_android_internal'
478 ], 507 ],
479 }, { 508 }, {
480 'sources': [ 509 'sources': [
481 'android/platform_jni_loader_stub.cc', 510 'android/platform_jni_loader_stub.cc',
482 ], 511 ],
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 'sources': [ 694 'sources': [
666 'graphics/cast_egl_platform_default.cc', 695 'graphics/cast_egl_platform_default.cc',
667 'graphics/graphics_properties_default.cc', 696 'graphics/graphics_properties_default.cc',
668 'graphics/osd_plane_default.cc' 697 'graphics/osd_plane_default.cc'
669 ], 698 ],
670 } 699 }
671 ] 700 ]
672 }], 701 }],
673 ], # end of conditions 702 ], # end of conditions
674 } 703 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698