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 source_set("base") { | 5 # GYP version: mojo/mojo_public.gypi:mojo_application_base |
| 6 source_set("application") { |
6 sources = [ | 7 sources = [ |
| 8 "application_connection.h", |
| 9 "application_delegate.h", |
7 "application_impl.h", | 10 "application_impl.h", |
8 "connect.h", | 11 "connect.h", |
| 12 "service_provider_impl.h", |
| 13 "interface_factory.h", |
| 14 "interface_factory_impl.h", |
| 15 "lib/application_connection.cc", |
| 16 "lib/application_delegate.cc", |
9 "lib/application_impl.cc", | 17 "lib/application_impl.cc", |
| 18 "lib/service_provider_impl.cc", |
10 "lib/service_connector.cc", | 19 "lib/service_connector.cc", |
11 "lib/service_connector.h", | 20 "lib/service_connector.h", |
12 "lib/application_connection.cc", | |
13 "lib/application_delegate.cc", | |
14 "lib/service_registry.cc", | 21 "lib/service_registry.cc", |
15 "lib/service_registry.h", | 22 "lib/service_registry.h", |
| 23 "lib/weak_service_provider.cc", |
| 24 "lib/weak_service_provider.h", |
16 ] | 25 ] |
17 | 26 |
18 deps = [ | 27 deps = [ |
19 "//mojo/public/cpp/bindings", | 28 "//mojo/public/cpp/bindings", |
20 "//mojo/public/interfaces/application", | 29 "//mojo/public/interfaces/application", |
21 ] | 30 ] |
22 } | 31 } |
23 | 32 |
| 33 # GYP version: mojo/mojo_base.gyp:mojo_application_chromium |
24 source_set("chromium") { | 34 source_set("chromium") { |
25 sources = [ | 35 sources = [ |
26 "lib/application_runner_chromium.cc" | 36 "lib/application_runner_chromium.cc" |
27 ] | 37 ] |
28 | 38 |
29 deps = [ ":base" ] | 39 deps = [ |
| 40 ":application", |
| 41 "//mojo/environment:chromium", |
| 42 ] |
30 } | 43 } |
31 | 44 |
| 45 # GYP version: mojo/mojo_public.gypi:mojo_application_standalone |
32 source_set("standalone") { | 46 source_set("standalone") { |
33 sources = [ | 47 sources = [ |
34 "lib/application_runner.cc" | 48 "lib/application_runner.cc" |
35 ] | 49 ] |
36 | 50 |
37 deps = [ | 51 deps = [ |
38 ":base", | 52 ":application", |
39 "//mojo/public/cpp/environment:standalone", | 53 "//mojo/public/cpp/environment:standalone", |
40 ] | 54 ] |
41 } | 55 } |
OLD | NEW |