2014-08-20 18:30:19 -04:00
|
|
|
# Copyright 2014 The Crashpad Authors. All rights reserved.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
{
|
2015-03-08 15:17:22 -04:00
|
|
|
'includes': [
|
|
|
|
'../build/crashpad.gypi',
|
|
|
|
],
|
2014-08-20 18:30:19 -04:00
|
|
|
'targets': [
|
|
|
|
{
|
2015-03-08 16:25:34 -04:00
|
|
|
'target_name': 'crashpad_client',
|
2014-08-20 18:30:19 -04:00
|
|
|
'type': 'static_library',
|
|
|
|
'dependencies': [
|
2015-12-09 17:31:10 -05:00
|
|
|
'../compat/compat.gyp:crashpad_compat',
|
2015-03-09 15:25:42 -04:00
|
|
|
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
2015-03-08 16:25:34 -04:00
|
|
|
'../util/util.gyp:crashpad_util',
|
2014-08-20 18:30:19 -04:00
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'..',
|
|
|
|
],
|
|
|
|
'sources': [
|
2017-10-25 16:57:44 -04:00
|
|
|
'annotation.cc',
|
|
|
|
'annotation.h',
|
|
|
|
'annotation_list.cc',
|
|
|
|
'annotation_list.h',
|
2015-02-11 12:17:05 -08:00
|
|
|
'crash_report_database.cc',
|
|
|
|
'crash_report_database.h',
|
|
|
|
'crash_report_database_mac.mm',
|
|
|
|
'crash_report_database_win.cc',
|
2014-12-30 14:24:52 -05:00
|
|
|
'crashpad_client.h',
|
2018-02-01 10:39:32 -08:00
|
|
|
'crashpad_client_linux.cc',
|
2014-12-30 14:24:52 -05:00
|
|
|
'crashpad_client_mac.cc',
|
2015-04-29 18:53:47 -07:00
|
|
|
'crashpad_client_win.cc',
|
2014-10-17 13:47:02 -04:00
|
|
|
'crashpad_info.cc',
|
|
|
|
'crashpad_info.h',
|
2015-10-07 17:01:47 -04:00
|
|
|
'prune_crash_reports.cc',
|
|
|
|
'prune_crash_reports.h',
|
2015-03-09 18:47:52 -04:00
|
|
|
'settings.cc',
|
|
|
|
'settings.h',
|
2014-08-22 13:52:28 -04:00
|
|
|
'simple_string_dictionary.h',
|
2016-02-26 14:42:47 -08:00
|
|
|
'simple_address_range_bag.h',
|
2014-10-17 12:30:55 -04:00
|
|
|
'simulate_crash.h',
|
2018-02-20 16:16:22 -08:00
|
|
|
'simulate_crash_linux.h',
|
2014-10-17 12:30:55 -04:00
|
|
|
'simulate_crash_mac.cc',
|
|
|
|
'simulate_crash_mac.h',
|
2015-09-25 13:45:32 -07:00
|
|
|
'simulate_crash_win.h',
|
2014-08-20 18:30:19 -04:00
|
|
|
],
|
2015-02-11 12:17:05 -08:00
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lrpcrt4.lib',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2018-02-15 10:38:36 -08:00
|
|
|
['OS=="linux" or OS=="android"', {
|
|
|
|
'sources': [
|
2018-04-12 12:33:22 -07:00
|
|
|
'client_argv_handling.cc',
|
|
|
|
'client_argv_handling.h',
|
2018-02-15 10:38:36 -08:00
|
|
|
'crashpad_info_note.S',
|
2018-02-19 10:25:51 -08:00
|
|
|
'crash_report_database_generic.cc',
|
2018-02-15 10:38:36 -08:00
|
|
|
],
|
|
|
|
}],
|
2015-02-11 12:17:05 -08:00
|
|
|
],
|
2018-02-15 14:33:41 -08:00
|
|
|
'target_conditions': [
|
|
|
|
['OS=="android"', {
|
|
|
|
'sources/': [
|
|
|
|
['include', '^crashpad_client_linux\\.cc$'],
|
2018-02-20 16:16:22 -08:00
|
|
|
['include', '^simulate_crash_linux\\.h$'],
|
2018-02-15 14:33:41 -08:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2015-03-12 17:21:43 -04:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'..',
|
|
|
|
],
|
|
|
|
},
|
2014-08-20 18:30:19 -04:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|