1 # Copyright 2013 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.
10 'defines': ['MOJO_IMPLEMENTATION'],
14 'target_name': 'mojo',
17 'mojo_public_test_support',
18 'mojo_public_unittests',
19 'mojo_public_perftests',
21 'mojo_system_unittests',
25 'target_name': 'mojo_public_test_support',
26 'type': 'static_library',
28 '../base/base.gyp:base',
29 '../testing/gtest.gyp:gtest',
33 'public/tests/test_support.cc',
34 'public/tests/test_support.h',
38 'target_name': 'mojo_public_unittests',
41 '../base/base.gyp:run_all_unittests',
42 '../testing/gtest.gyp:gtest',
43 'mojo_public_test_support',
47 'public/tests/system_core_unittest.cc',
51 'target_name': 'mojo_public_perftests',
54 '../base/base.gyp:base',
55 '../base/base.gyp:test_support_perf',
56 '../testing/gtest.gyp:gtest',
57 'mojo_public_test_support',
61 'public/tests/system_core_perftest.cc',
65 'target_name': 'mojo_system',
66 # TODO(vtl): This should probably be '<(component)'; make it work.
67 'type': '<(component)',
69 '../base/base.gyp:base',
72 'MOJO_SYSTEM_IMPLEMENTATION',
76 'system/core_impl.cc',
78 'system/dispatcher.cc',
79 'system/dispatcher.h',
81 'system/local_message_pipe_endpoint.cc',
82 'system/local_message_pipe_endpoint.h',
85 'system/message_in_transit.cc',
86 'system/message_in_transit.h',
87 'system/message_pipe.cc',
88 'system/message_pipe.h',
89 'system/message_pipe_dispatcher.cc',
90 'system/message_pipe_dispatcher.h',
91 'system/message_pipe_endpoint.cc',
92 'system/message_pipe_endpoint.h',
93 'system/platform_channel_handle.h',
94 'system/raw_channel.h',
95 'system/raw_channel_posix.cc',
96 'system/simple_dispatcher.cc',
97 'system/simple_dispatcher.h',
100 'system/waiter_list.cc',
101 'system/waiter_list.h',
103 'direct_dependent_settings': {
110 'target_name': 'mojo_system_unittests',
111 'type': 'executable',
113 '../base/base.gyp:run_all_unittests',
114 '../testing/gtest.gyp:gtest',
118 'system/core_impl_unittest.cc',
119 'system/core_test_base.cc',
120 'system/core_test_base.h',
121 'system/dispatcher_unittest.cc',
122 'system/message_pipe_dispatcher_unittest.cc',
123 'system/message_pipe_unittest.cc',
124 'system/raw_channel_posix_unittest.cc',
125 'system/simple_dispatcher_unittest.cc',
126 'system/test_utils.h',
127 'system/waiter_list_unittest.cc',
128 'system/waiter_test_utils.cc',
129 'system/waiter_test_utils.h',
130 'system/waiter_unittest.cc',
134 'target_name': 'mojo_shell',
135 'type': 'executable',
137 '../base/base.gyp:base',
138 '../net/net.gyp:net',
139 '../url/url.gyp:url_lib',
147 'loader/url_request_context_getter.cc',
148 'loader/url_request_context_getter.h',
149 'shell/app_container.cc',
150 'shell/app_container.h',
156 'shell/task_runners.cc',
157 'shell/task_runners.h',
161 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
162 'msvs_disabled_warnings': [
169 'target_name': 'sample_app',
170 'type': '<(component)',
172 '../base/base.gyp:base',
176 'shell/sample_app.cc',
180 'target_name': 'mojo_bindings',
181 'type': 'static_library',
186 'public/bindings/lib/bindings.h',
187 'public/bindings/lib/bindings_internal.h',
188 'public/bindings/lib/bindings_serialization.cc',
189 'public/bindings/lib/bindings_serialization.h',
190 'public/bindings/lib/buffer.cc',
191 'public/bindings/lib/buffer.h',
192 'public/bindings/lib/message.cc',
193 'public/bindings/lib/message.h',
194 'public/bindings/lib/message_builder.cc',
195 'public/bindings/lib/message_builder.h',
199 'target_name': 'mojo_bindings_test',
200 'type': 'executable',
208 'public/bindings/sample/generated/sample_service.h',
209 'public/bindings/sample/generated/sample_service_proxy.cc',
210 'public/bindings/sample/generated/sample_service_serialization.h',
211 'public/bindings/sample/generated/sample_service_stub.cc',
212 'public/bindings/sample/sample_test.cc',