4 'target_name': 'mojo_system',
5 'type': 'static_library',
7 'MOJO_SYSTEM_IMPLEMENTATION',
12 'direct_dependent_settings': {
17 'all_dependent_settings': {
19 # We need to be able to call the MojoSetSystemThunks() function in
23 '-Wl,--exclude-libs=ALL',
29 'public/c/system/core.h',
30 'public/c/system/macros.h',
31 'public/c/system/system_export.h',
32 'public/platform/native/system_thunks.cc',
33 'public/platform/native/system_thunks.h',
37 'target_name': 'mojo_gles2',
38 'type': 'shared_library',
40 'MOJO_GLES2_IMPLEMENTATION',
47 '../third_party/khronos/khronos.gyp:khronos_headers'
49 'direct_dependent_settings': {
58 'public/c/gles2/gles2.h',
59 'public/c/gles2/gles2_export.h',
60 'public/gles2/gles2_private.cc',
61 'public/gles2/gles2_private.h',
66 # Make it a run-path dependent library.
67 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
73 'target_name': 'mojo_test_support',
74 'type': 'shared_library',
76 'MOJO_TEST_SUPPORT_IMPLEMENTATION',
81 'direct_dependent_settings': {
87 'public/c/test_support/test_support.h',
88 'public/c/test_support/test_support_export.h',
89 'public/tests/test_support_private.cc',
90 'public/tests/test_support_private.h',
95 # Make it a run-path dependent library.
96 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
102 'target_name': 'mojo_public_test_utils',
103 'type': 'static_library',
105 '../base/base.gyp:base',
106 '../testing/gtest.gyp:gtest',
110 'public/cpp/test_support/lib/test_support.cc',
111 'public/cpp/test_support/lib/test_utils.cc',
112 'public/cpp/test_support/test_utils.h',
115 # TODO(vtl): Reorganize the mojo_public_*_unittests.
117 'target_name': 'mojo_public_bindings_unittests',
118 'type': 'executable',
120 '../testing/gtest.gyp:gtest',
122 'mojo_environment_standalone',
123 'mojo_public_test_utils',
124 'mojo_run_all_unittests',
125 'mojo_public_test_interfaces',
129 'public/cpp/bindings/tests/array_unittest.cc',
130 'public/cpp/bindings/tests/buffer_unittest.cc',
131 'public/cpp/bindings/tests/connector_unittest.cc',
132 'public/cpp/bindings/tests/handle_passing_unittest.cc',
133 'public/cpp/bindings/tests/interface_ptr_unittest.cc',
134 'public/cpp/bindings/tests/request_response_unittest.cc',
135 'public/cpp/bindings/tests/router_unittest.cc',
136 'public/cpp/bindings/tests/sample_service_unittest.cc',
137 'public/cpp/bindings/tests/type_conversion_unittest.cc',
138 'public/cpp/bindings/tests/validation_unittest.cc',
142 'target_name': 'mojo_public_environment_unittests',
143 'type': 'executable',
145 '../base/base.gyp:base',
146 '../testing/gtest.gyp:gtest',
147 'mojo_environment_standalone',
148 'mojo_public_test_utils',
149 'mojo_run_all_unittests',
153 'public/cpp/environment/tests/async_waiter_unittest.cc',
157 'target_name': 'mojo_public_system_unittests',
158 'type': 'executable',
160 '../base/base.gyp:base',
161 '../testing/gtest.gyp:gtest',
163 'mojo_public_test_utils',
164 'mojo_run_all_unittests',
167 'public/c/system/tests/core_unittest.cc',
168 'public/c/system/tests/core_unittest_pure_c.c',
169 'public/c/system/tests/macros_unittest.cc',
170 'public/cpp/system/tests/core_unittest.cc',
171 'public/cpp/system/tests/macros_unittest.cc',
175 'target_name': 'mojo_public_utility_unittests',
176 'type': 'executable',
178 '../base/base.gyp:base',
179 '../testing/gtest.gyp:gtest',
181 'mojo_public_test_utils',
182 'mojo_run_all_unittests',
186 'public/cpp/utility/tests/mutex_unittest.cc',
187 'public/cpp/utility/tests/run_loop_unittest.cc',
188 'public/cpp/utility/tests/thread_unittest.cc',
191 # See crbug.com/342893:
194 'public/cpp/utility/tests/mutex_unittest.cc',
195 'public/cpp/utility/tests/thread_unittest.cc',
201 'target_name': 'mojo_public_system_perftests',
202 'type': 'executable',
204 '../base/base.gyp:base',
205 '../testing/gtest.gyp:gtest',
206 'mojo_public_test_utils',
207 'mojo_run_all_perftests',
211 'public/c/system/tests/core_perftest.cc',
215 'target_name': 'mojo_cpp_bindings',
216 'type': 'static_library',
221 'public/cpp/bindings/allocation_scope.h',
222 'public/cpp/bindings/array.h',
223 'public/cpp/bindings/buffer.h',
224 'public/cpp/bindings/callback.h',
225 'public/cpp/bindings/error_handler.h',
226 'public/cpp/bindings/interface_impl.h',
227 'public/cpp/bindings/interface_ptr.h',
228 'public/cpp/bindings/message.h',
229 'public/cpp/bindings/no_interface.h',
230 'public/cpp/bindings/passable.h',
231 'public/cpp/bindings/sync_dispatcher.h',
232 'public/cpp/bindings/type_converter.h',
233 'public/cpp/bindings/lib/array.cc',
234 'public/cpp/bindings/lib/array_internal.h',
235 'public/cpp/bindings/lib/array_internal.cc',
236 'public/cpp/bindings/lib/bindings_internal.h',
237 'public/cpp/bindings/lib/bindings_serialization.cc',
238 'public/cpp/bindings/lib/bindings_serialization.h',
239 'public/cpp/bindings/lib/buffer.cc',
240 'public/cpp/bindings/lib/callback_internal.h',
241 'public/cpp/bindings/lib/connector.cc',
242 'public/cpp/bindings/lib/connector.h',
243 'public/cpp/bindings/lib/fixed_buffer.cc',
244 'public/cpp/bindings/lib/fixed_buffer.h',
245 'public/cpp/bindings/lib/interface_impl_internal.h',
246 'public/cpp/bindings/lib/interface_ptr_internal.h',
247 'public/cpp/bindings/lib/message.cc',
248 'public/cpp/bindings/lib/message_builder.cc',
249 'public/cpp/bindings/lib/message_builder.h',
250 'public/cpp/bindings/lib/message_header_validator.cc',
251 'public/cpp/bindings/lib/message_header_validator.h',
252 'public/cpp/bindings/lib/message_internal.h',
253 'public/cpp/bindings/lib/message_queue.cc',
254 'public/cpp/bindings/lib/message_queue.h',
255 'public/cpp/bindings/lib/no_interface.cc',
256 'public/cpp/bindings/lib/router.cc',
257 'public/cpp/bindings/lib/router.h',
258 'public/cpp/bindings/lib/scratch_buffer.cc',
259 'public/cpp/bindings/lib/scratch_buffer.h',
260 'public/cpp/bindings/lib/shared_data.h',
261 'public/cpp/bindings/lib/shared_ptr.h',
262 'public/cpp/bindings/lib/sync_dispatcher.cc',
266 'target_name': 'mojo_js_bindings',
267 'type': 'static_library',
272 'public/js/bindings/constants.cc',
273 'public/js/bindings/constants.h',
277 'target_name': 'mojo_public_test_interfaces',
278 'type': 'static_library',
280 'public/interfaces/bindings/tests/math_calculator.mojom',
281 'public/interfaces/bindings/tests/sample_factory.mojom',
282 'public/interfaces/bindings/tests/sample_import.mojom',
283 'public/interfaces/bindings/tests/sample_import2.mojom',
284 'public/interfaces/bindings/tests/sample_interfaces.mojom',
285 'public/interfaces/bindings/tests/sample_service.mojom',
286 'public/interfaces/bindings/tests/test_structs.mojom',
289 'mojom_base_output_dir': 'mojo',
291 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
292 'export_dependent_settings': [
300 'target_name': 'mojo_environment_standalone',
301 'type': 'static_library',
303 'public/cpp/environment/buffer_tls.h',
304 'public/cpp/environment/default_async_waiter.h',
305 'public/cpp/environment/environment.h',
306 'public/cpp/environment/lib/default_async_waiter.cc',
307 'public/cpp/environment/lib/buffer_tls.cc',
308 'public/cpp/environment/lib/buffer_tls_setup.h',
309 'public/cpp/environment/lib/environment.cc',
316 'target_name': 'mojo_utility',
317 'type': 'static_library',
319 'public/cpp/utility/mutex.h',
320 'public/cpp/utility/run_loop.h',
321 'public/cpp/utility/run_loop_handler.h',
322 'public/cpp/utility/thread.h',
323 'public/cpp/utility/lib/mutex.cc',
324 'public/cpp/utility/lib/run_loop.cc',
325 'public/cpp/utility/lib/thread.cc',
326 'public/cpp/utility/lib/thread_local.h',
327 'public/cpp/utility/lib/thread_local_posix.cc',
328 'public/cpp/utility/lib/thread_local_win.cc',
331 # See crbug.com/342893:
334 'public/cpp/utility/mutex.h',
335 'public/cpp/utility/thread.h',
336 'public/cpp/utility/lib/mutex.cc',
337 'public/cpp/utility/lib/thread.cc',
346 'target_name': 'mojo_shell_bindings',
347 'type': 'static_library',
349 'public/interfaces/shell/shell.mojom',
352 'mojom_base_output_dir': 'mojo',
354 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
358 'export_dependent_settings': [
363 'target_name': 'mojo_shell_client',
364 'type': 'static_library',
366 'public/cpp/shell/application.h',
367 'public/cpp/shell/service.h',
368 'public/cpp/shell/lib/application.cc',
369 'public/cpp/shell/lib/service.cc',
372 'mojo_shell_bindings',
374 'export_dependent_settings': [
375 'mojo_shell_bindings',
380 ['OS == "android"', {
383 'target_name': 'mojo_public_java',
386 'java_in_dir': 'public/java',
388 'includes': [ '../build/java.gypi' ],