• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2014 Google Inc. All rights reserved.
2#
3# Redistribution and use in source and binary forms, with or without
4# modification, are permitted provided that the following conditions are
5# met:
6#
7#     * Redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer.
9#     * Redistributions in binary form must reproduce the above
10# copyright notice, this list of conditions and the following disclaimer
11# in the documentation and/or other materials provided with the
12# distribution.
13#     * Neither the name of Google Inc. nor the names of its
14# contributors may be used to endorse or promote products derived from
15# this software without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29{
30  'target_defaults': {
31    'include_dirs': [
32      '../..',
33    ],
34  },
35  'targets': [
36    {
37      'target_name': 'crash_report',
38      'type': 'executable',
39      'sources': [
40        'crash_report/crash_report.mm',
41        'crash_report/on_demand_symbol_supplier.h',
42        'crash_report/on_demand_symbol_supplier.mm',
43      ],
44      'link_settings': {
45        'libraries': [
46          '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
47        ],
48      },
49      'dependencies': [
50        '../common/common.gyp:common',
51        '../processor/processor.gyp:processor',
52      ],
53    },
54    {
55      'target_name': 'dump_syms',
56      'type': 'executable',
57      'sources': [
58        'dump_syms/dump_syms_tool.mm',
59      ],
60      'link_settings': {
61        'libraries': [
62          '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
63        ],
64      },
65      'dependencies': [
66        '../common/common.gyp:common',
67      ],
68    },
69    {
70      'target_name': 'macho_dump',
71      'type': 'executable',
72      'sources': [
73        'dump_syms/macho_dump.cc',
74      ],
75      'dependencies': [
76        '../common/common.gyp:common',
77      ],
78    },
79    {
80      'target_name': 'minidump_upload',
81      'type': 'executable',
82      'sources': [
83        'symupload/minidump_upload.m',
84      ],
85      'include_dirs': [
86        '../../common/mac',
87      ],
88      'link_settings': {
89        'libraries': [
90          '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
91        ],
92      },
93      'dependencies': [
94        '../common/common.gyp:common',
95      ],
96    },
97    {
98      'target_name': 'symupload',
99      'type': 'executable',
100      'sources': [
101        'symupload/symupload.m',
102      ],
103      'include_dirs': [
104        '../../common/mac',
105      ],
106      'link_settings': {
107        'libraries': [
108          '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
109        ],
110      },
111      'dependencies': [
112        '../common/common.gyp:common',
113      ],
114    },
115  ],
116}
117