Add service-art to sdk
Overrides the defaults setting of sdk_version: "module_current" for the
public and sdk_version: "system_server_current" for the system_server
stub libraries as that is not available in master-art.
Bug: 193044041
Test: DIST_DIR=$PWD/dist TARGET_BUILD_VARIANT=userdebug art/build/build-art-module.sh --skip-apex
packages/modules/ArtPrebuilt/update-art-module-prebuilts.py --local-dist=dist --skip-cls --skip-apex
- check that service-art is added
Change-Id: I078956714fd333b29d5f12384e1fd313044a92e4
diff --git a/libartservice/Android.bp b/libartservice/Android.bp
index 18c851e..985a2eb 100644
--- a/libartservice/Android.bp
+++ b/libartservice/Android.bp
@@ -71,6 +71,18 @@
sdk_version: "core_platform",
min_sdk_version: "31",
+ public: {
+ // Override the setting of "module_current" from the defaults as that is
+ // not available in all manifests where this needs to be built.
+ sdk_version: "core_current",
+ },
+
+ system_server: {
+ // Override the setting of "module_current" from the defaults as that is
+ // not available in all manifests where this needs to be built.
+ sdk_version: "core_current",
+ },
+
// The API elements are the ones annotated with
// libcore.api.CorePlatformApi(status=libcore.api.CorePlatformApi.Status.STABLE)
droiddoc_options: [