Remove service stub dep on default libs
Not specifying any sdk_version defaults the library to building
against the platform internals. We do not want to build the stubs
against the platform internals, as that risks leaking internals
in the stubs.
Follow what the other stubs are doing, which is to build against
no default libs, and compiling with java version 1.8.
Bug: 158850553
Test: m
Change-Id: I310842747422b108ac2a1fcf11afac5c323ed5b1
diff --git a/services/Android.bp b/services/Android.bp
index 581edce..dc948e9 100644
--- a/services/Android.bp
+++ b/services/Android.bp
@@ -143,4 +143,7 @@
srcs: [":services-stubs.sources"],
installable: false,
static_libs: ["android_module_lib_stubs_current"],
+ sdk_version: "none",
+ system_modules: "none",
+ java_version: "1.8",
}