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
3 # found in the LICENSE file.
5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni")
8 android_library("net_java") {
9 DEPRECATED_java_in_dir = "java/src"
16 ":net_android_java_enums_srcjar",
17 ":remote_android_keystore_aidl",
21 android_aidl("remote_android_keystore_aidl") {
23 "java/src/org/chromium/net/IRemoteAndroidKeyStoreInterface.aidl"
25 "java/src/org/chromium/net/IRemoteAndroidKeyStore.aidl",
26 "java/src/org/chromium/net/IRemoteAndroidKeyStoreCallbacks.aidl",
30 android_library("net_java_test_support") {
31 DEPRECATED_java_in_dir = "../test/android/javatests/src"
34 android_library("net_javatests") {
35 DEPRECATED_java_in_dir = "javatests/src"
38 "//base:base_java_test_support",
43 java_cpp_template("net_errors_java") {
44 package_name = "org/chromium/net"
46 "java/NetError.template",
49 "../base/net_error_list.h",
53 java_cpp_enum("net_android_java_enums_srcjar") {
55 "../base/mime_util.h",
56 "../base/network_change_notifier.h",
57 "cert_verify_result_android.h",
61 "org/chromium/net/CertificateMimeType.java",
62 "org/chromium/net/CertVerifyStatusAndroid.java",
63 "org/chromium/net/ConnectionSubtype.java",
64 "org/chromium/net/ConnectionType.java",
65 "org/chromium/net/PrivateKeyType.java",
71 unittest_apk("net_unittests_apk") {
75 "//net:net_unittests",
77 unittests_dep = "//net:net_unittests"