OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 'variables': { | 6 'includes': [ |
7 'chromium_code': 1, | 7 'mojo_variables.gypi', |
8 }, | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'mojo_edk_tests', | 11 'target_name': 'mojo_edk_tests', |
12 'type': 'none', | 12 'type': 'none', |
13 'dependencies': [ | 13 'dependencies': [ |
14 # NOTE: If adding a new dependency here, please consider whether it | 14 # NOTE: If adding a new dependency here, please consider whether it |
15 # should also be added to the list of Mojo-related dependencies of | 15 # should also be added to the list of Mojo-related dependencies of |
16 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base | 16 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base |
17 # target on iOS due to the presence of the js targets, which cause v8 | 17 # target on iOS due to the presence of the js targets, which cause v8 |
18 # to be built. | 18 # to be built. |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 # and //mojo/public/c/system/tests | 162 # and //mojo/public/c/system/tests |
163 'target_name': 'mojo_public_system_unittests', | 163 'target_name': 'mojo_public_system_unittests', |
164 'type': 'executable', | 164 'type': 'executable', |
165 'dependencies': [ | 165 'dependencies': [ |
166 '../testing/gtest.gyp:gtest', | 166 '../testing/gtest.gyp:gtest', |
167 'mojo_edk.gyp:mojo_run_all_unittests', | 167 'mojo_edk.gyp:mojo_run_all_unittests', |
168 'mojo_public.gyp:mojo_cpp_system', | 168 'mojo_public.gyp:mojo_cpp_system', |
169 'mojo_public.gyp:mojo_public_test_utils', | 169 'mojo_public.gyp:mojo_public_test_utils', |
170 ], | 170 ], |
171 'sources': [ | 171 'sources': [ |
172 '<(DEPTH)/mojo/public/c/system/tests/core_unittest.cc', | 172 '<@(mojo_public_system_unittest_sources)', |
173 '<(DEPTH)/mojo/public/c/system/tests/core_unittest_pure_c.c', | |
174 '<(DEPTH)/mojo/public/c/system/tests/macros_unittest.cc', | |
175 '<(DEPTH)/mojo/public/cpp/system/tests/core_unittest.cc', | |
176 '<(DEPTH)/mojo/public/cpp/system/tests/watcher_unittest.cc', | |
177 ], | 173 ], |
178 }, | 174 }, |
179 { | 175 { |
180 # GN version: //mojo/edk/test:mojo_public_system_perftests | 176 # GN version: //mojo/edk/test:mojo_public_system_perftests |
181 'target_name': 'mojo_public_system_perftests', | 177 'target_name': 'mojo_public_system_perftests', |
182 'type': 'executable', | 178 'type': 'executable', |
183 'dependencies': [ | 179 'dependencies': [ |
184 '../base/base.gyp:base', | 180 '../base/base.gyp:base', |
185 '../testing/gtest.gyp:gtest', | 181 '../testing/gtest.gyp:gtest', |
186 'mojo_edk.gyp:mojo_run_all_perftests', | 182 'mojo_edk.gyp:mojo_run_all_perftests', |
187 'mojo_public.gyp:mojo_public_system', | |
188 'mojo_public.gyp:mojo_public_test_utils', | 183 'mojo_public.gyp:mojo_public_test_utils', |
189 ], | 184 ], |
190 'sources': [ | 185 'sources': [ |
191 'public/c/system/tests/core_perftest.cc', | 186 'public/c/system/tests/core_perftest.cc', |
192 ], | 187 ], |
193 }, | 188 }, |
194 { | 189 { |
195 # GN version: //mojo/edk/system:mojo_system_unittests | 190 # GN version: //mojo/edk/system:mojo_system_unittests |
196 'target_name': 'mojo_system_unittests', | 191 'target_name': 'mojo_system_unittests', |
197 'type': '<(gtest_target_type)', | 192 'type': '<(gtest_target_type)', |
198 'dependencies': [ | 193 'dependencies': [ |
199 '../base/base.gyp:base', | 194 '../base/base.gyp:base', |
200 '../testing/gtest.gyp:gtest', | 195 '../testing/gtest.gyp:gtest', |
201 'mojo_edk.gyp:mojo_common_test_support', | 196 'mojo_edk.gyp:mojo_common_test_support', |
202 'mojo_edk.gyp:mojo_run_all_unittests', | 197 'mojo_edk.gyp:mojo_run_all_unittests', |
203 'mojo_edk.gyp:mojo_system_impl', | 198 'mojo_edk.gyp:mojo_system_impl', |
204 'mojo_edk.gyp:mojo_system_ports', | 199 'mojo_edk.gyp:mojo_system_ports', |
205 'mojo_public.gyp:mojo_public_system', | |
206 ], | 200 ], |
207 'sources': [ | 201 'sources': [ |
208 'edk/embedder/embedder_unittest.cc', | 202 'edk/embedder/embedder_unittest.cc', |
209 'edk/embedder/platform_channel_pair_posix_unittest.cc', | 203 'edk/embedder/platform_channel_pair_posix_unittest.cc', |
210 'edk/embedder/platform_shared_buffer_unittest.cc', | 204 'edk/embedder/platform_shared_buffer_unittest.cc', |
211 'edk/system/awakable_list_unittest.cc', | 205 'edk/system/awakable_list_unittest.cc', |
212 'edk/system/core_test_base.cc', | 206 'edk/system/core_test_base.cc', |
213 'edk/system/core_test_base.h', | 207 'edk/system/core_test_base.h', |
214 'edk/system/core_unittest.cc', | 208 'edk/system/core_unittest.cc', |
215 'edk/system/message_pipe_unittest.cc', | 209 'edk/system/message_pipe_unittest.cc', |
(...skipping 29 matching lines...) Expand all Loading... |
245 # GN version: //mojo/edk/system:mojo_message_pipe_perftests | 239 # GN version: //mojo/edk/system:mojo_message_pipe_perftests |
246 'target_name': 'mojo_message_pipe_perftests', | 240 'target_name': 'mojo_message_pipe_perftests', |
247 'type': 'executable', | 241 'type': 'executable', |
248 'dependencies': [ | 242 'dependencies': [ |
249 '../base/base.gyp:base', | 243 '../base/base.gyp:base', |
250 '../base/base.gyp:test_support_base', | 244 '../base/base.gyp:test_support_base', |
251 '../testing/gtest.gyp:gtest', | 245 '../testing/gtest.gyp:gtest', |
252 'mojo_edk.gyp:mojo_common_test_support', | 246 'mojo_edk.gyp:mojo_common_test_support', |
253 'mojo_edk.gyp:mojo_run_all_perftests', | 247 'mojo_edk.gyp:mojo_run_all_perftests', |
254 'mojo_edk.gyp:mojo_system_impl', | 248 'mojo_edk.gyp:mojo_system_impl', |
255 'mojo_public.gyp:mojo_public_system', | |
256 ], | 249 ], |
257 'sources': [ | 250 'sources': [ |
258 'edk/system/message_pipe_perftest.cc', | 251 'edk/system/message_pipe_perftest.cc', |
259 'edk/system/test_utils.cc', | 252 'edk/system/test_utils.cc', |
260 'edk/system/test_utils.h', | 253 'edk/system/test_utils.h', |
261 ], | 254 ], |
262 }, | 255 }, |
263 # TODO(yzshen): fix the following two targets. | 256 # TODO(yzshen): fix the following two targets. |
264 { | 257 { |
265 # GN version: //mojo/edk/js/test:js_unittests | 258 # GN version: //mojo/edk/js/test:js_unittests |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 ], | 379 ], |
387 'variables': { | 380 'variables': { |
388 'test_suite_name': 'mojo_system_unittests', | 381 'test_suite_name': 'mojo_system_unittests', |
389 }, | 382 }, |
390 'includes': [ '../build/apk_test.gypi' ], | 383 'includes': [ '../build/apk_test.gypi' ], |
391 }, | 384 }, |
392 ], | 385 ], |
393 }], | 386 }], |
394 ], | 387 ], |
395 } | 388 } |
OLD | NEW |