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
3 # found in the LICENSE file.
5 # core_services should be thought of as a bundle of many of the services which
8 import("//build/config/ui.gni")
9 import("//mojo/public/mojo_application.gni")
12 import("//build/config/android/rules.gni")
14 java_library_path = "$target_out_dir/java_library.dex.jar"
16 mojo_android_application("core_services") {
17 input_so = "$root_out_dir/lib.stripped/libcore_services.so"
18 input_dex_jar = java_library_path
25 shared_library("native_library") {
26 output_name = "core_services"
35 "//components/resource_provider:jni_headers",
37 "//third_party/mojo/src/mojo/public/c/system:for_shared_library",
41 android_standalone_library("java_library") {
42 dex_path = java_library_path
45 "//components/resource_provider:java_library",
46 "//net/android:net_java",
50 mojo_native_application("core_services") {
53 "//third_party/icu:icudata",
54 "//third_party/angle:libEGL",
55 "//third_party/angle:libGLESv2",
56 "//ui/resources:ui_test_pak",
61 "$root_out_dir/icudtl.dat",
62 "$root_out_dir/libEGL.dll",
63 "$root_out_dir/libGLESv2.dll",
64 "$root_out_dir/ui_test.pak",
67 "$root_out_dir/core_services/{{source_file_part}}",
70 deps += [ ":copy_files" ]
75 source_set("sources") {
77 "core_services_application_delegate.cc",
83 "//components/clipboard:lib",
84 "//components/filesystem:lib",
85 "//components/resource_provider:lib",
86 "//components/view_manager:lib",
87 "//components/view_manager/surfaces:lib",
88 "//mandoline/ui/browser:lib",
89 "//mojo/application/public/cpp",
90 "//mojo/common:tracing_impl",
91 "//mojo/services/network:lib",
92 "//mojo/services/tracing:lib",
97 "//components/view_manager/public/cpp",
98 "//mandoline/ui/omnibox:lib",