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 '../third_party/mojo/mojo_variables.gypi', | 10 '../third_party/mojo/mojo_variables.gypi', |
(...skipping 18 matching lines...) Expand all Loading... |
29 '../third_party/mojo/mojo_public.gyp:mojo_public_java', | 29 '../third_party/mojo/mojo_public.gyp:mojo_public_java', |
30 ], | 30 ], |
31 }], | 31 }], |
32 ] | 32 ] |
33 }, | 33 }, |
34 { | 34 { |
35 'target_name': 'mojo_none', | 35 'target_name': 'mojo_none', |
36 'type': 'none', | 36 'type': 'none', |
37 }, | 37 }, |
38 { | 38 { |
39 # GN version: //mojo/message_pump | |
40 'target_name': 'mojo_message_pump_lib', | |
41 'type': 'static_library', | |
42 'dependencies': [ | |
43 '../base/base.gyp:base', | |
44 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
45 '<(mojo_system_for_component)', | |
46 ], | |
47 'export_dependent_settings': [ | |
48 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
49 ], | |
50 'sources': [ | |
51 'message_pump/handle_watcher.cc', | |
52 'message_pump/handle_watcher.h', | |
53 'message_pump/message_pump_mojo.cc', | |
54 'message_pump/message_pump_mojo.h', | |
55 'message_pump/message_pump_mojo_handler.h', | |
56 'message_pump/time_helper.cc', | |
57 'message_pump/time_helper.h', | |
58 ], | |
59 }, | |
60 { | |
61 # GN version: //mojo/common | 39 # GN version: //mojo/common |
62 'target_name': 'mojo_common_lib', | 40 'target_name': 'mojo_common_lib', |
63 'type': '<(component)', | 41 'type': '<(component)', |
64 'defines': [ | 42 'defines': [ |
65 'MOJO_COMMON_IMPLEMENTATION', | 43 'MOJO_COMMON_IMPLEMENTATION', |
66 ], | 44 ], |
67 'dependencies': [ | 45 'dependencies': [ |
68 '../base/base.gyp:base', | 46 '../base/base.gyp:base', |
69 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 47 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
70 '<(mojo_system_for_component)', | 48 '<(mojo_system_for_component)', |
71 ], | 49 ], |
72 'export_dependent_settings': [ | 50 'export_dependent_settings': [ |
73 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 51 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
74 ], | 52 ], |
75 'sources': [ | 53 'sources': [ |
76 'common/common_type_converters.cc', | 54 'common/common_type_converters.cc', |
77 'common/common_type_converters.h', | 55 'common/common_type_converters.h', |
78 'common/data_pipe_file_utils.cc', | 56 'common/data_pipe_file_utils.cc', |
79 'common/data_pipe_utils.cc', | 57 'common/data_pipe_utils.cc', |
80 'common/data_pipe_utils.h', | 58 'common/data_pipe_utils.h', |
| 59 'common/handle_watcher.cc', |
| 60 'common/handle_watcher.h', |
| 61 'common/message_pump_mojo.cc', |
| 62 'common/message_pump_mojo.h', |
| 63 'common/message_pump_mojo_handler.h', |
| 64 'common/time_helper.cc', |
| 65 'common/time_helper.h', |
81 ], | 66 ], |
82 }, | 67 }, |
83 { | 68 { |
84 # GN version: //mojo/common:url_type_converters | 69 # GN version: //mojo/common:url_type_converters |
85 'target_name': 'mojo_url_type_converters', | 70 'target_name': 'mojo_url_type_converters', |
86 'type': 'static_library', | 71 'type': 'static_library', |
87 'dependencies': [ | 72 'dependencies': [ |
88 '../base/base.gyp:base', | 73 '../base/base.gyp:base', |
89 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 74 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
90 '../url/url.gyp:url_lib', | 75 '../url/url.gyp:url_lib', |
(...skipping 29 matching lines...) Expand all Loading... |
120 { | 105 { |
121 # GN version: //mojo/common:mojo_common_unittests | 106 # GN version: //mojo/common:mojo_common_unittests |
122 'target_name': 'mojo_common_unittests', | 107 'target_name': 'mojo_common_unittests', |
123 'type': 'executable', | 108 'type': 'executable', |
124 'dependencies': [ | 109 'dependencies': [ |
125 '../base/base.gyp:base', | 110 '../base/base.gyp:base', |
126 '../base/base.gyp:test_support_base', | 111 '../base/base.gyp:test_support_base', |
127 '../base/base.gyp:base_message_loop_tests', | 112 '../base/base.gyp:base_message_loop_tests', |
128 '../testing/gtest.gyp:gtest', | 113 '../testing/gtest.gyp:gtest', |
129 '../url/url.gyp:url_lib', | 114 '../url/url.gyp:url_lib', |
| 115 'mojo_common_lib', |
| 116 'mojo_url_type_converters', |
130 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl', | 117 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl', |
131 '../third_party/mojo/mojo_edk.gyp:mojo_common_test_support', | 118 '../third_party/mojo/mojo_edk.gyp:mojo_common_test_support', |
132 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', | 119 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
| 120 'mojo_environment_chromium', |
133 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 121 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
134 '../third_party/mojo/mojo_public.gyp:mojo_public_test_utils', | 122 '../third_party/mojo/mojo_public.gyp:mojo_public_test_utils', |
135 'mojo_common_lib', | |
136 'mojo_environment_chromium', | |
137 'mojo_message_pump_lib', | |
138 'mojo_url_type_converters', | |
139 ], | 123 ], |
140 'sources': [ | 124 'sources': [ |
141 'common/common_type_converters_unittest.cc', | 125 'common/common_type_converters_unittest.cc', |
142 'message_pump/handle_watcher_unittest.cc', | 126 'common/handle_watcher_unittest.cc', |
143 'message_pump/message_pump_mojo_unittest.cc', | 127 'common/message_pump_mojo_unittest.cc', |
144 ], | 128 ], |
145 }, | 129 }, |
146 { | 130 { |
147 # GN version: //mojo/environment:chromium | 131 # GN version: //mojo/environment:chromium |
148 'target_name': 'mojo_environment_chromium', | 132 'target_name': 'mojo_environment_chromium', |
149 'type': 'static_library', | 133 'type': 'static_library', |
150 'dependencies': [ | 134 'dependencies': [ |
151 'mojo_environment_chromium_impl', | 135 'mojo_environment_chromium_impl', |
152 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 136 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
153 ], | 137 ], |
154 'sources': [ | 138 'sources': [ |
| 139 'environment/environment.cc', |
155 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) | 140 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) |
156 "../third_party/mojo/src/mojo/public/cpp/environment/async_waiter.h", | 141 "../third_party/mojo/src/mojo/public/cpp/environment/async_waiter.h", |
157 "../third_party/mojo/src/mojo/public/cpp/environment/lib/async_waiter.cc
", | 142 "../third_party/mojo/src/mojo/public/cpp/environment/lib/async_waiter.cc
", |
158 "../third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc", | 143 "../third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc", |
159 "../third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tra
cking.cc", | 144 "../third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tra
cking.cc", |
160 "../third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tra
cking.cc", | 145 "../third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tra
cking.cc", |
161 "../third_party/mojo/src/mojo/public/cpp/environment/logging.h", | 146 "../third_party/mojo/src/mojo/public/cpp/environment/logging.h", |
162 "../third_party/mojo/src/mojo/public/cpp/environment/task_tracker.h", | 147 "../third_party/mojo/src/mojo/public/cpp/environment/task_tracker.h", |
163 'environment/environment.cc', | |
164 ], | 148 ], |
165 'include_dirs': [ | 149 'include_dirs': [ |
166 '..', | 150 '..', |
167 '../third_party/mojo/src', | 151 '../third_party/mojo/src', |
168 ], | 152 ], |
169 'direct_dependent_settings': { | 153 'direct_dependent_settings': { |
170 'include_dirs': [ | 154 'include_dirs': [ |
171 '../third_party/mojo/src', | 155 '../third_party/mojo/src', |
172 ], | 156 ], |
173 }, | 157 }, |
174 'export_dependent_settings': [ | 158 'export_dependent_settings': [ |
175 'mojo_environment_chromium_impl', | 159 'mojo_environment_chromium_impl', |
176 ], | 160 ], |
177 }, | 161 }, |
178 { | 162 { |
179 # GN version: //mojo/environment:chromium_impl | 163 # GN version: //mojo/environment:chromium_impl |
180 'target_name': 'mojo_environment_chromium_impl', | 164 'target_name': 'mojo_environment_chromium_impl', |
181 'type': '<(component)', | 165 'type': '<(component)', |
182 'defines': [ | 166 'defines': [ |
183 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION', | 167 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION', |
184 ], | 168 ], |
185 'dependencies': [ | 169 'dependencies': [ |
186 '../base/base.gyp:base', | 170 '../base/base.gyp:base', |
187 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 171 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
188 'mojo_message_pump_lib', | 172 'mojo_common_lib', |
189 '<(mojo_system_for_component)', | 173 '<(mojo_system_for_component)', |
190 ], | 174 ], |
191 'sources': [ | 175 'sources': [ |
192 'environment/default_async_waiter_impl.cc', | 176 'environment/default_async_waiter_impl.cc', |
193 'environment/default_async_waiter_impl.h', | 177 'environment/default_async_waiter_impl.h', |
194 'environment/default_logger_impl.cc', | 178 'environment/default_logger_impl.cc', |
195 'environment/default_logger_impl.h', | 179 'environment/default_logger_impl.h', |
196 'environment/default_run_loop_impl.cc', | 180 'environment/default_run_loop_impl.cc', |
197 'environment/default_run_loop_impl.h', | 181 'environment/default_run_loop_impl.h', |
198 'environment/default_task_tracker_impl.cc', | 182 'environment/default_task_tracker_impl.cc', |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 'application/public/cpp/lib/service_connector_registry.cc', | 233 'application/public/cpp/lib/service_connector_registry.cc', |
250 'application/public/cpp/lib/service_connector_registry.h', | 234 'application/public/cpp/lib/service_connector_registry.h', |
251 'application/public/cpp/lib/service_provider_impl.cc', | 235 'application/public/cpp/lib/service_provider_impl.cc', |
252 'application/public/cpp/lib/service_registry.cc', | 236 'application/public/cpp/lib/service_registry.cc', |
253 'application/public/cpp/lib/service_registry.h', | 237 'application/public/cpp/lib/service_registry.h', |
254 'application/public/cpp/service_connector.h', | 238 'application/public/cpp/service_connector.h', |
255 'application/public/cpp/service_provider_impl.h', | 239 'application/public/cpp/service_provider_impl.h', |
256 ], | 240 ], |
257 'dependencies': [ | 241 'dependencies': [ |
258 'mojo_application_bindings', | 242 'mojo_application_bindings', |
259 'mojo_message_pump_lib', | 243 'mojo_common_lib', |
260 ], | 244 ], |
261 }, | 245 }, |
262 { | 246 { |
263 # GN version: //mojo/public/interfaces/application:application | 247 # GN version: //mojo/public/interfaces/application:application |
264 'target_name': 'mojo_application_bindings', | 248 'target_name': 'mojo_application_bindings', |
265 'type': 'static_library', | 249 'type': 'static_library', |
266 'dependencies': [ | 250 'dependencies': [ |
267 'mojo_application_bindings_mojom', | 251 'mojo_application_bindings_mojom', |
268 'mojo_services.gyp:network_service_bindings_lib', | 252 'mojo_services.gyp:network_service_bindings_lib', |
269 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 253 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 '../build/isolate.gypi', | 357 '../build/isolate.gypi', |
374 ], | 358 ], |
375 'sources': [ | 359 'sources': [ |
376 'mojo_common_unittests.isolate', | 360 'mojo_common_unittests.isolate', |
377 ], | 361 ], |
378 }, | 362 }, |
379 ], | 363 ], |
380 }], | 364 }], |
381 ] | 365 ] |
382 } | 366 } |
OLD | NEW |