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 import("//third_party/mojo/src/mojo/public/mojo_application.gni") | 5 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 | 9 |
10 java_library_path = "$target_out_dir/java_library.dex.jar" | 10 java_library_path = "$target_out_dir/java_library.dex.jar" |
11 | 11 |
12 mojo_android_application("network") { | 12 mojo_android_application("network") { |
13 output_name = "network_service" | 13 output_name = "network_service" |
14 input_so = "$root_out_dir/lib.stripped/libnetwork_service.so" | 14 input_so = "$root_out_dir/lib.stripped/libnetwork_service.so" |
15 input_dex_jar = java_library_path | 15 input_dex_jar = java_library_path |
16 deps = [ | 16 deps = [ |
17 ":java_library", | 17 ":java_library", |
| 18 ":native_library", |
18 ] | 19 ] |
19 } | 20 } |
20 | 21 |
21 shared_library("native_library") { | 22 shared_library("native_library") { |
22 output_name = "network_service" | 23 output_name = "network_service" |
23 | 24 |
24 sources = [ | 25 sources = [ |
25 "android_hooks.cc", | 26 "android_hooks.cc", |
26 ] | 27 ] |
27 | 28 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 "//base", | 127 "//base", |
127 "//mojo/application/public/cpp:test_support", | 128 "//mojo/application/public/cpp:test_support", |
128 "//mojo/services/network/public/cpp", | 129 "//mojo/services/network/public/cpp", |
129 "//mojo/services/network/public/interfaces", | 130 "//mojo/services/network/public/interfaces", |
130 "//net", | 131 "//net", |
131 "//net:test_support", | 132 "//net:test_support", |
132 "//testing/gtest", | 133 "//testing/gtest", |
133 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", | 134 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
134 ] | 135 ] |
135 } | 136 } |
OLD | NEW |