OLD | NEW |
1 # Copyright 2014 The Crashpad Authors. All rights reserved. | 1 # Copyright 2014 The Crashpad Authors. All rights reserved. |
2 # | 2 # |
3 # Licensed under the Apache License, Version 2.0 (the "License"); | 3 # Licensed under the Apache License, Version 2.0 (the "License"); |
4 # you may not use this file except in compliance with the License. | 4 # you may not use this file except in compliance with the License. |
5 # You may obtain a copy of the License at | 5 # You may obtain a copy of the License at |
6 # | 6 # |
7 # http://www.apache.org/licenses/LICENSE-2.0 | 7 # http://www.apache.org/licenses/LICENSE-2.0 |
8 # | 8 # |
9 # Unless required by applicable law or agreed to in writing, software | 9 # Unless required by applicable law or agreed to in writing, software |
10 # distributed under the License is distributed on an "AS IS" BASIS, | 10 # distributed under the License is distributed on an "AS IS" BASIS, |
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 # See the License for the specific language governing permissions and | 12 # See the License for the specific language governing permissions and |
13 # limitations under the License. | 13 # limitations under the License. |
14 | 14 |
15 { | 15 { |
16 'targets': [ | 16 'targets': [ |
17 { | 17 { |
18 'target_name': 'snapshot', | 18 'target_name': 'crashpad_snapshot', |
19 'type': 'static_library', | 19 'type': 'static_library', |
20 'dependencies': [ | 20 'dependencies': [ |
21 '../client/client.gyp:client', | 21 '../client/client.gyp:crashpad_client', |
22 '../compat/compat.gyp:compat', | 22 '../compat/compat.gyp:crashpad_compat', |
23 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 23 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
24 '../util/util.gyp:util', | 24 '../util/util.gyp:crashpad_util', |
25 ], | 25 ], |
26 'include_dirs': [ | 26 'include_dirs': [ |
27 '..', | 27 '..', |
28 ], | 28 ], |
29 'sources': [ | 29 'sources': [ |
30 'cpu_architecture.h', | 30 'cpu_architecture.h', |
31 'cpu_context.cc', | 31 'cpu_context.cc', |
32 'cpu_context.h', | 32 'cpu_context.h', |
33 'exception_snapshot.h', | 33 'exception_snapshot.h', |
34 'mac/cpu_context_mac.cc', | 34 'mac/cpu_context_mac.cc', |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 'link_settings': { | 92 'link_settings': { |
93 'libraries': [ | 93 'libraries': [ |
94 '-lpowrprof.lib', | 94 '-lpowrprof.lib', |
95 '-lversion.lib', | 95 '-lversion.lib', |
96 ], | 96 ], |
97 }, | 97 }, |
98 }], | 98 }], |
99 ] | 99 ] |
100 }, | 100 }, |
101 { | 101 { |
102 'target_name': 'snapshot_test_lib', | 102 'target_name': 'crashpad_snapshot_test_lib', |
103 'type': 'static_library', | 103 'type': 'static_library', |
104 'dependencies': [ | 104 'dependencies': [ |
105 'snapshot', | 105 'crashpad_snapshot', |
106 '../compat/compat.gyp:compat', | 106 '../compat/compat.gyp:crashpad_compat', |
107 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 107 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
108 '../util/util.gyp:util', | 108 '../util/util.gyp:crashpad_util', |
109 ], | 109 ], |
110 'include_dirs': [ | 110 'include_dirs': [ |
111 '..', | 111 '..', |
112 ], | 112 ], |
113 'sources': [ | 113 'sources': [ |
114 'test/test_cpu_context.cc', | 114 'test/test_cpu_context.cc', |
115 'test/test_cpu_context.h', | 115 'test/test_cpu_context.h', |
116 'test/test_exception_snapshot.cc', | 116 'test/test_exception_snapshot.cc', |
117 'test/test_exception_snapshot.h', | 117 'test/test_exception_snapshot.h', |
118 'test/test_memory_snapshot.cc', | 118 'test/test_memory_snapshot.cc', |
119 'test/test_memory_snapshot.h', | 119 'test/test_memory_snapshot.h', |
120 'test/test_module_snapshot.cc', | 120 'test/test_module_snapshot.cc', |
121 'test/test_module_snapshot.h', | 121 'test/test_module_snapshot.h', |
122 'test/test_process_snapshot.cc', | 122 'test/test_process_snapshot.cc', |
123 'test/test_process_snapshot.h', | 123 'test/test_process_snapshot.h', |
124 'test/test_system_snapshot.cc', | 124 'test/test_system_snapshot.cc', |
125 'test/test_system_snapshot.h', | 125 'test/test_system_snapshot.h', |
126 'test/test_thread_snapshot.cc', | 126 'test/test_thread_snapshot.cc', |
127 'test/test_thread_snapshot.h', | 127 'test/test_thread_snapshot.h', |
128 ], | 128 ], |
129 }, | 129 }, |
130 { | 130 { |
131 'target_name': 'snapshot_test', | 131 'target_name': 'crashpad_snapshot_test', |
132 'type': 'executable', | 132 'type': 'executable', |
133 'dependencies': [ | 133 'dependencies': [ |
134 'snapshot', | 134 'crashpad_snapshot', |
135 '../client/client.gyp:client', | 135 '../client/client.gyp:crashpad_client', |
136 '../compat/compat.gyp:compat', | 136 '../compat/compat.gyp:crashpad_compat', |
137 '../third_party/gtest/gtest.gyp:gtest', | 137 '../third_party/gtest/gtest.gyp:gtest', |
138 '../third_party/gtest/gtest.gyp:gtest_main', | 138 '../third_party/gtest/gtest.gyp:gtest_main', |
139 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 139 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
140 '../util/util.gyp:util', | 140 '../util/util.gyp:crashpad_util', |
141 '../util/util.gyp:util_test_lib', | 141 '../util/util.gyp:crashpad_util_test_lib', |
142 ], | 142 ], |
143 'include_dirs': [ | 143 'include_dirs': [ |
144 '..', | 144 '..', |
145 ], | 145 ], |
146 'sources': [ | 146 'sources': [ |
147 'cpu_context_test.cc', | 147 'cpu_context_test.cc', |
148 'mac/cpu_context_mac_test.cc', | 148 'mac/cpu_context_mac_test.cc', |
149 'mac/mach_o_image_annotations_reader_test.cc', | 149 'mac/mach_o_image_annotations_reader_test.cc', |
150 'mac/mach_o_image_reader_test.cc', | 150 'mac/mach_o_image_reader_test.cc', |
151 'mac/mach_o_image_segment_reader_test.cc', | 151 'mac/mach_o_image_segment_reader_test.cc', |
152 'mac/process_reader_test.cc', | 152 'mac/process_reader_test.cc', |
153 'mac/process_types_test.cc', | 153 'mac/process_types_test.cc', |
154 'mac/system_snapshot_mac_test.cc', | 154 'mac/system_snapshot_mac_test.cc', |
155 'minidump/process_snapshot_minidump_test.cc', | 155 'minidump/process_snapshot_minidump_test.cc', |
156 'win/system_snapshot_win_test.cc', | 156 'win/system_snapshot_win_test.cc', |
157 ], | 157 ], |
158 }, | 158 }, |
159 ], | 159 ], |
160 } | 160 } |
OLD | NEW |