Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: snapshot/snapshot_test.gyp

Issue 1045173004: Split *_test.gyp from *.gyp (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « snapshot/snapshot.gyp ('k') | util/util.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'includes': [ 16 'includes': [
17 '../build/crashpad.gypi', 17 '../build/crashpad.gypi',
18 ], 18 ],
19 'targets': [ 19 'targets': [
20 { 20 {
21 'target_name': 'crashpad_snapshot',
22 'type': 'static_library',
23 'dependencies': [
24 '../client/client.gyp:crashpad_client',
25 '../compat/compat.gyp:crashpad_compat',
26 '../third_party/mini_chromium/mini_chromium.gyp:base',
27 '../util/util.gyp:crashpad_util',
28 ],
29 'include_dirs': [
30 '..',
31 ],
32 'sources': [
33 'cpu_architecture.h',
34 'cpu_context.cc',
35 'cpu_context.h',
36 'exception_snapshot.h',
37 'mac/cpu_context_mac.cc',
38 'mac/cpu_context_mac.h',
39 'mac/crashpad_info_client_options.cc',
40 'mac/crashpad_info_client_options.h',
41 'mac/exception_snapshot_mac.cc',
42 'mac/exception_snapshot_mac.h',
43 'mac/mach_o_image_annotations_reader.cc',
44 'mac/mach_o_image_annotations_reader.h',
45 'mac/mach_o_image_reader.cc',
46 'mac/mach_o_image_reader.h',
47 'mac/mach_o_image_segment_reader.cc',
48 'mac/mach_o_image_segment_reader.h',
49 'mac/mach_o_image_symbol_table_reader.cc',
50 'mac/mach_o_image_symbol_table_reader.h',
51 'mac/memory_snapshot_mac.cc',
52 'mac/memory_snapshot_mac.h',
53 'mac/module_snapshot_mac.cc',
54 'mac/module_snapshot_mac.h',
55 'mac/process_reader.cc',
56 'mac/process_reader.h',
57 'mac/process_snapshot_mac.cc',
58 'mac/process_snapshot_mac.h',
59 'mac/process_types.cc',
60 'mac/process_types.h',
61 'mac/process_types/all.proctype',
62 'mac/process_types/crashpad_info.proctype',
63 'mac/process_types/crashreporterclient.proctype',
64 'mac/process_types/custom.cc',
65 'mac/process_types/dyld_images.proctype',
66 'mac/process_types/flavors.h',
67 'mac/process_types/internal.h',
68 'mac/process_types/loader.proctype',
69 'mac/process_types/nlist.proctype',
70 'mac/process_types/traits.h',
71 'mac/system_snapshot_mac.cc',
72 'mac/system_snapshot_mac.h',
73 'mac/thread_snapshot_mac.cc',
74 'mac/thread_snapshot_mac.h',
75 'minidump/minidump_simple_string_dictionary_reader.cc',
76 'minidump/minidump_simple_string_dictionary_reader.h',
77 'minidump/minidump_string_list_reader.cc',
78 'minidump/minidump_string_list_reader.h',
79 'minidump/minidump_string_reader.cc',
80 'minidump/minidump_string_reader.h',
81 'minidump/module_snapshot_minidump.cc',
82 'minidump/module_snapshot_minidump.h',
83 'minidump/process_snapshot_minidump.cc',
84 'minidump/process_snapshot_minidump.h',
85 'memory_snapshot.h',
86 'module_snapshot.h',
87 'process_snapshot.h',
88 'system_snapshot.h',
89 'thread_snapshot.h',
90 'win/process_reader_win.cc',
91 'win/process_reader_win.h',
92 'win/system_snapshot_win.cc',
93 'win/system_snapshot_win.h',
94 ],
95 'conditions': [
96 ['OS=="win"', {
97 'link_settings': {
98 'libraries': [
99 '-lpowrprof.lib',
100 '-lversion.lib',
101 ],
102 },
103 }],
104 ]
105 },
106 {
107 'target_name': 'crashpad_snapshot_test_lib', 21 'target_name': 'crashpad_snapshot_test_lib',
108 'type': 'static_library', 22 'type': 'static_library',
109 'dependencies': [ 23 'dependencies': [
110 'crashpad_snapshot', 24 'snapshot.gyp:crashpad_snapshot',
111 '../compat/compat.gyp:crashpad_compat', 25 '../compat/compat.gyp:crashpad_compat',
112 '../third_party/mini_chromium/mini_chromium.gyp:base', 26 '../third_party/mini_chromium/mini_chromium.gyp:base',
113 '../util/util.gyp:crashpad_util', 27 '../util/util.gyp:crashpad_util',
114 ], 28 ],
115 'include_dirs': [ 29 'include_dirs': [
116 '..', 30 '..',
117 ], 31 ],
118 'sources': [ 32 'sources': [
119 'test/test_cpu_context.cc', 33 'test/test_cpu_context.cc',
120 'test/test_cpu_context.h', 34 'test/test_cpu_context.h',
121 'test/test_exception_snapshot.cc', 35 'test/test_exception_snapshot.cc',
122 'test/test_exception_snapshot.h', 36 'test/test_exception_snapshot.h',
123 'test/test_memory_snapshot.cc', 37 'test/test_memory_snapshot.cc',
124 'test/test_memory_snapshot.h', 38 'test/test_memory_snapshot.h',
125 'test/test_module_snapshot.cc', 39 'test/test_module_snapshot.cc',
126 'test/test_module_snapshot.h', 40 'test/test_module_snapshot.h',
127 'test/test_process_snapshot.cc', 41 'test/test_process_snapshot.cc',
128 'test/test_process_snapshot.h', 42 'test/test_process_snapshot.h',
129 'test/test_system_snapshot.cc', 43 'test/test_system_snapshot.cc',
130 'test/test_system_snapshot.h', 44 'test/test_system_snapshot.h',
131 'test/test_thread_snapshot.cc', 45 'test/test_thread_snapshot.cc',
132 'test/test_thread_snapshot.h', 46 'test/test_thread_snapshot.h',
133 ], 47 ],
134 }, 48 },
135 { 49 {
136 'target_name': 'crashpad_snapshot_test', 50 'target_name': 'crashpad_snapshot_test',
137 'type': 'executable', 51 'type': 'executable',
138 'dependencies': [ 52 'dependencies': [
139 'crashpad_snapshot', 53 'snapshot.gyp:crashpad_snapshot',
140 '../client/client.gyp:crashpad_client', 54 '../client/client.gyp:crashpad_client',
141 '../compat/compat.gyp:crashpad_compat', 55 '../compat/compat.gyp:crashpad_compat',
142 '../third_party/gtest/gtest.gyp:gtest', 56 '../third_party/gtest/gtest.gyp:gtest',
143 '../third_party/gtest/gtest.gyp:gtest_main', 57 '../third_party/gtest/gtest.gyp:gtest_main',
144 '../third_party/mini_chromium/mini_chromium.gyp:base', 58 '../third_party/mini_chromium/mini_chromium.gyp:base',
145 '../util/util.gyp:crashpad_util', 59 '../util/util.gyp:crashpad_util',
146 '../util/util.gyp:crashpad_util_test_lib', 60 '../util/util_test.gyp:crashpad_util_test_lib',
147 ], 61 ],
148 'include_dirs': [ 62 'include_dirs': [
149 '..', 63 '..',
150 ], 64 ],
151 'sources': [ 65 'sources': [
152 'cpu_context_test.cc', 66 'cpu_context_test.cc',
153 'mac/cpu_context_mac_test.cc', 67 'mac/cpu_context_mac_test.cc',
154 'mac/crashpad_info_client_options_test.cc', 68 'mac/crashpad_info_client_options_test.cc',
155 'mac/mach_o_image_annotations_reader_test.cc', 69 'mac/mach_o_image_annotations_reader_test.cc',
156 'mac/mach_o_image_reader_test.cc', 70 'mac/mach_o_image_reader_test.cc',
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 '..', 103 '..',
190 ], 104 ],
191 'sources': [ 105 'sources': [
192 'mac/crashpad_info_client_options_test_module.cc', 106 'mac/crashpad_info_client_options_test_module.cc',
193 ], 107 ],
194 }, 108 },
195 ], 109 ],
196 }], 110 }],
197 ], 111 ],
198 } 112 }
OLDNEW
« no previous file with comments | « snapshot/snapshot.gyp ('k') | util/util.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698