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 'includes': [ | 6 'variables': { |
7 'mojo_variables.gypi', | 7 'chromium_code': 1, |
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 '<@(mojo_public_system_unittest_sources)', | 172 '<(DEPTH)/mojo/public/c/system/tests/core_unittest.cc', |
| 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', |
173 ], | 177 ], |
174 }, | 178 }, |
175 { | 179 { |
176 # GN version: //mojo/edk/test:mojo_public_system_perftests | 180 # GN version: //mojo/edk/test:mojo_public_system_perftests |
177 'target_name': 'mojo_public_system_perftests', | 181 'target_name': 'mojo_public_system_perftests', |
178 'type': 'executable', | 182 'type': 'executable', |
179 'dependencies': [ | 183 'dependencies': [ |
180 '../base/base.gyp:base', | 184 '../base/base.gyp:base', |
181 '../testing/gtest.gyp:gtest', | 185 '../testing/gtest.gyp:gtest', |
182 'mojo_edk.gyp:mojo_run_all_perftests', | 186 'mojo_edk.gyp:mojo_run_all_perftests', |
183 'mojo_public.gyp:mojo_public_test_utils', | 187 'mojo_public.gyp:mojo_public_test_utils', |
184 ], | 188 ], |
185 'sources': [ | 189 'sources': [ |
186 'public/c/system/tests/core_perftest.cc', | 190 'public/c/system/tests/core_perftest.cc', |
187 ], | 191 ], |
188 }, | 192 }, |
189 { | 193 { |
190 # GN version: //mojo/edk/system:mojo_system_unittests | 194 # GN version: //mojo/edk/system:mojo_system_unittests |
191 'target_name': 'mojo_system_unittests', | 195 'target_name': 'mojo_system_unittests', |
192 'type': '<(gtest_target_type)', | 196 'type': '<(gtest_target_type)', |
193 'dependencies': [ | 197 'dependencies': [ |
194 '../base/base.gyp:base', | 198 '../base/base.gyp:base', |
195 '../testing/gtest.gyp:gtest', | 199 '../testing/gtest.gyp:gtest', |
196 'mojo_edk.gyp:mojo_common_test_support', | 200 'mojo_edk.gyp:mojo_common_test_support', |
197 'mojo_edk.gyp:mojo_run_all_unittests', | 201 'mojo_edk.gyp:mojo_run_all_unittests', |
198 'mojo_edk.gyp:mojo_system_impl', | 202 'mojo_edk.gyp:mojo_system_impl', |
199 'mojo_edk.gyp:mojo_system_ports', | 203 'mojo_edk.gyp:mojo_system_ports', |
| 204 'mojo_public.gyp:mojo_public_system', |
200 ], | 205 ], |
201 'sources': [ | 206 'sources': [ |
202 'edk/embedder/embedder_unittest.cc', | 207 'edk/embedder/embedder_unittest.cc', |
203 'edk/embedder/platform_channel_pair_posix_unittest.cc', | 208 'edk/embedder/platform_channel_pair_posix_unittest.cc', |
204 'edk/embedder/platform_shared_buffer_unittest.cc', | 209 'edk/embedder/platform_shared_buffer_unittest.cc', |
205 'edk/system/awakable_list_unittest.cc', | 210 'edk/system/awakable_list_unittest.cc', |
206 'edk/system/core_test_base.cc', | 211 'edk/system/core_test_base.cc', |
207 'edk/system/core_test_base.h', | 212 'edk/system/core_test_base.h', |
208 'edk/system/core_unittest.cc', | 213 'edk/system/core_unittest.cc', |
209 'edk/system/message_pipe_unittest.cc', | 214 'edk/system/message_pipe_unittest.cc', |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 ], | 384 ], |
380 'variables': { | 385 'variables': { |
381 'test_suite_name': 'mojo_system_unittests', | 386 'test_suite_name': 'mojo_system_unittests', |
382 }, | 387 }, |
383 'includes': [ '../build/apk_test.gypi' ], | 388 'includes': [ '../build/apk_test.gypi' ], |
384 }, | 389 }, |
385 ], | 390 ], |
386 }], | 391 }], |
387 ], | 392 ], |
388 } | 393 } |
OLD | NEW |