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 18 matching lines...) Expand all Loading... |
29 android_library("net_java_test_support") { | 29 android_library("net_java_test_support") { |
30 DEPRECATED_java_in_dir = "../test/android/javatests/src" | 30 DEPRECATED_java_in_dir = "../test/android/javatests/src" |
31 deps = [ | 31 deps = [ |
32 "//base:base_java", | 32 "//base:base_java", |
33 "//third_party/android_tools:legacy_http_javalib", | 33 "//third_party/android_tools:legacy_http_javalib", |
34 ":net_java", | 34 ":net_java", |
35 ] | 35 ] |
36 srcjar_deps = [ ":net_java_test_support_enums_srcjar" ] | 36 srcjar_deps = [ ":net_java_test_support_enums_srcjar" ] |
37 } | 37 } |
38 | 38 |
| 39 android_resources("net_unittests_apk_resources") { |
| 40 resource_dirs = [ "unittest_support/res" ] |
| 41 custom_package = "org.chromium.native_test" |
| 42 } |
| 43 |
39 android_library("net_javatests") { | 44 android_library("net_javatests") { |
40 DEPRECATED_java_in_dir = "javatests/src" | 45 DEPRECATED_java_in_dir = "javatests/src" |
41 deps = [ | 46 deps = [ |
42 "//base:base_java", | 47 "//base:base_java", |
43 "//base:base_java_test_support", | 48 "//base:base_java_test_support", |
44 ":net_java", | 49 ":net_java", |
45 ] | 50 ] |
46 } | 51 } |
47 | 52 |
48 java_cpp_template("net_errors_java") { | 53 java_cpp_template("net_errors_java") { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 java_files = | 93 java_files = |
89 [ "junit/src/org/chromium/net/HttpNegotiateAuthenticatorTest.java" ] | 94 [ "junit/src/org/chromium/net/HttpNegotiateAuthenticatorTest.java" ] |
90 deps = [ | 95 deps = [ |
91 ":net_java", | 96 ":net_java", |
92 "//base:base_java", | 97 "//base:base_java", |
93 "//base:base_java_test_support", | 98 "//base:base_java_test_support", |
94 "//base:base_junit_test_support", | 99 "//base:base_junit_test_support", |
95 "//third_party/junit:hamcrest", | 100 "//third_party/junit:hamcrest", |
96 ] | 101 ] |
97 } | 102 } |
98 | |
99 # TODO(GYP) | |
100 if (false) { | |
101 unittest_apk("net_unittests_apk") { | |
102 deps = [ | |
103 ":net_java", | |
104 ":net_javatests", | |
105 "//net:net_unittests", | |
106 ] | |
107 unittests_dep = "//net:net_unittests" | |
108 } | |
109 } | |
OLD | NEW |