| 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("//third_party/mojo/src/mojo/public/mojo_application.gni") | 9 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 shared_library("native_library") { | 22 shared_library("native_library") { |
| 23 output_name = "core_services" | 23 output_name = "core_services" |
| 24 | 24 |
| 25 sources = [ | 25 sources = [ |
| 26 "android_hooks.cc", | 26 "android_hooks.cc", |
| 27 ] | 27 ] |
| 28 | 28 |
| 29 deps = [ | 29 deps = [ |
| 30 ":sources", | 30 ":sources", |
| 31 "//base", | 31 "//base", |
| 32 "//components/resource_provider:jni_headers", |
| 32 "//net", | 33 "//net", |
| 33 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", | 34 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", |
| 34 ] | 35 ] |
| 35 } | 36 } |
| 36 | 37 |
| 37 android_standalone_library("java_library") { | 38 android_standalone_library("java_library") { |
| 38 dex_path = java_library_path | 39 dex_path = java_library_path |
| 39 | 40 |
| 40 deps = [ | 41 deps = [ |
| 42 "//components/resource_provider:java_library", |
| 41 "//net/android:net_java", | 43 "//net/android:net_java", |
| 42 ] | 44 ] |
| 43 } | 45 } |
| 44 } else { | 46 } else { |
| 45 mojo_native_application("core_services") { | 47 mojo_native_application("core_services") { |
| 46 deps = [ | 48 deps = [ |
| 47 ":sources", | 49 ":sources", |
| 48 ] | 50 ] |
| 49 } | 51 } |
| 50 } | 52 } |
| 51 | 53 |
| 52 source_set("sources") { | 54 source_set("sources") { |
| 53 sources = [ | 55 sources = [ |
| 54 "core_services_application_delegate.cc", | 56 "core_services_application_delegate.cc", |
| 55 "main.cc", | 57 "main.cc", |
| 56 ] | 58 ] |
| 57 | 59 |
| 58 deps = [ | 60 deps = [ |
| 59 "//base", | 61 "//base", |
| 60 "//components/clipboard:lib", | 62 "//components/clipboard:lib", |
| 61 "//components/surfaces:lib", | 63 "//components/surfaces:lib", |
| 64 "//components/resource_provider:lib", |
| 62 "//components/view_manager:view_manager_lib", | 65 "//components/view_manager:view_manager_lib", |
| 63 "//mandoline/ui/browser:kiosk_wm_lib", | 66 "//mandoline/ui/browser:kiosk_wm_lib", |
| 64 "//mojo/application", | 67 "//mojo/application", |
| 65 "//mojo/common", | 68 "//mojo/common", |
| 66 "//mojo/common:tracing_impl", | 69 "//mojo/common:tracing_impl", |
| 67 "//mojo/environment:chromium", | 70 "//mojo/environment:chromium", |
| 68 "//mojo/services/network:lib", | 71 "//mojo/services/network:lib", |
| 69 "//mojo/services/tracing:lib", | 72 "//mojo/services/tracing:lib", |
| 70 "//third_party/mojo/src/mojo/public/interfaces/application", | 73 "//third_party/mojo/src/mojo/public/interfaces/application", |
| 71 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", | 74 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", |
| 72 "//third_party/mojo_services/src/content_handler/public/interfaces", | 75 "//third_party/mojo_services/src/content_handler/public/interfaces", |
| 73 ] | 76 ] |
| 74 } | 77 } |
| OLD | NEW |