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("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 | 7 |
8 android_library("net_java") { | 8 android_library("net_java") { |
9 java_files = [ | 9 java_files = [ |
10 "java/src/org/chromium/net/AndroidCellularSignalStrength.java", | 10 "java/src/org/chromium/net/AndroidCellularSignalStrength.java", |
11 "java/src/org/chromium/net/AndroidCertVerifyResult.java", | 11 "java/src/org/chromium/net/AndroidCertVerifyResult.java", |
12 "java/src/org/chromium/net/AndroidKeyStore.java", | 12 "java/src/org/chromium/net/AndroidKeyStore.java", |
13 "java/src/org/chromium/net/AndroidNetworkLibrary.java", | 13 "java/src/org/chromium/net/AndroidNetworkLibrary.java", |
14 "java/src/org/chromium/net/AndroidTrafficStats.java", | 14 "java/src/org/chromium/net/AndroidTrafficStats.java", |
15 "java/src/org/chromium/net/GURLUtils.java", | 15 "java/src/org/chromium/net/GURLUtils.java", |
16 "java/src/org/chromium/net/HttpNegotiateAuthenticator.java", | 16 "java/src/org/chromium/net/HttpNegotiateAuthenticator.java", |
17 "java/src/org/chromium/net/HttpNegotiateConstants.java", | 17 "java/src/org/chromium/net/HttpNegotiateConstants.java", |
18 "java/src/org/chromium/net/NetStringUtil.java", | 18 "java/src/org/chromium/net/NetStringUtil.java", |
19 "java/src/org/chromium/net/NetworkChangeNotifier.java", | 19 "java/src/org/chromium/net/NetworkChangeNotifier.java", |
20 "java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java", | 20 "java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java", |
21 "java/src/org/chromium/net/ProxyChangeListener.java", | 21 "java/src/org/chromium/net/ProxyChangeListener.java", |
22 "java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java", | 22 "java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java", |
23 "java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java", | 23 "java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java", |
24 "java/src/org/chromium/net/X509Util.java", | 24 "java/src/org/chromium/net/X509Util.java", |
25 ] | 25 ] |
26 deps = [ | 26 deps = [ |
27 "//base:base_java", | 27 "//base:base_java", |
| 28 "//third_party/android_tools:android_support_annotations_java", |
28 ] | 29 ] |
29 srcjar_deps = [ | 30 srcjar_deps = [ |
30 ":net_errors_java", | 31 ":net_errors_java", |
31 ":net_android_java_enums_srcjar", | 32 ":net_android_java_enums_srcjar", |
32 ] | 33 ] |
33 } | 34 } |
34 | 35 |
35 android_aidl("embedded_test_server_aidl") { | 36 android_aidl("embedded_test_server_aidl") { |
36 interface_file = "../test/android/javatests/src/org/chromium/net/test/IEmbedde
dTestServerInterface.aidl" | 37 interface_file = "../test/android/javatests/src/org/chromium/net/test/IEmbedde
dTestServerInterface.aidl" |
37 sources = [ | 38 sources = [ |
(...skipping 15 matching lines...) Expand all Loading... |
53 "../test/android/javatests/src/org/chromium/net/test/TestServerBuilder.java"
, | 54 "../test/android/javatests/src/org/chromium/net/test/TestServerBuilder.java"
, |
54 "../test/android/javatests/src/org/chromium/net/test/TestServerSpawner.java"
, | 55 "../test/android/javatests/src/org/chromium/net/test/TestServerSpawner.java"
, |
55 "../test/android/javatests/src/org/chromium/net/test/util/CertTestUtil.java"
, | 56 "../test/android/javatests/src/org/chromium/net/test/util/CertTestUtil.java"
, |
56 "../test/android/javatests/src/org/chromium/net/test/util/NetworkChangeNotif
ierTestUtil.java", | 57 "../test/android/javatests/src/org/chromium/net/test/util/NetworkChangeNotif
ierTestUtil.java", |
57 "../test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java
", | 58 "../test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java
", |
58 ] | 59 ] |
59 deps = [ | 60 deps = [ |
60 ":net_java", | 61 ":net_java", |
61 "//base:base_java", | 62 "//base:base_java", |
62 "//base:base_java_test_support", | 63 "//base:base_java_test_support", |
| 64 "//third_party/android_tools:android_support_annotations_java", |
63 "//third_party/android_tools:legacy_http_javalib", | 65 "//third_party/android_tools:legacy_http_javalib", |
64 ] | 66 ] |
65 srcjar_deps = [ | 67 srcjar_deps = [ |
66 ":embedded_test_server_aidl", | 68 ":embedded_test_server_aidl", |
67 ":net_java_test_support_enums_srcjar", | 69 ":net_java_test_support_enums_srcjar", |
68 ] | 70 ] |
69 } | 71 } |
70 | 72 |
71 source_set("java_test_native_support") { | 73 source_set("java_test_native_support") { |
72 testonly = true | 74 testonly = true |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 java_files = | 161 java_files = |
160 [ "junit/src/org/chromium/net/HttpNegotiateAuthenticatorTest.java" ] | 162 [ "junit/src/org/chromium/net/HttpNegotiateAuthenticatorTest.java" ] |
161 deps = [ | 163 deps = [ |
162 ":net_java", | 164 ":net_java", |
163 "//base:base_java", | 165 "//base:base_java", |
164 "//base:base_java_test_support", | 166 "//base:base_java_test_support", |
165 "//base:base_junit_test_support", | 167 "//base:base_junit_test_support", |
166 "//third_party/junit:hamcrest", | 168 "//third_party/junit:hamcrest", |
167 ] | 169 ] |
168 } | 170 } |
OLD | NEW |