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 'includes': [ |
7 '../third_party/mojo/mojo_variables.gypi', | 7 '../third_party/mojo/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. |
19 'mojo_message_pipe_perftests2', | 19 'mojo_message_pipe_perftests2', |
20 'mojo_system_unittests2', | 20 'mojo_system_unittests2', |
21 'mojo_js_unittests', | 21 'mojo_js_unittests', |
22 'mojo_js_integration_tests', | 22 'mojo_js_integration_tests', |
23 ], | 23 ], |
24 }, | 24 }, |
25 { | 25 { |
| 26 # GN version: //mojo/edk/system/ports:mojo_system_ports_unittests |
| 27 'target_name': 'mojo_system_ports_unittests', |
| 28 'type': 'executable', |
| 29 'dependencies': [ |
| 30 '../testing/gtest.gyp:gtest', |
| 31 '../testing/gtest.gyp:gtest_main', |
| 32 'mojo_edk.gyp:mojo_system_impl2', |
| 33 ], |
| 34 'sources': [ |
| 35 'edk/system/ports/ports_unittest.cc', |
| 36 ], |
| 37 } |
| 38 { |
26 # GN version: //mojo/edk/system:mojo_system_unittests | 39 # GN version: //mojo/edk/system:mojo_system_unittests |
27 'target_name': 'mojo_system_unittests2', | 40 'target_name': 'mojo_system_unittests2', |
28 'type': 'executable', | 41 'type': 'executable', |
29 'dependencies': [ | 42 'dependencies': [ |
30 '../base/base.gyp:base', | 43 '../base/base.gyp:base', |
31 '../testing/gtest.gyp:gtest', | 44 '../testing/gtest.gyp:gtest', |
32 'mojo_edk.gyp:mojo_common_test_support2', | 45 'mojo_edk.gyp:mojo_common_test_support2', |
33 'mojo_edk.gyp:mojo_system_impl2', | 46 'mojo_edk.gyp:mojo_system_impl2', |
34 ], | 47 ], |
35 'sources': [ | 48 'sources': [ |
36 'edk/embedder/embedder_unittest.cc', | 49 'edk/embedder/embedder_unittest.cc', |
37 'edk/embedder/platform_channel_pair_posix_unittest.cc', | 50 'edk/embedder/platform_channel_pair_posix_unittest.cc', |
38 'edk/embedder/simple_platform_shared_buffer_unittest.cc', | 51 'edk/embedder/simple_platform_shared_buffer_unittest.cc', |
39 'edk/system/awakable_list_unittest.cc', | 52 'edk/system/awakable_list_unittest.cc', |
40 'edk/system/core_test_base.cc', | 53 'edk/system/core_test_base.cc', |
41 'edk/system/core_test_base.h', | 54 'edk/system/core_test_base.h', |
42 'edk/system/core_unittest.cc', | 55 'edk/system/core_unittest.cc', |
43 'edk/system/data_pipe_unittest.cc', | 56 'edk/system/data_pipe_unittest.cc', |
44 'edk/system/dispatcher_unittest.cc', | |
45 'edk/system/message_in_transit_queue_unittest.cc', | |
46 'edk/system/message_in_transit_test_utils.cc', | |
47 'edk/system/message_in_transit_test_utils.h', | |
48 'edk/system/message_pipe_test_utils.cc', | 57 'edk/system/message_pipe_test_utils.cc', |
49 'edk/system/message_pipe_test_utils.h', | 58 'edk/system/message_pipe_test_utils.h', |
50 'edk/system/message_pipe_unittest.cc', | 59 'edk/system/message_pipe_unittest.cc', |
51 'edk/system/multiprocess_message_pipe_unittest.cc', | 60 'edk/system/multiprocess_message_pipe_unittest.cc', |
52 'edk/system/options_validation_unittest.cc', | 61 'edk/system/options_validation_unittest.cc', |
53 'edk/system/platform_handle_dispatcher_unittest.cc', | 62 'edk/system/platform_handle_dispatcher_unittest.cc', |
54 'edk/system/raw_channel_unittest.cc', | |
55 'edk/system/run_all_unittests.cc', | 63 'edk/system/run_all_unittests.cc', |
56 'edk/system/shared_buffer_dispatcher_unittest.cc', | 64 'edk/system/shared_buffer_dispatcher_unittest.cc', |
57 'edk/system/simple_dispatcher_unittest.cc', | 65 'edk/system/shared_buffer_unittest.cc', |
58 'edk/system/test_utils.cc', | 66 'edk/system/test_utils.cc', |
59 'edk/system/test_utils.h', | 67 'edk/system/test_utils.h', |
60 'edk/system/wait_set_dispatcher_unittest.cc', | 68 'edk/system/wait_set_dispatcher_unittest.cc', |
61 'edk/system/waiter_test_utils.cc', | 69 'edk/system/waiter_test_utils.cc', |
62 'edk/system/waiter_test_utils.h', | 70 'edk/system/waiter_test_utils.h', |
63 'edk/system/waiter_unittest.cc', | 71 'edk/system/waiter_unittest.cc', |
64 'edk/test/multiprocess_test_helper_unittest.cc', | 72 'edk/test/multiprocess_test_helper_unittest.cc', |
65 ], | 73 ], |
66 'conditions': [ | 74 'conditions': [ |
67 ['OS=="ios"', { | 75 ['OS=="ios"', { |
68 'sources!': [ | 76 'sources!': [ |
69 'edk/embedder/embedder_unittest.cc', | 77 'edk/embedder/embedder_unittest.cc', |
70 'edk/system/multiprocess_message_pipe_unittest.cc', | 78 'edk/system/multiprocess_message_pipe_unittest.cc', |
71 'edk/test/multiprocess_test_helper_unittest.cc', | 79 'edk/system/shared_buffer_unittest.cc', |
72 ], | 80 ], |
73 }], | 81 }], |
74 ], | 82 ], |
75 }, | 83 }, |
76 { | 84 { |
77 # GN version: //mojo/edk/system:mojo_message_pipe_perftests | 85 # GN version: //mojo/edk/system:mojo_message_pipe_perftests |
78 'target_name': 'mojo_message_pipe_perftests2', | 86 'target_name': 'mojo_message_pipe_perftests2', |
79 'type': 'executable', | 87 'type': 'executable', |
80 'dependencies': [ | 88 'dependencies': [ |
81 '../base/base.gyp:base', | 89 '../base/base.gyp:base', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 'mojo_edk.gyp:mojo_run_all_unittests2', | 134 'mojo_edk.gyp:mojo_run_all_unittests2', |
127 'mojo_js_to_cpp_bindings', | 135 'mojo_js_to_cpp_bindings', |
128 ], | 136 ], |
129 'sources': [ | 137 'sources': [ |
130 'edk/js/test/run_js_integration_tests.cc', | 138 'edk/js/test/run_js_integration_tests.cc', |
131 'edk/js/tests/js_to_cpp_tests.cc', | 139 'edk/js/tests/js_to_cpp_tests.cc', |
132 ], | 140 ], |
133 }, | 141 }, |
134 ], | 142 ], |
135 } | 143 } |
OLD | NEW |