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("//mojo/public/mojo_application.gni") | 5 import("//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 } | 16 } |
17 | 17 |
18 shared_library("native_library") { | 18 shared_library("native_library") { |
19 output_name = "network_service" | 19 output_name = "network_service" |
20 | 20 |
21 sources = [ | 21 sources = [ |
22 "android_hooks.cc", | 22 "android_hooks.cc", |
23 ] | 23 ] |
24 | 24 |
25 deps = [ | 25 deps = [ |
26 ":sources", | 26 ":sources", |
| 27 "//base", |
| 28 "//net", |
27 ] | 29 ] |
28 } | 30 } |
29 | 31 |
30 android_standalone_library("java_library") { | 32 android_standalone_library("java_library") { |
31 dex_path = java_library_path | 33 dex_path = java_library_path |
32 | 34 |
33 deps = [ | 35 deps = [ |
34 "//net/android:net_java", | 36 "//net/android:net_java", |
35 ] | 37 ] |
36 } | 38 } |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 "//mojo/common", | 121 "//mojo/common", |
120 "//mojo/public/cpp/bindings", | 122 "//mojo/public/cpp/bindings", |
121 "//mojo/public/cpp/bindings:callback", | 123 "//mojo/public/cpp/bindings:callback", |
122 "//mojo/services/network/public/cpp", | 124 "//mojo/services/network/public/cpp", |
123 "//mojo/services/network/public/interfaces", | 125 "//mojo/services/network/public/interfaces", |
124 "//net", | 126 "//net", |
125 "//net:test_support", | 127 "//net:test_support", |
126 "//testing/gtest", | 128 "//testing/gtest", |
127 ] | 129 ] |
128 } | 130 } |
OLD | NEW |