OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # core_services should be thought of as a bundle of many of the services which | 5 # core_services should be thought of as a bundle of many of the services which |
6 # we ship with. | 6 # we ship with. |
7 | 7 |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build/toolchain/toolchain.gni") | 9 import("//build/toolchain/toolchain.gni") |
10 import("//mojo/public/mojo_application.gni") | 10 import("//mojo/public/mojo_application.gni") |
(...skipping 18 matching lines...) Expand all Loading... |
29 } | 29 } |
30 | 30 |
31 if (!is_android) { | 31 if (!is_android) { |
32 deps += [ "//third_party/icu:icudata" ] | 32 deps += [ "//third_party/icu:icudata" ] |
33 resources = [ "$root_out_dir/icudtl.dat" ] | 33 resources = [ "$root_out_dir/icudtl.dat" ] |
34 } | 34 } |
35 } | 35 } |
36 | 36 |
37 source_set("sources") { | 37 source_set("sources") { |
38 sources = [ | 38 sources = [ |
| 39 "application_delegate_factory.h", |
| 40 "application_delegate_factory_linux.cc", |
39 "core_services_application_delegate.cc", | 41 "core_services_application_delegate.cc", |
40 "main.cc", | 42 "main.cc", |
41 ] | 43 ] |
42 | 44 |
43 deps = [ | 45 deps = [ |
44 "//base", | 46 "//base", |
45 "//components/clipboard:lib", | 47 "//components/clipboard:lib", |
46 "//components/filesystem:lib", | 48 "//components/filesystem:lib", |
47 "//components/view_manager/surfaces:lib", | 49 "//components/view_manager/surfaces:lib", |
48 "//mandoline/ui/browser:lib", | 50 "//mandoline/ui/browser:lib", |
49 "//mojo/application/public/cpp", | 51 "//mojo/application/public/cpp", |
50 "//mojo/common:tracing_impl", | 52 "//mojo/common:tracing_impl", |
51 "//mojo/message_pump", | 53 "//mojo/message_pump", |
52 "//mojo/services/tracing:lib", | 54 "//mojo/services/tracing:lib", |
53 "//third_party/mojo/src/mojo/public/cpp/bindings", | 55 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 56 "//url", |
54 ] | 57 ] |
55 | 58 |
56 if (!is_android) { | 59 if (!is_android) { |
| 60 sources += [ "application_delegate_factory_notandroid.cc" ] |
57 deps += [ | 61 deps += [ |
58 "//components/resource_provider:lib", | 62 "//components/resource_provider:lib", |
59 "//components/view_manager:lib", | 63 "//components/view_manager:lib", |
60 "//mojo/services/network:lib", | 64 "//mojo/services/network:lib", |
61 ] | 65 ] |
62 } | 66 } |
63 | 67 |
64 if (is_linux && !is_android) { | 68 if (is_linux) { |
65 deps += [ "//components/font_service:lib" ] | 69 deps += [ "//components/font_service:lib" ] |
| 70 } else { |
| 71 sources += [ "application_delegate_factory_default.cc" ] |
66 } | 72 } |
67 | 73 |
68 if (use_aura) { | 74 if (use_aura) { |
69 deps += [ | 75 deps += [ |
70 "//components/view_manager/public/cpp", | 76 "//components/view_manager/public/cpp", |
71 "//mandoline/ui/omnibox:lib", | 77 "//mandoline/ui/omnibox:lib", |
72 ] | 78 ] |
| 79 sources += [ "application_delegate_factory_aura.cc" ] |
73 } | 80 } |
74 } | 81 } |
OLD | NEW |