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, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 'mac/process_types/traits.h', | 65 'mac/process_types/traits.h', |
66 'mac/system_snapshot_mac.cc', | 66 'mac/system_snapshot_mac.cc', |
67 'mac/system_snapshot_mac.h', | 67 'mac/system_snapshot_mac.h', |
68 'mac/thread_snapshot_mac.cc', | 68 'mac/thread_snapshot_mac.cc', |
69 'mac/thread_snapshot_mac.h', | 69 'mac/thread_snapshot_mac.h', |
70 'memory_snapshot.h', | 70 'memory_snapshot.h', |
71 'module_snapshot.h', | 71 'module_snapshot.h', |
72 'process_snapshot.h', | 72 'process_snapshot.h', |
73 'system_snapshot.h', | 73 'system_snapshot.h', |
74 'thread_snapshot.h', | 74 'thread_snapshot.h', |
| 75 'win/process_reader_win.cc', |
| 76 'win/process_reader_win.h', |
| 77 'win/system_snapshot_win.cc', |
| 78 'win/system_snapshot_win.h', |
75 ], | 79 ], |
| 80 'conditions': [ |
| 81 ['OS=="win"', { |
| 82 'link_settings': { |
| 83 'libraries': [ |
| 84 '-lpowrprof.lib', |
| 85 '-lversion.lib', |
| 86 ], |
| 87 }, |
| 88 }], |
| 89 ] |
76 }, | 90 }, |
77 { | 91 { |
78 'target_name': 'snapshot_test_lib', | 92 'target_name': 'snapshot_test_lib', |
79 'type': 'static_library', | 93 'type': 'static_library', |
80 'dependencies': [ | 94 'dependencies': [ |
81 'snapshot', | 95 'snapshot', |
82 '../compat/compat.gyp:compat', | 96 '../compat/compat.gyp:compat', |
83 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 97 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
84 '../util/util.gyp:util', | 98 '../util/util.gyp:util', |
85 ], | 99 ], |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 ], | 135 ], |
122 'sources': [ | 136 'sources': [ |
123 'cpu_context_test.cc', | 137 'cpu_context_test.cc', |
124 'mac/cpu_context_mac_test.cc', | 138 'mac/cpu_context_mac_test.cc', |
125 'mac/mach_o_image_annotations_reader_test.cc', | 139 'mac/mach_o_image_annotations_reader_test.cc', |
126 'mac/mach_o_image_reader_test.cc', | 140 'mac/mach_o_image_reader_test.cc', |
127 'mac/mach_o_image_segment_reader_test.cc', | 141 'mac/mach_o_image_segment_reader_test.cc', |
128 'mac/process_reader_test.cc', | 142 'mac/process_reader_test.cc', |
129 'mac/process_types_test.cc', | 143 'mac/process_types_test.cc', |
130 'mac/system_snapshot_mac_test.cc', | 144 'mac/system_snapshot_mac_test.cc', |
| 145 'win/system_snapshot_win_test.cc', |
131 ], | 146 ], |
132 }, | 147 }, |
133 ], | 148 ], |
134 } | 149 } |
OLD | NEW |