From 21fb108a6f205e8b6d9cb73f39ca7203342e3bd1 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Fri, 3 Mar 2023 16:22:42 +0000 Subject: 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 --- StubLibraries.bp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/StubLibraries.bp b/StubLibraries.bp index 38413c22a3d5..79dd1493d8fb 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -364,15 +364,15 @@ java_library { 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", }, -- cgit v1.2.3-59-g8ed1b