| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 config("system_config") { | |
| 6 defines = [ | |
| 7 # Ensures that dependent projects import the core functions on Windows. | |
| 8 "MOJO_USE_SYSTEM_IMPL", | |
| 9 ] | |
| 10 } | |
| 11 | |
| 12 component("system") { | |
| 13 output_name = "mojo_system_impl" | |
| 14 | |
| 15 deps = [ | |
| 16 "//base", | |
| 17 "//base/third_party/dynamic_annotations", | |
| 18 "//mojo/edk/embedder", | |
| 19 ] | |
| 20 | |
| 21 defines = [ | |
| 22 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", | |
| 23 "MOJO_SYSTEM_IMPLEMENTATION", | |
| 24 ] | |
| 25 | |
| 26 all_dependent_configs = [ ":system_config" ] | |
| 27 | |
| 28 sources = [ | |
| 29 "channel.cc", | |
| 30 "channel.h", | |
| 31 "channel_endpoint.cc", | |
| 32 "channel_endpoint.h", | |
| 33 "constants.h", | |
| 34 "core.cc", | |
| 35 "core.h", | |
| 36 "data_pipe.cc", | |
| 37 "data_pipe.h", | |
| 38 "data_pipe_consumer_dispatcher.cc", | |
| 39 "data_pipe_consumer_dispatcher.h", | |
| 40 "data_pipe_producer_dispatcher.cc", | |
| 41 "data_pipe_producer_dispatcher.h", | |
| 42 "dispatcher.cc", | |
| 43 "dispatcher.h", | |
| 44 "entrypoints.cc", | |
| 45 "handle_signals_state.h", | |
| 46 "handle_table.cc", | |
| 47 "handle_table.h", | |
| 48 "local_data_pipe.cc", | |
| 49 "local_data_pipe.h", | |
| 50 "local_message_pipe_endpoint.cc", | |
| 51 "local_message_pipe_endpoint.h", | |
| 52 "mapping_table.cc", | |
| 53 "mapping_table.h", | |
| 54 "memory.cc", | |
| 55 "memory.h", | |
| 56 "message_in_transit.cc", | |
| 57 "message_in_transit.h", | |
| 58 "message_in_transit_queue.cc", | |
| 59 "message_in_transit_queue.h", | |
| 60 "message_pipe.cc", | |
| 61 "message_pipe.h", | |
| 62 "message_pipe_dispatcher.cc", | |
| 63 "message_pipe_dispatcher.h", | |
| 64 "message_pipe_endpoint.cc", | |
| 65 "message_pipe_endpoint.h", | |
| 66 "options_validation.h", | |
| 67 "platform_handle_dispatcher.cc", | |
| 68 "platform_handle_dispatcher.h", | |
| 69 "proxy_message_pipe_endpoint.cc", | |
| 70 "proxy_message_pipe_endpoint.h", | |
| 71 "raw_channel.cc", | |
| 72 "raw_channel.h", | |
| 73 "raw_channel_posix.cc", | |
| 74 "raw_channel_win.cc", | |
| 75 "shared_buffer_dispatcher.cc", | |
| 76 "shared_buffer_dispatcher.h", | |
| 77 "simple_dispatcher.cc", | |
| 78 "simple_dispatcher.h", | |
| 79 "transport_data.cc", | |
| 80 "transport_data.h", | |
| 81 "waiter.cc", | |
| 82 "waiter.h", | |
| 83 "waiter_list.cc", | |
| 84 "waiter_list.h", | |
| 85 ] | |
| 86 } | |
| 87 | |
| 88 # GYP version: mojo/mojo_base.gyp:mojo_system_unittests | |
| 89 test("mojo_system_unittests") { | |
| 90 deps = [ | |
| 91 ":system", | |
| 92 "//base", | |
| 93 "//mojo/edk/embedder:embedder_unittests", | |
| 94 "//mojo/edk/test:test_support", | |
| 95 "//testing/gtest", | |
| 96 ] | |
| 97 | |
| 98 sources = [ | |
| 99 "../test/multiprocess_test_helper_unittest.cc", | |
| 100 "channel_unittest.cc", | |
| 101 "core_test_base.cc", | |
| 102 "core_test_base.h", | |
| 103 "core_unittest.cc", | |
| 104 "data_pipe_unittest.cc", | |
| 105 "dispatcher_unittest.cc", | |
| 106 "local_data_pipe_unittest.cc", | |
| 107 "memory_unittest.cc", | |
| 108 "message_pipe_dispatcher_unittest.cc", | |
| 109 "message_pipe_test_utils.cc", | |
| 110 "message_pipe_test_utils.h", | |
| 111 "message_pipe_unittest.cc", | |
| 112 "multiprocess_message_pipe_unittest.cc", | |
| 113 "options_validation_unittest.cc", | |
| 114 "platform_handle_dispatcher_unittest.cc", | |
| 115 "raw_channel_unittest.cc", | |
| 116 "remote_message_pipe_unittest.cc", | |
| 117 "run_all_unittests.cc", | |
| 118 "shared_buffer_dispatcher_unittest.cc", | |
| 119 "simple_dispatcher_unittest.cc", | |
| 120 "test_utils.cc", | |
| 121 "test_utils.h", | |
| 122 "waiter_list_unittest.cc", | |
| 123 "waiter_test_utils.cc", | |
| 124 "waiter_test_utils.h", | |
| 125 "waiter_unittest.cc", | |
| 126 ] | |
| 127 } | |
| 128 | |
| 129 # GYP version: mojo/mojo_base.gyp:mojo_message_pipe_perftests | |
| 130 test("mojo_message_pipe_perftests") { | |
| 131 deps = [ | |
| 132 ":system", | |
| 133 "//base", | |
| 134 "//base/test:test_support", | |
| 135 "//base/test:test_support_perf", | |
| 136 "//mojo/edk/test:test_support", | |
| 137 "//testing/gtest", | |
| 138 ] | |
| 139 | |
| 140 sources = [ | |
| 141 "message_pipe_perftest.cc", | |
| 142 "message_pipe_test_utils.h", | |
| 143 "message_pipe_test_utils.cc", | |
| 144 "test_utils.cc", | |
| 145 "test_utils.h", | |
| 146 ] | |
| 147 } | |
| OLD | NEW |