Add ike-internals when building framework-all-sources
The framework-all-sources filegroup includes sources from ike-srcs
which in turn depends on bouncycastle sources. This change
Bug: 152328618
Test: m droid
Change-Id: Ife5d1b2c80469ee5196d61806b721cf9dae251ed
diff --git a/Android.bp b/Android.bp
index 3aaf1ee..41d9b53 100644
--- a/Android.bp
+++ b/Android.bp
@@ -538,6 +538,9 @@
static_libs: [
"exoplayer2-extractor",
"android.hardware.wifi-V1.0-java-constants",
+
+ // Additional dependencies needed to build the ike API classes.
+ "ike-internals",
],
apex_available: ["//apex_available:platform"],
visibility: [
@@ -550,6 +553,7 @@
java_library {
name: "framework-annotation-proc",
+ visibility: ["//visibility:private"],
srcs: [
":framework-all-sources",
"core/java/**/*.logtags",
@@ -559,6 +563,8 @@
"app-compat-annotations",
"ext",
"unsupportedappusage",
+ // Additional dependencies needed to build the ike API classes.
+ "ike-internals",
],
installable: false,