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 DEPRECATED_java_in_dir = "java/src" | 9 DEPRECATED_java_in_dir = "java/src" |
10 deps = [ | 10 deps = [ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 ] | 58 ] |
59 inputs = [ | 59 inputs = [ |
60 "../base/net_error_list.h", | 60 "../base/net_error_list.h", |
61 ] | 61 ] |
62 } | 62 } |
63 | 63 |
64 java_cpp_enum("net_java_test_support_enums_srcjar") { | 64 java_cpp_enum("net_java_test_support_enums_srcjar") { |
65 sources = [ | 65 sources = [ |
66 "../test/url_request/url_request_failed_job.h", | 66 "../test/url_request/url_request_failed_job.h", |
67 ] | 67 ] |
68 outputs = [ | |
69 "org/chromium/net/test/FailurePhase.java", | |
70 ] | |
71 } | 68 } |
72 | 69 |
73 java_cpp_enum("net_android_java_enums_srcjar") { | 70 java_cpp_enum("net_android_java_enums_srcjar") { |
74 sources = [ | 71 sources = [ |
75 "../base/mime_util.h", | 72 "../base/mime_util.h", |
76 "../base/network_change_notifier.h", | 73 "../base/network_change_notifier.h", |
77 "cert_verify_result_android.h", | 74 "cert_verify_result_android.h", |
78 "keystore.h", | 75 "keystore.h", |
79 "network_change_notifier_android.cc", | 76 "network_change_notifier_android.cc", |
80 "traffic_stats.cc", | 77 "traffic_stats.cc", |
81 ] | 78 ] |
82 outputs = [ | |
83 "org/chromium/net/CertificateMimeType.java", | |
84 "org/chromium/net/CertVerifyStatusAndroid.java", | |
85 "org/chromium/net/ConnectionSubtype.java", | |
86 "org/chromium/net/ConnectionType.java", | |
87 "org/chromium/net/NetId.java", | |
88 "org/chromium/net/PrivateKeyType.java", | |
89 "org/chromium/net/TrafficStatsError.java", | |
90 ] | |
91 } | 79 } |
92 | 80 |
93 junit_binary("net_junit_tests") { | 81 junit_binary("net_junit_tests") { |
94 java_files = | 82 java_files = |
95 [ "junit/src/org/chromium/net/HttpNegotiateAuthenticatorTest.java" ] | 83 [ "junit/src/org/chromium/net/HttpNegotiateAuthenticatorTest.java" ] |
96 deps = [ | 84 deps = [ |
97 ":net_java", | 85 ":net_java", |
98 "//base:base_java", | 86 "//base:base_java", |
99 "//base:base_java_test_support", | 87 "//base:base_java_test_support", |
100 "//base:base_junit_test_support", | 88 "//base:base_junit_test_support", |
101 "//third_party/junit:hamcrest", | 89 "//third_party/junit:hamcrest", |
102 ] | 90 ] |
103 } | 91 } |
OLD | NEW |