| OLD | NEW |
| 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 config("system_config") { | 5 config("system_config") { |
| 6 defines = [ | 6 defines = [ |
| 7 # Ensures that dependent projects import the core functions on Windows. | 7 # Ensures that dependent projects import the core functions on Windows. |
| 8 "MOJO_USE_SYSTEM_IMPL", | 8 "MOJO_USE_SYSTEM_IMPL", |
| 9 ] | 9 ] |
| 10 } | 10 } |
| 11 | 11 |
| 12 component("system") { | 12 component("system") { |
| 13 output_name = "mojo_system_impl" | 13 output_name = "mojo_system_impl" |
| 14 | 14 |
| 15 deps = [ | 15 deps = [ |
| 16 "//base", | 16 "//base", |
| 17 "//base/third_party/dynamic_annotations", | 17 "//base/third_party/dynamic_annotations", |
| 18 "//mojo/edk/embedder", | 18 "//mojo/embedder", |
| 19 ] | 19 ] |
| 20 | 20 |
| 21 defines = [ | 21 defines = [ |
| 22 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", | 22 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", |
| 23 "MOJO_SYSTEM_IMPLEMENTATION", | 23 "MOJO_SYSTEM_IMPLEMENTATION", |
| 24 ] | 24 ] |
| 25 | 25 |
| 26 all_dependent_configs = [ ":system_config" ] | 26 all_dependent_configs = [ ":system_config" ] |
| 27 | 27 |
| 28 sources = [ | 28 sources = [ |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 "waiter_list.cc", | 83 "waiter_list.cc", |
| 84 "waiter_list.h", | 84 "waiter_list.h", |
| 85 ] | 85 ] |
| 86 } | 86 } |
| 87 | 87 |
| 88 # GYP version: mojo/mojo_base.gyp:mojo_system_unittests | 88 # GYP version: mojo/mojo_base.gyp:mojo_system_unittests |
| 89 test("mojo_system_unittests") { | 89 test("mojo_system_unittests") { |
| 90 deps = [ | 90 deps = [ |
| 91 ":system", | 91 ":system", |
| 92 "//base", | 92 "//base", |
| 93 "//mojo/edk/embedder:embedder_unittests", | 93 "//mojo/common/test:test_support", |
| 94 "//mojo/edk/test:test_support", | 94 "//mojo/embedder:embedder_unittests", |
| 95 "//testing/gtest", | 95 "//testing/gtest", |
| 96 ] | 96 ] |
| 97 | 97 |
| 98 sources = [ | 98 sources = [ |
| 99 "../test/multiprocess_test_helper_unittest.cc", | |
| 100 "channel_unittest.cc", | 99 "channel_unittest.cc", |
| 100 "core_unittest.cc", |
| 101 "core_test_base.cc", | 101 "core_test_base.cc", |
| 102 "core_test_base.h", | 102 "core_test_base.h", |
| 103 "core_unittest.cc", | |
| 104 "data_pipe_unittest.cc", | 103 "data_pipe_unittest.cc", |
| 105 "dispatcher_unittest.cc", | 104 "dispatcher_unittest.cc", |
| 106 "local_data_pipe_unittest.cc", | 105 "local_data_pipe_unittest.cc", |
| 107 "memory_unittest.cc", | 106 "memory_unittest.cc", |
| 108 "message_pipe_dispatcher_unittest.cc", | 107 "message_pipe_dispatcher_unittest.cc", |
| 108 "message_pipe_test_utils.h", |
| 109 "message_pipe_test_utils.cc", | 109 "message_pipe_test_utils.cc", |
| 110 "message_pipe_test_utils.h", | |
| 111 "message_pipe_unittest.cc", | 110 "message_pipe_unittest.cc", |
| 112 "multiprocess_message_pipe_unittest.cc", | 111 "multiprocess_message_pipe_unittest.cc", |
| 113 "options_validation_unittest.cc", | 112 "options_validation_unittest.cc", |
| 114 "platform_handle_dispatcher_unittest.cc", | 113 "platform_handle_dispatcher_unittest.cc", |
| 115 "raw_channel_unittest.cc", | 114 "raw_channel_unittest.cc", |
| 116 "remote_message_pipe_unittest.cc", | 115 "remote_message_pipe_unittest.cc", |
| 117 "run_all_unittests.cc", | 116 "run_all_unittests.cc", |
| 118 "shared_buffer_dispatcher_unittest.cc", | 117 "shared_buffer_dispatcher_unittest.cc", |
| 119 "simple_dispatcher_unittest.cc", | 118 "simple_dispatcher_unittest.cc", |
| 120 "test_utils.cc", | 119 "test_utils.cc", |
| 121 "test_utils.h", | 120 "test_utils.h", |
| 122 "waiter_list_unittest.cc", | 121 "waiter_list_unittest.cc", |
| 123 "waiter_test_utils.cc", | 122 "waiter_test_utils.cc", |
| 124 "waiter_test_utils.h", | 123 "waiter_test_utils.h", |
| 125 "waiter_unittest.cc", | 124 "waiter_unittest.cc", |
| 126 ] | 125 ] |
| 127 } | 126 } |
| 128 | 127 |
| 129 # GYP version: mojo/mojo_base.gyp:mojo_message_pipe_perftests | 128 # GYP version: mojo/mojo_base.gyp:mojo_message_pipe_perftests |
| 130 test("mojo_message_pipe_perftests") { | 129 test("mojo_message_pipe_perftests") { |
| 131 deps = [ | 130 deps = [ |
| 132 ":system", | 131 ":system", |
| 133 "//base", | 132 "//base", |
| 134 "//base/test:test_support", | 133 "//base/test:test_support", |
| 135 "//base/test:test_support_perf", | 134 "//base/test:test_support_perf", |
| 136 "//mojo/edk/test:test_support", | 135 "//mojo/common/test:test_support", |
| 137 "//testing/gtest", | 136 "//testing/gtest", |
| 138 ] | 137 ] |
| 139 | 138 |
| 140 sources = [ | 139 sources = [ |
| 141 "message_pipe_perftest.cc", | 140 "message_pipe_perftest.cc", |
| 142 "message_pipe_test_utils.h", | 141 "message_pipe_test_utils.h", |
| 143 "message_pipe_test_utils.cc", | 142 "message_pipe_test_utils.cc", |
| 144 "test_utils.cc", | 143 "test_utils.cc", |
| 145 "test_utils.h", | 144 "test_utils.h", |
| 146 ] | 145 ] |
| 147 } | 146 } |
| OLD | NEW |