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

Side by Side Diff: third_party/mojo/mojo_edk_tests.gyp

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 | « third_party/mojo/mojo_edk_system_impl.gypi ('k') | third_party/mojo/mojo_public.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 Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'includes': [ 6 'includes': [
7 'mojo_variables.gypi', 7 'mojo_variables.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 16 matching lines...) Expand all
27 'mojo_js_unittests', 27 'mojo_js_unittests',
28 'mojo_js_integration_tests', 28 'mojo_js_integration_tests',
29 ], 29 ],
30 }, 30 },
31 # TODO(vtl): Reorganize the mojo_public_*_unittests. 31 # TODO(vtl): Reorganize the mojo_public_*_unittests.
32 { 32 {
33 # GN version: //mojo/edk/test:mojo_public_bindings_unittests 33 # GN version: //mojo/edk/test:mojo_public_bindings_unittests
34 'target_name': 'mojo_public_bindings_unittests', 34 'target_name': 'mojo_public_bindings_unittests',
35 'type': 'executable', 35 'type': 'executable',
36 'dependencies': [ 36 'dependencies': [
37 '../testing/gtest.gyp:gtest', 37 '../../testing/gtest.gyp:gtest',
38 'mojo_edk.gyp:mojo_run_all_unittests', 38 'mojo_edk.gyp:mojo_run_all_unittests',
39 'mojo_public.gyp:mojo_cpp_bindings', 39 'mojo_public.gyp:mojo_cpp_bindings',
40 'mojo_public.gyp:mojo_environment_standalone', 40 'mojo_public.gyp:mojo_environment_standalone',
41 'mojo_public.gyp:mojo_public_bindings_test_utils', 41 'mojo_public.gyp:mojo_public_bindings_test_utils',
42 'mojo_public.gyp:mojo_public_test_interfaces', 42 'mojo_public.gyp:mojo_public_test_interfaces',
43 'mojo_public.gyp:mojo_public_test_utils', 43 'mojo_public.gyp:mojo_public_test_utils',
44 'mojo_public.gyp:mojo_utility', 44 'mojo_public.gyp:mojo_utility',
45 ], 45 ],
46 'sources': [ 46 'sources': [
47 'public/cpp/bindings/tests/array_unittest.cc', 47 'src/mojo/public/cpp/bindings/tests/array_unittest.cc',
48 'public/cpp/bindings/tests/bounds_checker_unittest.cc', 48 'src/mojo/public/cpp/bindings/tests/bounds_checker_unittest.cc',
49 'public/cpp/bindings/tests/buffer_unittest.cc', 49 'src/mojo/public/cpp/bindings/tests/buffer_unittest.cc',
50 'public/cpp/bindings/tests/connector_unittest.cc', 50 'src/mojo/public/cpp/bindings/tests/connector_unittest.cc',
51 'public/cpp/bindings/tests/container_test_util.cc', 51 'src/mojo/public/cpp/bindings/tests/container_test_util.cc',
52 'public/cpp/bindings/tests/equals_unittest.cc', 52 'src/mojo/public/cpp/bindings/tests/equals_unittest.cc',
53 'public/cpp/bindings/tests/handle_passing_unittest.cc', 53 'src/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc',
54 'public/cpp/bindings/tests/interface_ptr_unittest.cc', 54 'src/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc',
55 'public/cpp/bindings/tests/map_unittest.cc', 55 'src/mojo/public/cpp/bindings/tests/map_unittest.cc',
56 'public/cpp/bindings/tests/request_response_unittest.cc', 56 'src/mojo/public/cpp/bindings/tests/request_response_unittest.cc',
57 'public/cpp/bindings/tests/router_unittest.cc', 57 'src/mojo/public/cpp/bindings/tests/router_unittest.cc',
58 'public/cpp/bindings/tests/sample_service_unittest.cc', 58 'src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc',
59 'public/cpp/bindings/tests/serialization_warning_unittest.cc', 59 'src/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc',
60 'public/cpp/bindings/tests/string_unittest.cc', 60 'src/mojo/public/cpp/bindings/tests/string_unittest.cc',
61 'public/cpp/bindings/tests/struct_unittest.cc', 61 'src/mojo/public/cpp/bindings/tests/struct_unittest.cc',
62 'public/cpp/bindings/tests/type_conversion_unittest.cc', 62 'src/mojo/public/cpp/bindings/tests/type_conversion_unittest.cc',
63 'public/cpp/bindings/tests/validation_unittest.cc', 63 'src/mojo/public/cpp/bindings/tests/validation_unittest.cc',
64 ], 64 ],
65 }, 65 },
66 { 66 {
67 # GN version: //mojo/edk/test:mojo_public_environment_unittests 67 # GN version: //mojo/edk/test:mojo_public_environment_unittests
68 'target_name': 'mojo_public_environment_unittests', 68 'target_name': 'mojo_public_environment_unittests',
69 'type': 'executable', 69 'type': 'executable',
70 'dependencies': [ 70 'dependencies': [
71 '../testing/gtest.gyp:gtest', 71 '../../testing/gtest.gyp:gtest',
72 'mojo_edk.gyp:mojo_run_all_unittests', 72 'mojo_edk.gyp:mojo_run_all_unittests',
73 'mojo_public.gyp:mojo_environment_standalone', 73 'mojo_public.gyp:mojo_environment_standalone',
74 'mojo_public.gyp:mojo_public_test_utils', 74 'mojo_public.gyp:mojo_public_test_utils',
75 'mojo_public.gyp:mojo_utility', 75 'mojo_public.gyp:mojo_utility',
76 ], 76 ],
77 'include_dirs': [ '..' ], 77 'include_dirs': [ '../..' ],
78 'sources': [ 78 'sources': [
79 'public/cpp/environment/tests/async_wait_unittest.cc', 79 'src/mojo/public/cpp/environment/tests/async_wait_unittest.cc',
80 'public/cpp/environment/tests/async_waiter_unittest.cc', 80 'src/mojo/public/cpp/environment/tests/async_waiter_unittest.cc',
81 'public/cpp/environment/tests/logger_unittest.cc', 81 'src/mojo/public/cpp/environment/tests/logger_unittest.cc',
82 'public/cpp/environment/tests/logging_unittest.cc', 82 'src/mojo/public/cpp/environment/tests/logging_unittest.cc',
83 ], 83 ],
84 }, 84 },
85 { 85 {
86 # GN version: //mojo/edk/test:mojo_public_application_unittests 86 # GN version: //mojo/edk/test:mojo_public_application_unittests
87 'target_name': 'mojo_public_application_unittests', 87 'target_name': 'mojo_public_application_unittests',
88 'type': 'executable', 88 'type': 'executable',
89 'dependencies': [ 89 'dependencies': [
90 '../base/base.gyp:base', 90 '../../base/base.gyp:base',
91 '../testing/gtest.gyp:gtest', 91 '../../testing/gtest.gyp:gtest',
92 'mojo_edk.gyp:mojo_run_all_unittests', 92 'mojo_edk.gyp:mojo_run_all_unittests',
93 'mojo_public.gyp:mojo_application_standalone', 93 'mojo_public.gyp:mojo_application_standalone',
94 'mojo_public.gyp:mojo_utility', 94 'mojo_public.gyp:mojo_utility',
95 'mojo_public.gyp:mojo_environment_standalone', 95 'mojo_public.gyp:mojo_environment_standalone',
96 ], 96 ],
97 'sources': [ 97 'sources': [
98 'public/cpp/application/tests/service_registry_unittest.cc', 98 'src/mojo/public/cpp/application/tests/service_registry_unittest.cc',
99 ], 99 ],
100 }, 100 },
101 { 101 {
102 # GN version: //mojo/public/cpp/system/tests:mojo_public_system_unittests 102 # GN version: //mojo/public/cpp/system/tests:mojo_public_system_unittests
103 # and //mojo/public/c/system/tests 103 # and //mojo/public/c/system/tests
104 'target_name': 'mojo_public_system_unittests', 104 'target_name': 'mojo_public_system_unittests',
105 'type': 'executable', 105 'type': 'executable',
106 'dependencies': [ 106 'dependencies': [
107 '../testing/gtest.gyp:gtest', 107 '../../testing/gtest.gyp:gtest',
108 'mojo_edk.gyp:mojo_run_all_unittests', 108 'mojo_edk.gyp:mojo_run_all_unittests',
109 'mojo_public.gyp:mojo_public_test_utils', 109 'mojo_public.gyp:mojo_public_test_utils',
110 ], 110 ],
111 'include_dirs': [ '..' ], 111 'include_dirs': [ '../..' ],
112 'sources': [ 112 'sources': [
113 '<@(mojo_public_system_unittest_sources)', 113 '<@(mojo_public_system_unittest_sources)',
114 ], 114 ],
115 }, 115 },
116 { 116 {
117 # GN version: //mojo/public/cpp/application/tests:mojo_public_utility_unit tests 117 # GN version: //mojo/public/cpp/application/tests:mojo_public_utility_unit tests
118 'target_name': 'mojo_public_utility_unittests', 118 'target_name': 'mojo_public_utility_unittests',
119 'type': 'executable', 119 'type': 'executable',
120 'dependencies': [ 120 'dependencies': [
121 '../testing/gtest.gyp:gtest', 121 '../../testing/gtest.gyp:gtest',
122 'mojo_edk.gyp:mojo_run_all_unittests', 122 'mojo_edk.gyp:mojo_run_all_unittests',
123 'mojo_public.gyp:mojo_public_test_utils', 123 'mojo_public.gyp:mojo_public_test_utils',
124 'mojo_public.gyp:mojo_utility', 124 'mojo_public.gyp:mojo_utility',
125 ], 125 ],
126 'include_dirs': [ '..' ], 126 'include_dirs': [ '../..' ],
127 'sources': [ 127 'sources': [
128 'public/cpp/utility/tests/mutex_unittest.cc', 128 'src/mojo/public/cpp/utility/tests/mutex_unittest.cc',
129 'public/cpp/utility/tests/run_loop_unittest.cc', 129 'src/mojo/public/cpp/utility/tests/run_loop_unittest.cc',
130 'public/cpp/utility/tests/thread_unittest.cc', 130 'src/mojo/public/cpp/utility/tests/thread_unittest.cc',
131 ], 131 ],
132 'conditions': [ 132 'conditions': [
133 # See crbug.com/342893: 133 # See crbug.com/342893:
134 ['OS=="win"', { 134 ['OS=="win"', {
135 'sources!': [ 135 'sources!': [
136 'public/cpp/utility/tests/mutex_unittest.cc', 136 'src/mojo/public/cpp/utility/tests/mutex_unittest.cc',
137 'public/cpp/utility/tests/thread_unittest.cc', 137 'src/mojo/public/cpp/utility/tests/thread_unittest.cc',
138 ], 138 ],
139 }], 139 }],
140 ], 140 ],
141 }, 141 },
142 { 142 {
143 # GN version: //mojo/edk/test:mojo_public_system_perftests 143 # GN version: //mojo/edk/test:mojo_public_system_perftests
144 'target_name': 'mojo_public_system_perftests', 144 'target_name': 'mojo_public_system_perftests',
145 'type': 'executable', 145 'type': 'executable',
146 'dependencies': [ 146 'dependencies': [
147 '../base/base.gyp:base', 147 '../../base/base.gyp:base',
148 '../testing/gtest.gyp:gtest', 148 '../../testing/gtest.gyp:gtest',
149 'mojo_edk.gyp:mojo_run_all_perftests', 149 'mojo_edk.gyp:mojo_run_all_perftests',
150 'mojo_public.gyp:mojo_public_test_utils', 150 'mojo_public.gyp:mojo_public_test_utils',
151 'mojo_public.gyp:mojo_utility', 151 'mojo_public.gyp:mojo_utility',
152 ], 152 ],
153 'sources': [ 153 'sources': [
154 'public/c/system/tests/core_perftest.cc', 154 'src/mojo/public/c/system/tests/core_perftest.cc',
155 ], 155 ],
156 }, 156 },
157 { 157 {
158 # GN version: //mojo/edk/system:mojo_system_unittests 158 # GN version: //mojo/edk/system:mojo_system_unittests
159 'target_name': 'mojo_system_unittests', 159 'target_name': 'mojo_system_unittests',
160 'type': 'executable', 160 'type': 'executable',
161 'dependencies': [ 161 'dependencies': [
162 '../base/base.gyp:base', 162 '../../base/base.gyp:base',
163 '../testing/gtest.gyp:gtest', 163 '../../testing/gtest.gyp:gtest',
164 'mojo_edk.gyp:mojo_common_test_support', 164 'mojo_edk.gyp:mojo_common_test_support',
165 'mojo_edk.gyp:mojo_system_impl', 165 'mojo_edk.gyp:mojo_system_impl',
166 ], 166 ],
167 'sources': [ 167 'sources': [
168 'edk/embedder/embedder_unittest.cc', 168 'src/mojo/edk/embedder/embedder_unittest.cc',
169 'edk/embedder/platform_channel_pair_posix_unittest.cc', 169 'src/mojo/edk/embedder/platform_channel_pair_posix_unittest.cc',
170 'edk/embedder/simple_platform_shared_buffer_unittest.cc', 170 'src/mojo/edk/embedder/simple_platform_shared_buffer_unittest.cc',
171 'edk/system/awakable_list_unittest.cc', 171 'src/mojo/edk/system/awakable_list_unittest.cc',
172 'edk/system/channel_endpoint_id_unittest.cc', 172 'src/mojo/edk/system/channel_endpoint_id_unittest.cc',
173 'edk/system/channel_manager_unittest.cc', 173 'src/mojo/edk/system/channel_manager_unittest.cc',
174 'edk/system/channel_unittest.cc', 174 'src/mojo/edk/system/channel_unittest.cc',
175 'edk/system/core_unittest.cc', 175 'src/mojo/edk/system/core_unittest.cc',
176 'edk/system/core_test_base.cc', 176 'src/mojo/edk/system/core_test_base.cc',
177 'edk/system/core_test_base.h', 177 'src/mojo/edk/system/core_test_base.h',
178 'edk/system/data_pipe_unittest.cc', 178 'src/mojo/edk/system/data_pipe_unittest.cc',
179 'edk/system/dispatcher_unittest.cc', 179 'src/mojo/edk/system/dispatcher_unittest.cc',
180 'edk/system/local_data_pipe_unittest.cc', 180 'src/mojo/edk/system/local_data_pipe_unittest.cc',
181 'edk/system/memory_unittest.cc', 181 'src/mojo/edk/system/memory_unittest.cc',
182 'edk/system/message_pipe_dispatcher_unittest.cc', 182 'src/mojo/edk/system/message_pipe_dispatcher_unittest.cc',
183 'edk/system/message_pipe_test_utils.h', 183 'src/mojo/edk/system/message_pipe_test_utils.h',
184 'edk/system/message_pipe_test_utils.cc', 184 'src/mojo/edk/system/message_pipe_test_utils.cc',
185 'edk/system/message_pipe_unittest.cc', 185 'src/mojo/edk/system/message_pipe_unittest.cc',
186 'edk/system/multiprocess_message_pipe_unittest.cc', 186 'src/mojo/edk/system/multiprocess_message_pipe_unittest.cc',
187 'edk/system/options_validation_unittest.cc', 187 'src/mojo/edk/system/options_validation_unittest.cc',
188 'edk/system/platform_handle_dispatcher_unittest.cc', 188 'src/mojo/edk/system/platform_handle_dispatcher_unittest.cc',
189 'edk/system/raw_channel_unittest.cc', 189 'src/mojo/edk/system/raw_channel_unittest.cc',
190 'edk/system/remote_message_pipe_unittest.cc', 190 'src/mojo/edk/system/remote_message_pipe_unittest.cc',
191 'edk/system/run_all_unittests.cc', 191 'src/mojo/edk/system/run_all_unittests.cc',
192 'edk/system/shared_buffer_dispatcher_unittest.cc', 192 'src/mojo/edk/system/shared_buffer_dispatcher_unittest.cc',
193 'edk/system/simple_dispatcher_unittest.cc', 193 'src/mojo/edk/system/simple_dispatcher_unittest.cc',
194 'edk/system/test_utils.cc', 194 'src/mojo/edk/system/test_utils.cc',
195 'edk/system/test_utils.h', 195 'src/mojo/edk/system/test_utils.h',
196 'edk/system/waiter_test_utils.cc', 196 'src/mojo/edk/system/waiter_test_utils.cc',
197 'edk/system/waiter_test_utils.h', 197 'src/mojo/edk/system/waiter_test_utils.h',
198 'edk/system/waiter_unittest.cc', 198 'src/mojo/edk/system/waiter_unittest.cc',
199 'edk/test/multiprocess_test_helper_unittest.cc', 199 'src/mojo/edk/test/multiprocess_test_helper_unittest.cc',
200 ], 200 ],
201 'conditions': [ 201 'conditions': [
202 ['OS=="ios"', { 202 ['OS=="ios"', {
203 'sources!': [ 203 'sources!': [
204 'edk/embedder/embedder_unittest.cc', 204 'src/mojo/edk/embedder/embedder_unittest.cc',
205 'edk/system/multiprocess_message_pipe_unittest.cc', 205 'src/mojo/edk/system/multiprocess_message_pipe_unittest.cc',
206 'edk/test/multiprocess_test_helper_unittest.cc', 206 'src/mojo/edk/test/multiprocess_test_helper_unittest.cc',
207 ], 207 ],
208 }], 208 }],
209 ], 209 ],
210 }, 210 },
211 { 211 {
212 # GN version: //mojo/edk/system:mojo_message_pipe_perftests 212 # GN version: //mojo/edk/system:mojo_message_pipe_perftests
213 'target_name': 'mojo_message_pipe_perftests', 213 'target_name': 'mojo_message_pipe_perftests',
214 'type': 'executable', 214 'type': 'executable',
215 'dependencies': [ 215 'dependencies': [
216 '../base/base.gyp:base', 216 '../../base/base.gyp:base',
217 '../base/base.gyp:test_support_base', 217 '../../base/base.gyp:test_support_base',
218 '../base/base.gyp:test_support_perf', 218 '../../base/base.gyp:test_support_perf',
219 '../testing/gtest.gyp:gtest', 219 '../../testing/gtest.gyp:gtest',
220 'mojo_edk.gyp:mojo_common_test_support', 220 'mojo_edk.gyp:mojo_common_test_support',
221 'mojo_edk.gyp:mojo_system_impl', 221 'mojo_edk.gyp:mojo_system_impl',
222 ], 222 ],
223 'sources': [ 223 'sources': [
224 'edk/system/message_pipe_perftest.cc', 224 'src/mojo/edk/system/message_pipe_perftest.cc',
225 'edk/system/message_pipe_test_utils.h', 225 'src/mojo/edk/system/message_pipe_test_utils.h',
226 'edk/system/message_pipe_test_utils.cc', 226 'src/mojo/edk/system/message_pipe_test_utils.cc',
227 'edk/system/test_utils.cc', 227 'src/mojo/edk/system/test_utils.cc',
228 'edk/system/test_utils.h', 228 'src/mojo/edk/system/test_utils.h',
229 ], 229 ],
230 }, 230 },
231 { 231 {
232 # GN version: //mojo/edk/js/test:js_unittests 232 # GN version: //mojo/edk/js/test:js_unittests
233 'target_name': 'mojo_js_unittests', 233 'target_name': 'mojo_js_unittests',
234 'type': 'executable', 234 'type': 'executable',
235 'dependencies': [ 235 'dependencies': [
236 '../gin/gin.gyp:gin_test', 236 '../../gin/gin.gyp:gin_test',
237 'mojo_edk.gyp:mojo_common_test_support', 237 'mojo_edk.gyp:mojo_common_test_support',
238 'mojo_edk.gyp:mojo_run_all_unittests', 238 'mojo_edk.gyp:mojo_run_all_unittests',
239 'mojo_edk.gyp:mojo_js_lib', 239 'mojo_edk.gyp:mojo_js_lib',
240 'mojo_public.gyp:mojo_environment_standalone', 240 'mojo_public.gyp:mojo_environment_standalone',
241 'mojo_public.gyp:mojo_public_test_interfaces', 241 'mojo_public.gyp:mojo_public_test_interfaces',
242 'mojo_public.gyp:mojo_utility', 242 'mojo_public.gyp:mojo_utility',
243 ], 243 ],
244 'sources': [ 244 'sources': [
245 'edk/js/handle_unittest.cc', 245 'src/mojo/edk/js/handle_unittest.cc',
246 'edk/js/test/run_js_tests.cc', 246 'src/mojo/edk/js/test/run_js_tests.cc',
247 ], 247 ],
248 }, 248 },
249 { 249 {
250 # GN version: //mojo/edk/js/test:js_integration_tests 250 # GN version: //mojo/edk/js/test:js_integration_tests
251 'target_name': 'mojo_js_integration_tests', 251 'target_name': 'mojo_js_integration_tests',
252 'type': 'executable', 252 'type': 'executable',
253 'dependencies': [ 253 'dependencies': [
254 '../base/base.gyp:base', 254 '../../base/base.gyp:base',
255 '../gin/gin.gyp:gin_test', 255 '../../gin/gin.gyp:gin_test',
256 'mojo_public.gyp:mojo_environment_standalone', 256 'mojo_public.gyp:mojo_environment_standalone',
257 'mojo_public.gyp:mojo_public_test_interfaces', 257 'mojo_public.gyp:mojo_public_test_interfaces',
258 'mojo_public.gyp:mojo_utility', 258 'mojo_public.gyp:mojo_utility',
259 'mojo_edk.gyp:mojo_js_lib', 259 'mojo_edk.gyp:mojo_js_lib',
260 'mojo_edk.gyp:mojo_run_all_unittests', 260 'mojo_edk.gyp:mojo_run_all_unittests',
261 'mojo_js_to_cpp_bindings', 261 'mojo_js_to_cpp_bindings',
262 ], 262 ],
263 'sources': [ 263 'sources': [
264 'edk/js/test/run_js_integration_tests.cc', 264 'src/mojo/edk/js/test/run_js_integration_tests.cc',
265 'edk/js/tests/js_to_cpp_tests', 265 'src/mojo/edk/js/tests/js_to_cpp_tests',
266 ], 266 ],
267 }, 267 },
268 { 268 {
269 'target_name': 'mojo_js_to_cpp_bindings', 269 'target_name': 'mojo_js_to_cpp_bindings',
270 'type': 'none', 270 'type': 'none',
271 'variables': { 271 'variables': {
272 'mojom_files': [ 272 'mojom_files': [
273 'edk/js/tests/js_to_cpp.mojom', 273 'src/mojo/edk/js/tests/js_to_cpp.mojom',
274 ], 274 ],
275 }, 275 },
276 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], 276 'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
277 }, 277 },
278 ], 278 ],
279 } 279 }
OLDNEW
« no previous file with comments | « third_party/mojo/mojo_edk_system_impl.gypi ('k') | third_party/mojo/mojo_public.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698