| 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/AndroidCertVerifyResult.java", | 10 "java/src/org/chromium/net/AndroidCertVerifyResult.java", |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 testonly = true | 89 testonly = true |
| 90 deps = [ | 90 deps = [ |
| 91 ":java_test_native_support", | 91 ":java_test_native_support", |
| 92 "//net:test_support", | 92 "//net:test_support", |
| 93 ] | 93 ] |
| 94 } | 94 } |
| 95 | 95 |
| 96 android_apk("net_test_support_apk") { | 96 android_apk("net_test_support_apk") { |
| 97 testonly = true | 97 testonly = true |
| 98 deps = [ | 98 deps = [ |
| 99 ":net_java_test_native_support", | |
| 100 ":net_java_test_support", | 99 ":net_java_test_support", |
| 101 "//base:base_java", | 100 "//base:base_java", |
| 102 ] | 101 ] |
| 103 android_manifest = "../test/android/javatests/AndroidManifest.xml" | 102 android_manifest = "../test/android/javatests/AndroidManifest.xml" |
| 104 apk_name = "ChromiumNetTestSupport" | 103 apk_name = "ChromiumNetTestSupport" |
| 105 native_libs = [ "libnet_java_test_native_support.so" ] | 104 shared_libraries = [ ":net_java_test_native_support" ] |
| 106 } | 105 } |
| 107 | 106 |
| 108 android_resources("net_unittests_apk_resources") { | 107 android_resources("net_unittests_apk_resources") { |
| 109 resource_dirs = [ "unittest_support/res" ] | 108 resource_dirs = [ "unittest_support/res" ] |
| 110 custom_package = "org.chromium.native_test" | 109 custom_package = "org.chromium.native_test" |
| 111 } | 110 } |
| 112 | 111 |
| 113 android_library("net_javatests") { | 112 android_library("net_javatests") { |
| 114 testonly = true | 113 testonly = true |
| 115 java_files = [ | 114 java_files = [ |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 java_files = | 157 java_files = |
| 159 [ "junit/src/org/chromium/net/HttpNegotiateAuthenticatorTest.java" ] | 158 [ "junit/src/org/chromium/net/HttpNegotiateAuthenticatorTest.java" ] |
| 160 deps = [ | 159 deps = [ |
| 161 ":net_java", | 160 ":net_java", |
| 162 "//base:base_java", | 161 "//base:base_java", |
| 163 "//base:base_java_test_support", | 162 "//base:base_java_test_support", |
| 164 "//base:base_junit_test_support", | 163 "//base:base_junit_test_support", |
| 165 "//third_party/junit:hamcrest", | 164 "//third_party/junit:hamcrest", |
| 166 ] | 165 ] |
| 167 } | 166 } |
| OLD | NEW |