From c8cc1eb4da7a6d354aa3fc1dd3f6d3d18e45f940 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Tue, 24 Mar 2020 17:03:15 +0000 Subject: Add defaults for framework stub libs Useful to be able to change settings for all stub libs at the same time. For example, disting these libraries will be done soon. Bug: 149293194 Test: followup CLs Change-Id: I4dda5b44b6d4e76018acb50f46d05816cc4c7f0b Merged-In: I4dda5b44b6d4e76018acb50f46d05816cc4c7f0b (cherry picked from commit b470bf34341092630f8e390eca09b7b9c646a0a1) --- apex/Android.bp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/apex/Android.bp b/apex/Android.bp index 19439401a7fb..a6461f39d553 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -66,6 +66,24 @@ stubs_defaults { }, } +java_defaults { + name: "framework-module-stubs-lib-defaults-publicapi", + installable: false, + sdk_version: "module_current", +} + +java_defaults { + name: "framework-module-stubs-lib-defaults-systemapi", + installable: false, + sdk_version: "module_current", +} + +java_defaults { + name: "framework-module-stubs-lib-defaults-module_libs_api", + installable: false, + sdk_version: "module_current", +} + // The defaults for module_libs comes in two parts - defaults for API checks // and defaults for stub generation. This is because we want the API txt // files to *only* include the module_libs_api, but the stubs to include -- cgit v1.2.3-59-g8ed1b