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") |
11 | 11 |
12 if (is_android) { | 12 if (is_android) { |
13 import("//build/config/android/rules.gni") | 13 import("//build/config/android/rules.gni") |
14 | 14 |
15 java_library_path = "$target_out_dir/java_library.dex.jar" | 15 java_library_path = "$target_out_dir/java_library.dex.jar" |
16 | 16 |
17 mojo_android_application("core_services") { | 17 mojo_android_application("core_services") { |
18 input_so = "$root_out_dir/lib.stripped/libcore_services.so" | 18 input_so = "$root_out_dir/lib.stripped/libcore_services.so" |
19 input_dex_jar = java_library_path | 19 input_dex_jar = java_library_path |
20 deps = [ | 20 deps = [ |
21 ":java_library", | 21 ":java_library", |
| 22 ":native_library", |
22 ] | 23 ] |
23 } | 24 } |
24 | 25 |
25 shared_library("native_library") { | 26 shared_library("native_library") { |
26 output_name = "core_services" | 27 output_name = "core_services" |
27 | 28 |
28 sources = [ | 29 sources = [ |
29 "android_hooks.cc", | 30 "android_hooks.cc", |
30 ] | 31 ] |
31 | 32 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 "//mojo/services/tracing:lib", | 74 "//mojo/services/tracing:lib", |
74 ] | 75 ] |
75 | 76 |
76 if (!is_android) { | 77 if (!is_android) { |
77 deps += [ | 78 deps += [ |
78 "//components/view_manager/public/cpp", | 79 "//components/view_manager/public/cpp", |
79 "//mandoline/ui/omnibox:lib", | 80 "//mandoline/ui/omnibox:lib", |
80 ] | 81 ] |
81 } | 82 } |
82 } | 83 } |
OLD | NEW |