Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Unified Diff: net/android/BUILD.gn

Issue 507523002: Add content_shell_apk target (and a bunch of its dependencies) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix PageTransitionTypes.template path Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/android/BUILD.gn ('k') | ui/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/android/BUILD.gn
diff --git a/net/android/BUILD.gn b/net/android/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..98f25816a1a376db1f63f08041ff918941f10183
--- /dev/null
+++ b/net/android/BUILD.gn
@@ -0,0 +1,94 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/android/config.gni")
+import("//build/config/android/rules.gni")
+
+android_library("net_java") {
+ DEPRECATED_java_in_dir = "java/src"
+ deps = [
+ "//base:base_java",
+ ]
+
+ srcjar_deps = [
+ ":cert_verify_status_android_java",
+ ":certificate_mime_types_java",
+ ":net_errors_java",
+ ":private_key_types_java",
+ ":remote_android_keystore_aidl",
+ ]
+}
+
+android_aidl("remote_android_keystore_aidl") {
+ interface_file = "java/src/org/chromium/net/IRemoteAndroidKeyStoreInterface.aidl"
+ sources = [
+ "java/src/org/chromium/net/IRemoteAndroidKeyStore.aidl",
+ "java/src/org/chromium/net/IRemoteAndroidKeyStoreCallbacks.aidl",
+ ]
+}
+
+android_library("net_java_test_support") {
+ DEPRECATED_java_in_dir = "../test/android/javatests/src"
+}
+
+android_library("net_javatests") {
+ DEPRECATED_java_in_dir = "javatests/src"
+ deps = [
+ "//base:base_java",
+ "//base:base_java_test_support",
+ ":net_java",
+ ]
+}
+
+java_cpp_template("net_errors_java") {
+ package_name = "org/chromium/net"
+ sources = [
+ "java/NetError.template",
+ ]
+ inputs = [
+ "../base/net_error_list.h"
+ ]
+}
+
+java_cpp_template("certificate_mime_types_java") {
+ package_name = "org/chromium/net"
+ sources = [
+ "java/CertificateMimeType.template",
+ ]
+ inputs = [
+ "../base/mime_util_certificate_type_list.h"
+ ]
+}
+
+java_cpp_template("cert_verify_status_android_java") {
+ package_name = "org/chromium/net"
+ sources = [
+ "java/CertVerifyStatusAndroid.template",
+ ]
+ inputs = [
+ "cert_verify_status_android_list.h"
+ ]
+}
+
+java_cpp_template("private_key_types_java") {
+ package_name = "org/chromium/net"
+ sources = [
+ "java/PrivateKeyType.template",
+ ]
+ inputs = [
+ "private_key_type_list.h"
+ ]
+}
+
+# TODO(GYP)
+if (false) {
+ unittest_apk("net_unittests_apk") {
+ deps = [
+ ":net_java",
+ ":net_javatests",
+ "//net:net_unittests",
+ ]
+ unittests_dep = "//net:net_unittests"
+ }
+}
« no previous file with comments | « content/shell/android/BUILD.gn ('k') | ui/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698