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

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: Linux-specific utils moved to linux/ 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 'target_name': 'cast_base', 55 'target_name': 'cast_base',
56 'type': '<(component)', 56 'type': '<(component)',
57 'dependencies': [ 57 'dependencies': [
58 '../base/base.gyp:base', 58 '../base/base.gyp:base',
59 ], 59 ],
60 'sources': [ 60 'sources': [
61 'base/cast_paths.cc', 61 'base/cast_paths.cc',
62 'base/cast_paths.h', 62 'base/cast_paths.h',
63 'base/chromecast_switches.cc', 63 'base/chromecast_switches.cc',
64 'base/chromecast_switches.h', 64 'base/chromecast_switches.h',
65 'base/error_codes.cc',
66 'base/error_codes.h',
65 'base/metrics/cast_histograms.h', 67 'base/metrics/cast_histograms.h',
66 'base/metrics/cast_metrics_helper.cc', 68 'base/metrics/cast_metrics_helper.cc',
67 'base/metrics/cast_metrics_helper.h', 69 'base/metrics/cast_metrics_helper.h',
68 'base/metrics/grouped_histogram.cc', 70 'base/metrics/grouped_histogram.cc',
69 'base/metrics/grouped_histogram.h', 71 'base/metrics/grouped_histogram.h',
70 'base/path_utils.cc', 72 'base/path_utils.cc',
71 'base/path_utils.h', 73 'base/path_utils.h',
72 'base/process_utils.cc', 74 'base/process_utils.cc',
73 'base/process_utils.h', 75 'base/process_utils.h',
74 'base/serializers.cc', 76 'base/serializers.cc',
75 'base/serializers.h' 77 'base/serializers.h'
76 ], 78 ],
77 }, # end of target 'cast_base' 79 }, # end of target 'cast_base'
78 { 80 {
79 'target_name': 'cast_crash_client', 81 'target_name': 'cast_crash',
80 'type': '<(component)', 82 'type': '<(component)',
83 'include_dirs': [
84 # TODO(gfhuang): we should not need to include this directly, but
85 # somehow depending on component.gyp:breakpad_component is not
86 # working as expected.
87 '../breakpad/src',
88 ],
89
81 'dependencies': [ 90 'dependencies': [
91 'cast_base',
92 'cast_version_header',
82 '../breakpad/breakpad.gyp:breakpad_client', 93 '../breakpad/breakpad.gyp:breakpad_client',
83 '../components/components.gyp:crash_component', 94 '../components/components.gyp:crash_component',
84 ], 95 ],
96
85 'sources': [ 97 'sources': [
98 'crash/app_state_tracker.cc',
99 'crash/app_state_tracker.h',
86 'crash/cast_crash_keys.cc', 100 'crash/cast_crash_keys.cc',
87 'crash/cast_crash_keys.h', 101 'crash/cast_crash_keys.h',
88 'crash/cast_crash_reporter_client.cc', 102 'crash/cast_crashdump_uploader.cc',
89 'crash/cast_crash_reporter_client.h', 103 'crash/cast_crashdump_uploader.h',
90 ], 104 ],
105
106 #TODO(slan): This should not be necessary. Remove.
91 'conditions': [ 107 'conditions': [
92 ['chromecast_branding=="Chrome"', { 108 ['OS!="android"', {
93 'dependencies': [
94 'internal/chromecast_internal.gyp:crash_internal',
95 ],
96 }, {
97 'sources': [ 109 'sources': [
98 'crash/cast_crash_reporter_client_simple.cc', 110 'crash/linux/crash_util.cc',
111 'crash/linux/crash_util.h',
112 'crash/linux/cast_crash_reporter_client.cc',
113 'crash/linux/cast_crash_reporter_client.h',
114 'crash/linux/dummy_minidump_generator.cc',
115 'crash/linux/dummy_minidump_generator.h',
116 'crash/linux/dump_info.cc',
117 'crash/linux/dump_info.h',
118 'crash/linux/minidump_generator.h',
119 'crash/linux/minidump_manager.cc',
120 'crash/linux/minidump_manager.h',
121 'crash/linux/minidump_params.cc',
122 'crash/linux/minidump_params.h',
123 'crash/linux/minidump_writer.cc',
124 'crash/linux/minidump_writer.h',
99 ], 125 ],
100 }], 126 }],
101 ] 127 ],
102 }, # end of target 'cast_crash_client' 128 }, # end of target 'cast_crash'
103 { 129 {
104 'target_name': 'cast_net', 130 'target_name': 'cast_net',
105 'type': '<(component)', 131 'type': '<(component)',
106 'sources': [ 132 'sources': [
107 'net/connectivity_checker.cc', 133 'net/connectivity_checker.cc',
108 'net/connectivity_checker.h', 134 'net/connectivity_checker.h',
109 'net/connectivity_checker_impl.cc', 135 'net/connectivity_checker_impl.cc',
110 'net/connectivity_checker_impl.h', 136 'net/connectivity_checker_impl.h',
111 'net/fake_connectivity_checker.cc', 137 'net/fake_connectivity_checker.cc',
112 'net/fake_connectivity_checker.h', 138 'net/fake_connectivity_checker.h',
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 }], 219 }],
194 ], 220 ],
195 }, # end of target 'cast_shell_pak' 221 }, # end of target 'cast_shell_pak'
196 # This target contains all content-embedder implementation that is 222 # This target contains all content-embedder implementation that is
197 # non-platform-specific. 223 # non-platform-specific.
198 { 224 {
199 'target_name': 'cast_shell_common', 225 'target_name': 'cast_shell_common',
200 'type': '<(component)', 226 'type': '<(component)',
201 'dependencies': [ 227 'dependencies': [
202 'cast_base', 228 'cast_base',
203 'cast_crash_client', 229 'cast_crash',
204 'cast_net', 230 'cast_net',
205 'cast_shell_pak', 231 'cast_shell_pak',
206 'cast_shell_resources', 232 'cast_shell_resources',
207 'cast_sys_info', 233 'cast_sys_info',
208 'cast_version_header', 234 'cast_version_header',
209 'chromecast_locales.gyp:chromecast_locales_pak', 235 'chromecast_locales.gyp:chromecast_locales_pak',
210 'chromecast_locales.gyp:chromecast_settings', 236 'chromecast_locales.gyp:chromecast_settings',
211 'media/media.gyp:media_base', 237 'media/media.gyp:media_base',
212 'media/media.gyp:media_cdm', 238 'media/media.gyp:media_cdm',
213 '../base/base.gyp:base', 239 '../base/base.gyp:base',
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 'sources': [ 679 'sources': [
654 'graphics/cast_egl_platform_default.cc', 680 'graphics/cast_egl_platform_default.cc',
655 'graphics/graphics_properties_default.cc', 681 'graphics/graphics_properties_default.cc',
656 'graphics/osd_plane_default.cc' 682 'graphics/osd_plane_default.cc'
657 ], 683 ],
658 } 684 }
659 ] 685 ]
660 }], 686 }],
661 ], # end of conditions 687 ], # end of conditions
662 } 688 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698