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': 'snapshot', |
19 'type': 'static_library', | 19 'type': 'static_library', |
20 'dependencies': [ | 20 'dependencies': [ |
| 21 '../client/client.gyp:client', |
21 '../compat/compat.gyp:compat', | 22 '../compat/compat.gyp:compat', |
22 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 23 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
23 '../util/util.gyp:util', | 24 '../util/util.gyp:util', |
24 ], | 25 ], |
25 'include_dirs': [ | 26 'include_dirs': [ |
26 '..', | 27 '..', |
27 ], | 28 ], |
28 'sources': [ | 29 'sources': [ |
29 'cpu_architecture.h', | 30 'cpu_architecture.h', |
30 'cpu_context.cc', | 31 'cpu_context.cc', |
31 'cpu_context.h', | 32 'cpu_context.h', |
32 'exception_snapshot.h', | 33 'exception_snapshot.h', |
33 'mac/cpu_context_mac.cc', | 34 'mac/cpu_context_mac.cc', |
34 'mac/cpu_context_mac.h', | 35 'mac/cpu_context_mac.h', |
35 'mac/exception_snapshot_mac.cc', | 36 'mac/exception_snapshot_mac.cc', |
36 'mac/exception_snapshot_mac.h', | 37 'mac/exception_snapshot_mac.h', |
| 38 'mac/mach_o_image_annotations_reader.cc', |
| 39 'mac/mach_o_image_annotations_reader.h', |
37 'mac/mach_o_image_reader.cc', | 40 'mac/mach_o_image_reader.cc', |
38 'mac/mach_o_image_reader.h', | 41 'mac/mach_o_image_reader.h', |
39 'mac/mach_o_image_segment_reader.cc', | 42 'mac/mach_o_image_segment_reader.cc', |
40 'mac/mach_o_image_segment_reader.h', | 43 'mac/mach_o_image_segment_reader.h', |
41 'mac/mach_o_image_symbol_table_reader.cc', | 44 'mac/mach_o_image_symbol_table_reader.cc', |
42 'mac/mach_o_image_symbol_table_reader.h', | 45 'mac/mach_o_image_symbol_table_reader.h', |
43 'mac/memory_snapshot_mac.cc', | 46 'mac/memory_snapshot_mac.cc', |
44 'mac/memory_snapshot_mac.h', | 47 'mac/memory_snapshot_mac.h', |
45 'mac/process_reader.cc', | 48 'mac/process_reader.cc', |
46 'mac/process_reader.h', | 49 'mac/process_reader.h', |
47 'mac/process_types.cc', | 50 'mac/process_types.cc', |
48 'mac/process_types.h', | 51 'mac/process_types.h', |
49 'mac/process_types/all.proctype', | 52 'mac/process_types/all.proctype', |
| 53 'mac/process_types/crashpad_info.proctype', |
50 'mac/process_types/crashreporterclient.proctype', | 54 'mac/process_types/crashreporterclient.proctype', |
51 'mac/process_types/custom.cc', | 55 'mac/process_types/custom.cc', |
52 'mac/process_types/dyld_images.proctype', | 56 'mac/process_types/dyld_images.proctype', |
53 'mac/process_types/flavors.h', | 57 'mac/process_types/flavors.h', |
54 'mac/process_types/internal.h', | 58 'mac/process_types/internal.h', |
55 'mac/process_types/loader.proctype', | 59 'mac/process_types/loader.proctype', |
56 'mac/process_types/nlist.proctype', | 60 'mac/process_types/nlist.proctype', |
57 'mac/process_types/traits.h', | 61 'mac/process_types/traits.h', |
58 'mac/system_snapshot_mac.cc', | 62 'mac/system_snapshot_mac.cc', |
59 'mac/system_snapshot_mac.h', | 63 'mac/system_snapshot_mac.h', |
60 'mac/thread_snapshot_mac.cc', | 64 'mac/thread_snapshot_mac.cc', |
61 'mac/thread_snapshot_mac.h', | 65 'mac/thread_snapshot_mac.h', |
62 'memory_snapshot.h', | 66 'memory_snapshot.h', |
63 'module_snapshot.h', | 67 'module_snapshot.h', |
64 'process_snapshot.h', | 68 'process_snapshot.h', |
65 'system_snapshot.h', | 69 'system_snapshot.h', |
66 'thread_snapshot.h', | 70 'thread_snapshot.h', |
67 ], | 71 ], |
68 }, | 72 }, |
69 { | 73 { |
70 'target_name': 'snapshot_test', | 74 'target_name': 'snapshot_test', |
71 'type': 'executable', | 75 'type': 'executable', |
72 'dependencies': [ | 76 'dependencies': [ |
73 'snapshot', | 77 'snapshot', |
| 78 '../client/client.gyp:client', |
74 '../compat/compat.gyp:compat', | 79 '../compat/compat.gyp:compat', |
75 '../third_party/gtest/gtest.gyp:gtest', | 80 '../third_party/gtest/gtest.gyp:gtest', |
76 '../third_party/gtest/gtest.gyp:gtest_main', | 81 '../third_party/gtest/gtest.gyp:gtest_main', |
77 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 82 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
78 '../util/util.gyp:util', | 83 '../util/util.gyp:util', |
79 '../util/util.gyp:util_test_lib', | 84 '../util/util.gyp:util_test_lib', |
80 ], | 85 ], |
81 'include_dirs': [ | 86 'include_dirs': [ |
82 '..', | 87 '..', |
83 ], | 88 ], |
84 'sources': [ | 89 'sources': [ |
85 'mac/cpu_context_mac_test.cc', | 90 'mac/cpu_context_mac_test.cc', |
| 91 'mac/mach_o_image_annotations_reader_test.cc', |
86 'mac/mach_o_image_reader_test.cc', | 92 'mac/mach_o_image_reader_test.cc', |
87 'mac/mach_o_image_segment_reader_test.cc', | 93 'mac/mach_o_image_segment_reader_test.cc', |
88 'mac/process_reader_test.cc', | 94 'mac/process_reader_test.cc', |
89 'mac/process_types_test.cc', | 95 'mac/process_types_test.cc', |
90 'mac/system_snapshot_mac_test.cc', | 96 'mac/system_snapshot_mac_test.cc', |
91 ], | 97 ], |
92 }, | 98 }, |
93 ], | 99 ], |
94 } | 100 } |
OLD | NEW |