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 # Essential components (and their tests) that are needed to build | 5 # Essential components (and their tests) that are needed to build |
6 # Chrome should be here. Other components that are useful only in | 6 # Chrome should be here. Other components that are useful only in |
7 # Mojo land like mojo_shell should be in mojo.gyp. | 7 # Mojo land like mojo_shell should be in mojo.gyp. |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 'mojo_variables.gypi', | 10 'mojo_variables.gypi', |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 { | 79 { |
80 # GN version: //mojo/converters/geometry | 80 # GN version: //mojo/converters/geometry |
81 'target_name': 'mojo_geometry_lib', | 81 'target_name': 'mojo_geometry_lib', |
82 'type': '<(component)', | 82 'type': '<(component)', |
83 'defines': [ | 83 'defines': [ |
84 'MOJO_GEOMETRY_IMPLEMENTATION', | 84 'MOJO_GEOMETRY_IMPLEMENTATION', |
85 ], | 85 ], |
86 'dependencies': [ | 86 'dependencies': [ |
87 '../ui/mojo/geometry/mojo_bindings.gyp:mojo_geometry_bindings', | 87 '../ui/mojo/geometry/mojo_bindings.gyp:mojo_geometry_bindings', |
88 '../ui/gfx/gfx.gyp:gfx_geometry', | 88 '../ui/gfx/gfx.gyp:gfx_geometry', |
89 'mojo_environment_chromium', | |
90 '<(mojo_system_for_component)', | 89 '<(mojo_system_for_component)', |
91 ], | 90 ], |
92 'sources': [ | 91 'sources': [ |
93 'converters/geometry/geometry_type_converters.cc', | 92 'converters/geometry/geometry_type_converters.cc', |
94 'converters/geometry/geometry_type_converters.h', | 93 'converters/geometry/geometry_type_converters.h', |
95 'converters/geometry/mojo_geometry_export.h', | 94 'converters/geometry/mojo_geometry_export.h', |
96 ], | 95 ], |
97 }, | 96 }, |
98 { | 97 { |
99 # GN version: //mojo/common:mojo_common_unittests | 98 # GN version: //mojo/common:mojo_common_unittests |
100 'target_name': 'mojo_common_unittests', | 99 'target_name': 'mojo_common_unittests', |
101 'type': 'executable', | 100 'type': 'executable', |
102 'dependencies': [ | 101 'dependencies': [ |
103 '../base/base.gyp:base', | 102 '../base/base.gyp:base', |
104 '../base/base.gyp:test_support_base', | 103 '../base/base.gyp:test_support_base', |
105 '../base/base.gyp:base_message_loop_tests', | 104 '../base/base.gyp:base_message_loop_tests', |
106 '../testing/gtest.gyp:gtest', | 105 '../testing/gtest.gyp:gtest', |
107 '../url/url.gyp:url_lib', | 106 '../url/url.gyp:url_lib', |
108 'mojo_common_lib', | 107 'mojo_common_lib', |
109 'mojo_edk.gyp:mojo_system_impl', | 108 'mojo_edk.gyp:mojo_system_impl', |
110 'mojo_edk.gyp:mojo_common_test_support', | 109 'mojo_edk.gyp:mojo_common_test_support', |
111 'mojo_edk.gyp:mojo_run_all_unittests', | 110 'mojo_edk.gyp:mojo_run_all_unittests', |
112 'mojo_environment_chromium', | |
113 'mojo_public.gyp:mojo_cpp_bindings', | 111 'mojo_public.gyp:mojo_cpp_bindings', |
114 'mojo_public.gyp:mojo_message_pump_lib', | 112 'mojo_public.gyp:mojo_message_pump_lib', |
115 'mojo_public.gyp:mojo_public_test_utils', | 113 'mojo_public.gyp:mojo_public_test_utils', |
116 'mojo_url_type_converters', | 114 'mojo_url_type_converters', |
117 ], | 115 ], |
118 'sources': [ | 116 'sources': [ |
119 'common/common_type_converters_unittest.cc', | 117 'common/common_type_converters_unittest.cc', |
120 'message_pump/handle_watcher_unittest.cc', | 118 'message_pump/handle_watcher_unittest.cc', |
121 'message_pump/message_pump_mojo_unittest.cc', | 119 'message_pump/message_pump_mojo_unittest.cc', |
122 ], | 120 ], |
123 }, | 121 }, |
124 { | 122 { |
125 # GN version: //mojo/environment:chromium | |
126 'target_name': 'mojo_environment_chromium', | |
127 'type': 'static_library', | |
128 'dependencies': [ | |
129 'mojo_environment_chromium_impl', | |
130 'mojo_public.gyp:mojo_cpp_bindings', | |
131 ], | |
132 'sources': [ | |
133 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) | |
134 "../mojo/public/cpp/environment/async_waiter.h", | |
135 "../mojo/public/cpp/environment/lib/async_waiter.cc", | |
136 "../mojo/public/cpp/environment/lib/logging.cc", | |
137 "../mojo/public/cpp/environment/lib/scoped_task_tracking.cc", | |
138 "../mojo/public/cpp/environment/lib/scoped_task_tracking.cc", | |
139 "../mojo/public/cpp/environment/logging.h", | |
140 "../mojo/public/cpp/environment/task_tracker.h", | |
141 'environment/environment.cc', | |
142 ], | |
143 'include_dirs': [ | |
144 '..', | |
145 ], | |
146 'export_dependent_settings': [ | |
147 'mojo_environment_chromium_impl', | |
148 ], | |
149 }, | |
150 { | |
151 # GN version: //mojo/environment:chromium_impl | |
152 'target_name': 'mojo_environment_chromium_impl', | |
153 'type': '<(component)', | |
154 'defines': [ | |
155 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION', | |
156 ], | |
157 'dependencies': [ | |
158 '../base/base.gyp:base', | |
159 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
160 'mojo_public.gyp:mojo_message_pump_lib', | |
161 '<(mojo_system_for_component)', | |
162 ], | |
163 'sources': [ | |
164 'environment/default_async_waiter_impl.cc', | |
165 'environment/default_async_waiter_impl.h', | |
166 'environment/default_logger_impl.cc', | |
167 'environment/default_logger_impl.h', | |
168 'environment/default_run_loop_impl.cc', | |
169 'environment/default_run_loop_impl.h', | |
170 'environment/default_task_tracker_impl.cc', | |
171 'environment/default_task_tracker_impl.h', | |
172 ], | |
173 'include_dirs': [ | |
174 '..', | |
175 ], | |
176 }, | |
177 { | |
178 'target_name': 'mojo_application_bindings_mojom', | 123 'target_name': 'mojo_application_bindings_mojom', |
179 'type': 'none', | 124 'type': 'none', |
180 'variables': { | 125 'variables': { |
181 'mojom_files': [ | 126 'mojom_files': [ |
182 'services/package_manager/public/interfaces/catalog.mojom', | 127 'services/package_manager/public/interfaces/catalog.mojom', |
183 'services/package_manager/public/interfaces/resolver.mojom', | 128 'services/package_manager/public/interfaces/resolver.mojom', |
184 'services/package_manager/public/interfaces/shell_resolver.mojom', | 129 'services/package_manager/public/interfaces/shell_resolver.mojom', |
185 'shell/public/interfaces/connector.mojom', | 130 'shell/public/interfaces/connector.mojom', |
186 'shell/public/interfaces/interface_provider.mojom', | 131 'shell/public/interfaces/interface_provider.mojom', |
187 'shell/public/interfaces/shell.mojom', | 132 'shell/public/interfaces/shell.mojom', |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 { | 206 { |
262 # GN version: //mojo/shell/public/cpp/tests | 207 # GN version: //mojo/shell/public/cpp/tests |
263 'target_name': 'mojo_public_application_unittests', | 208 'target_name': 'mojo_public_application_unittests', |
264 'type': 'executable', | 209 'type': 'executable', |
265 'dependencies': [ | 210 'dependencies': [ |
266 '../base/base.gyp:base', | 211 '../base/base.gyp:base', |
267 '../testing/gtest.gyp:gtest', | 212 '../testing/gtest.gyp:gtest', |
268 'mojo_application_base', | 213 'mojo_application_base', |
269 'mojo_edk.gyp:mojo_run_all_unittests', | 214 'mojo_edk.gyp:mojo_run_all_unittests', |
270 'mojo_public.gyp:mojo_utility', | 215 'mojo_public.gyp:mojo_utility', |
271 'mojo_public.gyp:mojo_environment_standalone', | |
272 ], | 216 ], |
273 'sources': [ | 217 'sources': [ |
274 'shell/public/cpp/tests/interface_registry_unittest.cc', | 218 'shell/public/cpp/tests/interface_registry_unittest.cc', |
275 ], | 219 ], |
276 }, | 220 }, |
277 { | 221 { |
278 # Technically, these should be in the mojo_services.gyp, but this causes | 222 # Technically, these should be in the mojo_services.gyp, but this causes |
279 # a cycle since the ios generator can't have gyp files refer to each | 223 # a cycle since the ios generator can't have gyp files refer to each |
280 # other, even if the targets don't form a cycle. | 224 # other, even if the targets don't form a cycle. |
281 # | 225 # |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 'includes': [ '../build/jni_generator.gypi' ], | 279 'includes': [ '../build/jni_generator.gypi' ], |
336 }, | 280 }, |
337 { | 281 { |
338 'target_name': 'libmojo_system_java', | 282 'target_name': 'libmojo_system_java', |
339 'type': 'static_library', | 283 'type': 'static_library', |
340 'dependencies': [ | 284 'dependencies': [ |
341 '../base/base.gyp:base', | 285 '../base/base.gyp:base', |
342 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 286 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
343 'mojo_common_lib', | 287 'mojo_common_lib', |
344 'mojo_edk.gyp:mojo_system_impl', | 288 'mojo_edk.gyp:mojo_system_impl', |
345 'mojo_environment_chromium', | |
346 'mojo_jni_headers', | 289 'mojo_jni_headers', |
347 'mojo_public.gyp:mojo_message_pump_lib', | 290 'mojo_public.gyp:mojo_message_pump_lib', |
348 ], | 291 ], |
349 'sources': [ | 292 'sources': [ |
350 'android/system/core_impl.cc', | 293 'android/system/core_impl.cc', |
351 'android/system/core_impl.h', | 294 'android/system/core_impl.h', |
352 ], | 295 ], |
353 }, | 296 }, |
354 { | 297 { |
355 'target_name': 'mojo_java_set_jni_headers', | 298 'target_name': 'mojo_java_set_jni_headers', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 '../build/isolate.gypi', | 330 '../build/isolate.gypi', |
388 ], | 331 ], |
389 'sources': [ | 332 'sources': [ |
390 'mojo_common_unittests.isolate', | 333 'mojo_common_unittests.isolate', |
391 ], | 334 ], |
392 }, | 335 }, |
393 ], | 336 ], |
394 }], | 337 }], |
395 ] | 338 ] |
396 } | 339 } |
OLD | NEW |