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.
5 config("system_config") {
7 # Ensures that dependent projects import the core functions on Windows.
8 "MOJO_USE_SYSTEM_IMPL",
13 output_name = "mojo_system_impl"
17 "//base/third_party/dynamic_annotations",
22 "MOJO_SYSTEM_IMPL_IMPLEMENTATION",
23 "MOJO_SYSTEM_IMPLEMENTATION",
26 all_dependent_configs = [ ":system_config" ]
31 "channel_endpoint.cc",
38 "data_pipe_consumer_dispatcher.cc",
39 "data_pipe_consumer_dispatcher.h",
40 "data_pipe_producer_dispatcher.cc",
41 "data_pipe_producer_dispatcher.h",
45 "handle_signals_state.h",
50 "local_message_pipe_endpoint.cc",
51 "local_message_pipe_endpoint.h",
56 "message_in_transit.cc",
57 "message_in_transit.h",
58 "message_in_transit_queue.cc",
59 "message_in_transit_queue.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",
73 "raw_channel_posix.cc",
75 "shared_buffer_dispatcher.cc",
76 "shared_buffer_dispatcher.h",
77 "simple_dispatcher.cc",
78 "simple_dispatcher.h",
88 # GYP version: mojo/mojo_base.gyp:mojo_system_unittests
89 test("mojo_system_unittests") {
93 "//mojo/common/test:test_support",
94 "//mojo/embedder:embedder_unittests",
99 "channel_unittest.cc",
103 "data_pipe_unittest.cc",
104 "dispatcher_unittest.cc",
105 "local_data_pipe_unittest.cc",
106 "memory_unittest.cc",
107 "message_pipe_dispatcher_unittest.cc",
108 "message_pipe_test_utils.h",
109 "message_pipe_test_utils.cc",
110 "message_pipe_unittest.cc",
111 "multiprocess_message_pipe_unittest.cc",
112 "options_validation_unittest.cc",
113 "platform_handle_dispatcher_unittest.cc",
114 "raw_channel_unittest.cc",
115 "remote_message_pipe_unittest.cc",
116 "run_all_unittests.cc",
117 "shared_buffer_dispatcher_unittest.cc",
118 "simple_dispatcher_unittest.cc",
121 "waiter_list_unittest.cc",
122 "waiter_test_utils.cc",
123 "waiter_test_utils.h",
124 "waiter_unittest.cc",
128 # GYP version: mojo/mojo_base.gyp:mojo_message_pipe_perftests
129 test("mojo_message_pipe_perftests") {
133 "//base/test:test_support",
134 "//base/test:test_support_perf",
135 "//mojo/common/test:test_support",
140 "message_pipe_perftest.cc",
141 "message_pipe_test_utils.h",
142 "message_pipe_test_utils.cc",