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': [
|
|
|
|
'capture_context_mac.S',
|
2015-02-11 12:17:05 -08:00
|
|
|
'capture_context_mac.h',
|
|
|
|
'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',
|
|
|
|
'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.cc',
|
|
|
|
'simple_string_dictionary.h',
|
2016-02-26 14:42:47 -08:00
|
|
|
'simple_address_range_bag.cc',
|
|
|
|
'simple_address_range_bag.h',
|
2014-10-17 12:30:55 -04:00
|
|
|
'simulate_crash.h',
|
|
|
|
'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',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2016-11-01 16:47:10 -04:00
|
|
|
['OS!="mac"', {
|
|
|
|
'sources!': [
|
|
|
|
'capture_context_mac.S',
|
|
|
|
],
|
|
|
|
}],
|
2015-02-11 12:17:05 -08:00
|
|
|
],
|
2015-03-12 17:21:43 -04:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'..',
|
|
|
|
],
|
|
|
|
},
|
2014-08-20 18:30:19 -04:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|