bookmarks: Move bookmark_test_helpers.h into 'bookmarks' namespace.
[chromium-blink-merge.git] / net / android / BUILD.gn
blob8c803a1069c1ba66aa4c6f01caabe4728170bb0e
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   ]
14   srcjar_deps = [
15     ":net_errors_java",
16     ":net_android_java_enums_srcjar",
17     ":remote_android_keystore_aidl",
18   ]
21 android_aidl("remote_android_keystore_aidl") {
22   interface_file = "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"
33 android_library("net_javatests") {
34   DEPRECATED_java_in_dir = "javatests/src"
35   deps = [
36     "//base:base_java",
37     "//base:base_java_test_support",
38     ":net_java",
39   ]
42 java_cpp_template("net_errors_java") {
43   package_name = "org/chromium/net"
44   sources = [
45     "java/NetError.template",
46   ]
47   inputs = [
48     "../base/net_error_list.h"
49   ]
52 java_cpp_enum("net_android_java_enums_srcjar") {
53   sources = [
54     "../base/mime_util.h",
55     "cert_verify_result_android.h",
56     "keystore.h"
57   ]
58   outputs = [
59     "org/chromium/net/CertificateMimeType.java",
60     "org/chromium/net/CertVerifyStatusAndroid.java",
61     "org/chromium/net/PrivateKeyType.java",
62   ]
65 # TODO(GYP)
66 if (false) {
67   unittest_apk("net_unittests_apk") {
68     deps = [
69       ":net_java",
70       ":net_javatests",
71       "//net:net_unittests",
72     ]
73     unittests_dep = "//net:net_unittests"
74   }