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

Side by Side Diff: util/util_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 | « util/util.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 The Crashpad Authors. All rights reserved.
2 #
3 # Licensed under the Apache License, Version 2.0 (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
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 {
16 'includes': [
17 '../build/crashpad.gypi',
18 ],
19 'targets': [
20 {
21 'target_name': 'crashpad_util_test_lib',
22 'type': 'static_library',
23 'dependencies': [
24 'util.gyp:crashpad_util',
25 '../compat/compat.gyp:crashpad_compat',
26 '../third_party/gtest/gtest.gyp:gtest',
27 '../third_party/mini_chromium/mini_chromium.gyp:base',
28 ],
29 'include_dirs': [
30 '..',
31 ],
32 'sources': [
33 'test/errors.cc',
34 'test/errors.h',
35 'test/gtest_death_check.h',
36 'test/mac/dyld.h',
37 'test/mac/mach_errors.cc',
38 'test/mac/mach_errors.h',
39 'test/mac/mach_multiprocess.cc',
40 'test/mac/mach_multiprocess.h',
41 'test/multiprocess.h',
42 'test/multiprocess_exec.h',
43 'test/multiprocess_exec_posix.cc',
44 'test/multiprocess_exec_win.cc',
45 'test/multiprocess_posix.cc',
46 'test/paths.cc',
47 'test/paths.h',
48 'test/paths_mac.cc',
49 'test/paths_win.cc',
50 'test/scoped_temp_dir.cc',
51 'test/scoped_temp_dir.h',
52 'test/scoped_temp_dir_posix.cc',
53 'test/scoped_temp_dir_win.cc',
54 'test/thread.cc',
55 'test/thread.h',
56 'test/thread_posix.cc',
57 'test/thread_win.cc',
58 ],
59 'conditions': [
60 ['OS=="mac"', {
61 'link_settings': {
62 'libraries': [
63 '$(SDKROOT)/usr/lib/libbsm.dylib',
64 ],
65 },
66 }],
67 ],
68 },
69 {
70 'target_name': 'crashpad_util_test',
71 'type': 'executable',
72 'dependencies': [
73 'crashpad_util_test_lib',
74 'crashpad_util_test_multiprocess_exec_test_child',
75 'util.gyp:crashpad_util',
76 '../compat/compat.gyp:crashpad_compat',
77 '../third_party/gmock/gmock.gyp:gmock',
78 '../third_party/gmock/gmock.gyp:gmock_main',
79 '../third_party/gtest/gtest.gyp:gtest',
80 '../third_party/mini_chromium/mini_chromium.gyp:base',
81 ],
82 'include_dirs': [
83 '..',
84 ],
85 'sources': [
86 'file/file_io_test.cc',
87 'file/string_file_test.cc',
88 'mac/checked_mach_address_range_test.cc',
89 'mac/launchd_test.mm',
90 'mac/mac_util_test.mm',
91 'mac/service_management_test.mm',
92 'mac/xattr_test.cc',
93 'mach/child_port_handshake_test.cc',
94 'mach/child_port_server_test.cc',
95 'mach/composite_mach_message_server_test.cc',
96 'mach/exc_client_variants_test.cc',
97 'mach/exc_server_variants_test.cc',
98 'mach/exception_behaviors_test.cc',
99 'mach/exception_ports_test.cc',
100 'mach/mach_extensions_test.cc',
101 'mach/mach_message_server_test.cc',
102 'mach/mach_message_test.cc',
103 'mach/notify_server_test.cc',
104 'mach/scoped_task_suspend_test.cc',
105 'mach/symbolic_constants_mach_test.cc',
106 'mach/task_memory_test.cc',
107 'misc/clock_test.cc',
108 'misc/initialization_state_dcheck_test.cc',
109 'misc/initialization_state_test.cc',
110 'misc/scoped_forbid_return_test.cc',
111 'misc/uuid_test.cc',
112 'net/http_body_test.cc',
113 'net/http_body_test_util.cc',
114 'net/http_body_test_util.h',
115 'net/http_multipart_builder_test.cc',
116 'net/http_transport_test.cc',
117 'numeric/checked_range_test.cc',
118 'numeric/in_range_cast_test.cc',
119 'numeric/int128_test.cc',
120 'posix/process_info_test.cc',
121 'posix/symbolic_constants_posix_test.cc',
122 'stdlib/map_insert_test.cc',
123 'stdlib/string_number_conversion_test.cc',
124 'stdlib/strlcpy_test.cc',
125 'stdlib/strnlen_test.cc',
126 'string/split_string_test.cc',
127 'synchronization/semaphore_test.cc',
128 'test/mac/mach_multiprocess_test.cc',
129 'test/multiprocess_exec_test.cc',
130 'test/multiprocess_posix_test.cc',
131 'test/paths_test.cc',
132 'test/scoped_temp_dir_test.cc',
133 'thread/thread_log_messages_test.cc',
134 'win/process_info_test.cc',
135 'win/time_test.cc',
136 ],
137 'conditions': [
138 ['OS=="mac"', {
139 'link_settings': {
140 'libraries': [
141 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
142 ],
143 },
144 }],
145 ['OS=="win"', {
146 'link_settings': {
147 'libraries': [
148 '-lrpcrt4.lib',
149 ],
150 },
151 }],
152 ],
153 },
154 {
155 'target_name': 'crashpad_util_test_multiprocess_exec_test_child',
156 'type': 'executable',
157 'sources': [
158 'test/multiprocess_exec_test_child.cc',
159 ],
160 },
161 ],
162 'conditions': [
163 ['OS=="win"', {
164 'targets': [
165 {
166 'target_name': 'crashpad_util_test_process_info_test_child_x64',
167 'type': 'executable',
168 'sources': [
169 'win/process_info_test_child.cc',
170 ],
171 'msvs_configuration_platform': 'x64',
172 # Set an unusually high load address to make sure that the main
173 # executable still appears as the first element in
174 # ProcessInfo::Modules().
175 'msvs_settings': {
176 'VCLinkerTool': {
177 'AdditionalOptions': [
178 '/BASE:0x78000000',
179 '/FIXED',
180 ],
181 'TargetMachine': '17', # x64.
182 },
183 },
184 },
185 {
186 # Same as above, but explicitly x86 to test 64->32 access.
187 'target_name': 'crashpad_util_test_process_info_test_child_x86',
188 'type': 'executable',
189 'sources': [
190 'win/process_info_test_child.cc',
191 ],
192 'msvs_configuration_platform': 'x86',
193 # Set an unusually high load address to make sure that the main
194 # executable still appears as the first element in
195 # ProcessInfo::Modules().
196 'msvs_settings': {
197 'VCLinkerTool': {
198 'AdditionalOptions': [
199 '/BASE:0x78000000',
200 '/FIXED',
201 ],
202 'TargetMachine': '1', # x86.
203 },
204 },
205 },
206 ]
207 }],
208 ],
209 }
OLDNEW
« no previous file with comments | « util/util.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698