summaryrefslogtreecommitdiff
path: root/StubLibraries.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2021-02-05 11:40:25 +0000
committerAnton Hansson <hansson@google.com>2021-02-05 11:40:25 +0000
commitb7d532e4c8cc65eb442e8e124fde139a7758ed84 (patch)
tree5e71fad6a1b407cc6065d2ee52a027ca594297a5 /StubLibraries.bp
parentce21e28bfce65f83359babcdb4b5a16a64e4da4d (diff)
Temporarily add IKE to non-updatable stubs build
...in order to be able to resolve IKE classes. Note that this can be removed once the prebuilt stub in prebuilts/sdk contains IKE, which can be achieved with a new import after this CL is submitted: I10759d22eaba4861b7d7f283b551156f09f54675 Bug: 177266501 Test: m Change-Id: I7229b1486e7170acca5da8f1b7874e5eaaecb1db
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r--StubLibraries.bp8
1 files changed, 7 insertions, 1 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp
index f56de1a962f1..367b427d8207 100644
--- a/StubLibraries.bp
+++ b/StubLibraries.bp
@@ -84,6 +84,8 @@ stubs_defaults {
// full sdk to ensure we can resolve them. If a new class gets added,
// the prebuilts/sdk/current needs to be updated.
"sdk_system_current_android",
+ // NOTE: The below can be removed once the prebuilt stub contains IKE.
+ "sdk_system_current_android.net.ipsec.ike",
],
high_mem: true, // Lots of sources => high memory use, see b/170701554
installable: false,
@@ -391,7 +393,11 @@ java_library_static {
"android_defaults_stubs_current",
"android_stubs_dists_default",
],
- libs: ["sdk_system_current_android"],
+ libs: [
+ "sdk_system_current_android",
+ // NOTE: The below can be removed once the prebuilt stub contains IKE.
+ "sdk_system_current_android.net.ipsec.ike",
+ ],
static_libs: ["art.module.public.api.stubs"],
dist: {
dir: "apistubs/android/module-lib",