1 # Copyright 2014 Google Inc. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are
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
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.
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.
31 'processor_tools.gypi',
35 'target_name': 'processor',
36 'type': 'static_library',
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',
48 'cfi_frame_info-inl.h',
51 'contained_range_map-inl.h',
52 'contained_range_map.h',
53 'disassembler_x86.cc',
58 'exploitability_linux.cc',
59 'exploitability_linux.h',
60 'exploitability_win.cc',
61 'exploitability_win.h',
62 'fast_source_line_resolver.cc',
63 'fast_source_line_resolver_types.h',
67 'map_serializers-inl.h',
69 'microdump_processor.cc',
71 'minidump_processor.cc',
75 'module_serializer.cc',
76 'module_serializer.h',
77 'pathname_stripper.cc',
78 'pathname_stripper.h',
79 'postfix_evaluator-inl.h',
80 'postfix_evaluator.h',
84 'simple_serializer-inl.h',
85 'simple_serializer.h',
86 'simple_symbol_supplier.cc',
87 'simple_symbol_supplier.h',
88 'source_line_resolver_base.cc',
89 'source_line_resolver_base_types.h',
91 'stack_frame_symbolizer.cc',
93 'stackwalker_address_list.cc',
94 'stackwalker_address_list.h',
95 'stackwalker_amd64.cc',
96 'stackwalker_amd64.h',
99 'stackwalker_arm64.cc',
100 'stackwalker_arm64.h',
101 'stackwalker_mips.cc',
102 'stackwalker_mips.h',
103 'stackwalker_ppc.cc',
105 'stackwalker_ppc64.cc',
106 'stackwalker_ppc64.h',
107 'stackwalker_selftest.cc',
108 'stackwalker_sparc.cc',
109 'stackwalker_sparc.h',
110 'stackwalker_x86.cc',
112 'static_address_map-inl.h',
113 'static_address_map.h',
114 'static_contained_range_map-inl.h',
115 'static_contained_range_map.h',
118 'static_map_iterator-inl.h',
119 'static_map_iterator.h',
120 'static_range_map-inl.h',
121 'static_range_map.h',
126 'windows_frame_info.h',
132 '../common/common.gyp:common',
133 '../third_party/libdisasm/libdisasm.gyp:libdisasm',
137 'target_name': 'processor_unittests',
138 'type': 'executable',
140 'address_map_unittest.cc',
141 'basic_source_line_resolver_unittest.cc',
142 'binarystream_unittest.cc',
143 'cfi_frame_info_unittest.cc',
144 'contained_range_map_unittest.cc',
145 'disassembler_x86_unittest.cc',
146 'exploitability_unittest.cc',
147 'fast_source_line_resolver_unittest.cc',
148 'map_serializers_unittest.cc',
149 'microdump_processor_unittest.cc',
150 'minidump_processor_unittest.cc',
151 'minidump_unittest.cc',
152 'pathname_stripper_unittest.cc',
153 'postfix_evaluator_unittest.cc',
154 'range_map_unittest.cc',
155 'stackwalker_address_list_unittest.cc',
156 'stackwalker_amd64_unittest.cc',
157 'stackwalker_arm64_unittest.cc',
158 'stackwalker_arm_unittest.cc',
159 'stackwalker_mips_unittest.cc',
160 'stackwalker_unittest_utils.h',
161 'stackwalker_x86_unittest.cc',
162 'static_address_map_unittest.cc',
163 'static_contained_range_map_unittest.cc',
164 'static_map_unittest.cc',
165 'static_range_map_unittest.cc',
166 'synth_minidump_unittest.cc',
167 'synth_minidump_unittest_data.h',
174 '../build/testing.gypi:gmock',
175 '../build/testing.gypi:gtest',