Enable verbose logging for Chromoting browser-tests, to understand more about failure...
[chromium-blink-merge.git] / net / android / BUILD.gn
blob358e1f7038892c23858e225489ca5265971a57fd
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"
10   deps = [
11     "//base:base_java",
12   ]
13   srcjar_deps = [
14     ":net_errors_java",
15     ":net_android_java_enums_srcjar",
16     ":remote_android_keystore_aidl",
17   ]
20 android_aidl("remote_android_keystore_aidl") {
21   interface_file =
22       "java/src/org/chromium/net/IRemoteAndroidKeyStoreInterface.aidl"
23   sources = [
24     "java/src/org/chromium/net/IRemoteAndroidKeyStore.aidl",
25     "java/src/org/chromium/net/IRemoteAndroidKeyStoreCallbacks.aidl",
26   ]
29 android_library("net_java_test_support") {
30   DEPRECATED_java_in_dir = "../test/android/javatests/src"
31   deps = [
32     "//base:base_java",
33   ]
34   srcjar_deps = [ ":net_java_test_support_enums_srcjar" ]
37 android_library("net_javatests") {
38   DEPRECATED_java_in_dir = "javatests/src"
39   deps = [
40     "//base:base_java",
41     "//base:base_java_test_support",
42     ":net_java",
43   ]
46 java_cpp_template("net_errors_java") {
47   package_name = "org/chromium/net"
48   sources = [
49     "java/NetError.template",
50   ]
51   inputs = [
52     "../base/net_error_list.h",
53   ]
56 java_cpp_enum("net_java_test_support_enums_srcjar") {
57   sources = [
58     "../test/url_request/url_request_failed_job.h",
59   ]
60   outputs = [
61     "org/chromium/net/test/FailurePhase.java",
62   ]
65 java_cpp_enum("net_android_java_enums_srcjar") {
66   sources = [
67     "../base/mime_util.h",
68     "../base/network_change_notifier.h",
69     "cert_verify_result_android.h",
70     "keystore.h",
71   ]
72   outputs = [
73     "org/chromium/net/CertificateMimeType.java",
74     "org/chromium/net/CertVerifyStatusAndroid.java",
75     "org/chromium/net/ConnectionSubtype.java",
76     "org/chromium/net/ConnectionType.java",
77     "org/chromium/net/PrivateKeyType.java",
78   ]
81 # TODO(GYP)
82 if (false) {
83   unittest_apk("net_unittests_apk") {
84     deps = [
85       ":net_java",
86       ":net_javatests",
87       "//net:net_unittests",
88     ]
89     unittests_dep = "//net:net_unittests"
90   }