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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 'test/test_system_snapshot.cc', | 43 'test/test_system_snapshot.cc', |
44 'test/test_system_snapshot.h', | 44 'test/test_system_snapshot.h', |
45 'test/test_thread_snapshot.cc', | 45 'test/test_thread_snapshot.cc', |
46 'test/test_thread_snapshot.h', | 46 'test/test_thread_snapshot.h', |
47 ], | 47 ], |
48 }, | 48 }, |
49 { | 49 { |
50 'target_name': 'crashpad_snapshot_test', | 50 'target_name': 'crashpad_snapshot_test', |
51 'type': 'executable', | 51 'type': 'executable', |
52 'dependencies': [ | 52 'dependencies': [ |
| 53 'crashpad_snapshot_test_module', |
53 'snapshot.gyp:crashpad_snapshot', | 54 'snapshot.gyp:crashpad_snapshot', |
54 '../client/client.gyp:crashpad_client', | 55 '../client/client.gyp:crashpad_client', |
55 '../compat/compat.gyp:crashpad_compat', | 56 '../compat/compat.gyp:crashpad_compat', |
56 '../test/test.gyp:crashpad_test', | 57 '../test/test.gyp:crashpad_test', |
57 '../third_party/gtest/gtest.gyp:gtest', | 58 '../third_party/gtest/gtest.gyp:gtest', |
58 '../third_party/gtest/gtest.gyp:gtest_main', | 59 '../third_party/gtest/gtest.gyp:gtest_main', |
59 '../third_party/mini_chromium/mini_chromium.gyp:base', | 60 '../third_party/mini_chromium/mini_chromium.gyp:base', |
60 '../util/util.gyp:crashpad_util', | 61 '../util/util.gyp:crashpad_util', |
61 ], | 62 ], |
62 'include_dirs': [ | 63 'include_dirs': [ |
63 '..', | 64 '..', |
64 ], | 65 ], |
65 'sources': [ | 66 'sources': [ |
66 'cpu_context_test.cc', | 67 'cpu_context_test.cc', |
| 68 'crashpad_info_client_options_test.cc', |
67 'mac/cpu_context_mac_test.cc', | 69 'mac/cpu_context_mac_test.cc', |
68 'mac/crashpad_info_client_options_test.cc', | |
69 'mac/mach_o_image_annotations_reader_test.cc', | 70 'mac/mach_o_image_annotations_reader_test.cc', |
70 'mac/mach_o_image_reader_test.cc', | 71 'mac/mach_o_image_reader_test.cc', |
71 'mac/mach_o_image_segment_reader_test.cc', | 72 'mac/mach_o_image_segment_reader_test.cc', |
72 'mac/process_reader_test.cc', | 73 'mac/process_reader_test.cc', |
73 'mac/process_types_test.cc', | 74 'mac/process_types_test.cc', |
74 'mac/system_snapshot_mac_test.cc', | 75 'mac/system_snapshot_mac_test.cc', |
75 'minidump/process_snapshot_minidump_test.cc', | 76 'minidump/process_snapshot_minidump_test.cc', |
| 77 'win/process_reader_win_test.cc', |
76 'win/system_snapshot_win_test.cc', | 78 'win/system_snapshot_win_test.cc', |
77 ], | 79 ], |
78 'conditions': [ | 80 'conditions': [ |
79 ['OS=="mac"', { | 81 ['OS=="mac"', { |
80 'dependencies': [ | |
81 'crashpad_snapshot_test_module', | |
82 ], | |
83 'link_settings': { | 82 'link_settings': { |
84 'libraries': [ | 83 'libraries': [ |
85 '$(SDKROOT)/System/Library/Frameworks/OpenCL.framework', | 84 '$(SDKROOT)/System/Library/Frameworks/OpenCL.framework', |
86 ], | 85 ], |
87 }, | 86 }, |
88 }], | 87 }], |
89 ], | 88 ], |
90 }, | 89 }, |
91 ], | 90 { |
92 'conditions': [ | 91 'target_name': 'crashpad_snapshot_test_module', |
93 ['OS=="mac"', { | 92 'type': 'loadable_module', |
94 'targets': [ | 93 'dependencies': [ |
95 { | 94 '../client/client.gyp:crashpad_client', |
96 'target_name': 'crashpad_snapshot_test_module', | 95 '../third_party/mini_chromium/mini_chromium.gyp:base', |
97 'type': 'loadable_module', | |
98 'dependencies': [ | |
99 '../client/client.gyp:crashpad_client', | |
100 '../third_party/mini_chromium/mini_chromium.gyp:base', | |
101 ], | |
102 'include_dirs': [ | |
103 '..', | |
104 ], | |
105 'sources': [ | |
106 'mac/crashpad_info_client_options_test_module.cc', | |
107 ], | |
108 }, | |
109 ], | 96 ], |
110 }], | 97 'include_dirs': [ |
| 98 '..', |
| 99 ], |
| 100 'sources': [ |
| 101 'crashpad_info_client_options_test_module.cc', |
| 102 ], |
| 103 }, |
111 ], | 104 ], |
112 } | 105 } |
OLD | NEW |