Apply android.jar defaults to system server stub
Unclear why this wasn't the case in the past, so tidy up. This has
the nice side-effect of making the stub public which makes it
accessible from a subdirectory.
Bug: 271563074
Test: m
Change-Id: Iec1e01e845b67cc0277ab9a519c04d56c016a301
diff --git a/StubLibraries.bp b/StubLibraries.bp
index 38413c2..79dd149 100644
--- a/StubLibraries.bp
+++ b/StubLibraries.bp
@@ -364,15 +364,15 @@
java_library {
name: "android_system_server_stubs_current",
- defaults: ["android_stubs_dists_default"],
+ defaults: [
+ "android.jar_defaults",
+ "android_stubs_dists_default",
+ ],
srcs: [":services-non-updatable-stubs"],
installable: false,
static_libs: [
"android_module_lib_stubs_current",
],
- sdk_version: "none",
- system_modules: "none",
- java_version: "1.8",
dist: {
dir: "apistubs/android/system-server",
},