Add ike-internals target as a placeholder am: d050825859 am: 36feb4e806
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/IPsec/+/11989963
Change-Id: I37f54ca66af66082e3b3ed57fd32221633bc3c39
diff --git a/Android.bp b/Android.bp
index 587edde..61f21dc 100644
--- a/Android.bp
+++ b/Android.bp
@@ -26,6 +26,10 @@
},
srcs: [":ike-srcs"],
+ static_libs: [
+ "ike-internals",
+ ],
+
libs: [
"unsupportedappusage",
"framework-annotations-lib",
@@ -65,11 +69,24 @@
path: "src/java/",
}
+// Provides internal classes needed to build the ike sources.
+//
+// TODO(b/152328618) - Add dependency on bouncycastle_ike_digests code.
+java_library {
+ name: "ike-internals",
+ apex_available: [
+ "com.android.ipsec",
+ "test_com.android.ipsec",
+ ],
+ sdk_version: "core_current",
+}
+
java_library {
name: "ike_test",
installable: false, // Used only for testing; never installed alone.
srcs: [":ike-srcs"],
libs: ["unsupportedappusage"],
+ static_libs: ["ike-internals"],
// Shared filegroups of BouncyCastle and frameworks are jar-jar'ed to avoid
// being overwritten by the frameworks class copies.