Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / breakpad / src / processor / processor.gyp
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   'includes': [
31     'processor_tools.gypi',
32   ],
33   'targets': [
34     {
35       'target_name': 'processor',
36       'type': 'static_library',
37       'sources': [
38         'address_map-inl.h',
39         'address_map.h',
40         'basic_code_module.h',
41         'basic_code_modules.cc',
42         'basic_code_modules.h',
43         'basic_source_line_resolver.cc',
44         'basic_source_line_resolver_types.h',
45         'binarystream.cc',
46         'binarystream.h',
47         'call_stack.cc',
48         'cfi_frame_info-inl.h',
49         'cfi_frame_info.cc',
50         'cfi_frame_info.h',
51         'contained_range_map-inl.h',
52         'contained_range_map.h',
53         'disassembler_x86.cc',
54         'disassembler_x86.h',
55         'exploitability.cc',
56         'exploitability_linux.cc',
57         'exploitability_linux.h',
58         'exploitability_win.cc',
59         'exploitability_win.h',
60         'fast_source_line_resolver.cc',
61         'fast_source_line_resolver_types.h',
62         'linked_ptr.h',
63         'logging.cc',
64         'logging.h',
65         'map_serializers-inl.h',
66         'map_serializers.h',
67         'minidump.cc',
68         'minidump_processor.cc',
69         'module_comparer.cc',
70         'module_comparer.h',
71         'module_factory.h',
72         'module_serializer.cc',
73         'module_serializer.h',
74         'pathname_stripper.cc',
75         'pathname_stripper.h',
76         'postfix_evaluator-inl.h',
77         'postfix_evaluator.h',
78         'process_state.cc',
79         'range_map-inl.h',
80         'range_map.h',
81         'simple_serializer-inl.h',
82         'simple_serializer.h',
83         'simple_symbol_supplier.cc',
84         'simple_symbol_supplier.h',
85         'source_line_resolver_base.cc',
86         'source_line_resolver_base_types.h',
87         'stack_frame_cpu.cc',
88         'stack_frame_symbolizer.cc',
89         'stackwalker.cc',
90         'stackwalker_address_list.cc',
91         'stackwalker_address_list.h',
92         'stackwalker_amd64.cc',
93         'stackwalker_amd64.h',
94         'stackwalker_arm.cc',
95         'stackwalker_arm.h',
96         'stackwalker_arm64.cc',
97         'stackwalker_arm64.h',
98         'stackwalker_mips.cc',
99         'stackwalker_mips.h',
100         'stackwalker_ppc.cc',
101         'stackwalker_ppc.h',
102         'stackwalker_ppc64.cc',
103         'stackwalker_ppc64.h',
104         'stackwalker_selftest.cc',
105         'stackwalker_sparc.cc',
106         'stackwalker_sparc.h',
107         'stackwalker_x86.cc',
108         'stackwalker_x86.h',
109         'static_address_map-inl.h',
110         'static_address_map.h',
111         'static_contained_range_map-inl.h',
112         'static_contained_range_map.h',
113         'static_map-inl.h',
114         'static_map.h',
115         'static_map_iterator-inl.h',
116         'static_map_iterator.h',
117         'static_range_map-inl.h',
118         'static_range_map.h',
119         'synth_minidump.cc',
120         'synth_minidump.h',
121         'tokenize.cc',
122         'tokenize.h',
123         'windows_frame_info.h',
124       ],
125       'include_dirs': [
126         '..',
127       ],
128       'dependencies': [
129         '../common/common.gyp:common',
130         '../third_party/libdisasm/libdisasm.gyp:libdisasm',
131       ],
132     },
133     {
134       'target_name': 'processor_unittests',
135       'type': 'executable',
136       'sources': [
137         'address_map_unittest.cc',
138         'basic_source_line_resolver_unittest.cc',
139         'binarystream_unittest.cc',
140         'cfi_frame_info_unittest.cc',
141         'contained_range_map_unittest.cc',
142         'disassembler_x86_unittest.cc',
143         'exploitability_unittest.cc',
144         'fast_source_line_resolver_unittest.cc',
145         'map_serializers_unittest.cc',
146         'minidump_processor_unittest.cc',
147         'minidump_unittest.cc',
148         'pathname_stripper_unittest.cc',
149         'postfix_evaluator_unittest.cc',
150         'range_map_unittest.cc',
151         'stackwalker_address_list_unittest.cc',
152         'stackwalker_amd64_unittest.cc',
153         'stackwalker_arm64_unittest.cc',
154         'stackwalker_arm_unittest.cc',
155         'stackwalker_mips_unittest.cc',
156         'stackwalker_unittest_utils.h',
157         'stackwalker_x86_unittest.cc',
158         'static_address_map_unittest.cc',
159         'static_contained_range_map_unittest.cc',
160         'static_map_unittest.cc',
161         'static_range_map_unittest.cc',
162         'synth_minidump_unittest.cc',
163         'synth_minidump_unittest_data.h',
164       ],
165       'include_dirs': [
166         '..',
167       ],
168       'dependencies': [
169         'processor',
170         '../build/testing.gypi:gmock',
171         '../build/testing.gypi:gtest',
172       ],
173     },
174   ],
175 }