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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 }, | 174 }, |
175 { | 175 { |
176 # GN version: //mojo/application | 176 # GN version: //mojo/application |
177 'target_name': 'mojo_application_chromium', | 177 'target_name': 'mojo_application_chromium', |
178 'type': 'static_library', | 178 'type': 'static_library', |
179 'sources': [ | 179 'sources': [ |
180 'application/application_runner_chromium.cc', | 180 'application/application_runner_chromium.cc', |
181 'application/application_runner_chromium.h', | 181 'application/application_runner_chromium.h', |
182 ], | 182 ], |
183 'dependencies': [ | 183 'dependencies': [ |
| 184 'mojo_application_base', |
184 'mojo_common_lib', | 185 'mojo_common_lib', |
185 'mojo_environment_chromium', | 186 'mojo_environment_chromium', |
186 '../third_party/mojo/mojo_public.gyp:mojo_application_base', | |
187 ], | 187 ], |
188 'export_dependent_settings': [ | 188 'export_dependent_settings': [ |
189 '../third_party/mojo/mojo_public.gyp:mojo_application_base', | 189 'mojo_application_base', |
190 ], | 190 ], |
191 }, | 191 }, |
| 192 { |
| 193 'target_name': 'mojo_application_bindings_mojom', |
| 194 'type': 'none', |
| 195 'variables': { |
| 196 'mojom_files': [ |
| 197 'application/public/interfaces/application.mojom', |
| 198 'application/public/interfaces/service_provider.mojom', |
| 199 'application/public/interfaces/shell.mojom', |
| 200 ], |
| 201 }, |
| 202 'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi'
], |
| 203 }, |
| 204 { |
| 205 # GN version: //mojo/application/public/cpp |
| 206 'target_name': 'mojo_application_base', |
| 207 'type': 'static_library', |
| 208 'sources': [ |
| 209 'application/public/cpp/application_connection.h', |
| 210 'application/public/cpp/application_delegate.h', |
| 211 'application/public/cpp/application_impl.h', |
| 212 'application/public/cpp/connect.h', |
| 213 'application/public/cpp/interface_factory.h', |
| 214 'application/public/cpp/interface_factory_impl.h', |
| 215 'application/public/cpp/lib/application_connection.cc', |
| 216 'application/public/cpp/lib/application_delegate.cc', |
| 217 'application/public/cpp/lib/application_impl.cc', |
| 218 'application/public/cpp/lib/interface_factory_connector.h', |
| 219 'application/public/cpp/lib/service_connector_registry.cc', |
| 220 'application/public/cpp/lib/service_connector_registry.h', |
| 221 'application/public/cpp/lib/service_provider_impl.cc', |
| 222 'application/public/cpp/lib/service_registry.cc', |
| 223 'application/public/cpp/lib/service_registry.h', |
| 224 'application/public/cpp/service_connector.h', |
| 225 'application/public/cpp/service_provider_impl.h', |
| 226 ], |
| 227 'dependencies': [ |
| 228 'mojo_application_bindings', |
| 229 ], |
| 230 'export_dependent_settings': [ |
| 231 'mojo_application_bindings', |
| 232 ], |
| 233 }, |
| 234 { |
| 235 # GN version: //mojo/application/public/cpp:standalone |
| 236 'target_name': 'mojo_application_standalone', |
| 237 'type': 'static_library', |
| 238 'sources': [ |
| 239 'application/public/cpp/lib/application_runner.cc', |
| 240 'application/public/cpp/application_runner.h', |
| 241 ], |
| 242 'dependencies': [ |
| 243 'mojo_application_base', |
| 244 '../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', |
| 245 ], |
| 246 'export_dependent_settings': [ |
| 247 'mojo_application_base', |
| 248 ], |
| 249 }, |
| 250 { |
| 251 # GN version: //mojo/public/interfaces/application:application |
| 252 'target_name': 'mojo_application_bindings', |
| 253 'type': 'static_library', |
| 254 'dependencies': [ |
| 255 'mojo_application_bindings_mojom', |
| 256 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 257 ], |
| 258 'export_dependent_settings': [ |
| 259 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 260 ], |
| 261 }, |
| 262 { |
| 263 # GN version: //mojo/application/public/cpp/tests |
| 264 'target_name': 'mojo_public_application_unittests', |
| 265 'type': 'executable', |
| 266 'dependencies': [ |
| 267 'mojo_application_standalone', |
| 268 '../base/base.gyp:base', |
| 269 '../testing/gtest.gyp:gtest', |
| 270 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
| 271 '../third_party/mojo/mojo_public.gyp:mojo_utility', |
| 272 '../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', |
| 273 ], |
| 274 'sources': [ |
| 275 'application/public/cpp/tests/service_registry_unittest.cc', |
| 276 ], |
| 277 }, |
192 ], | 278 ], |
193 'conditions': [ | 279 'conditions': [ |
194 ['OS=="android"', { | 280 ['OS=="android"', { |
195 'targets': [ | 281 'targets': [ |
196 { | 282 { |
197 'target_name': 'mojo_jni_headers', | 283 'target_name': 'mojo_jni_headers', |
198 'type': 'none', | 284 'type': 'none', |
199 'dependencies': [ | 285 'dependencies': [ |
200 'mojo_java_set_jni_headers', | 286 'mojo_java_set_jni_headers', |
201 ], | 287 ], |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 ], | 330 ], |
245 'variables': { | 331 'variables': { |
246 'java_in_dir': '<(DEPTH)/mojo/android/system', | 332 'java_in_dir': '<(DEPTH)/mojo/android/system', |
247 }, | 333 }, |
248 'includes': [ '../build/java.gypi' ], | 334 'includes': [ '../build/java.gypi' ], |
249 }, | 335 }, |
250 ] | 336 ] |
251 }] | 337 }] |
252 ] | 338 ] |
253 } | 339 } |
OLD | NEW |