From b470bf34341092630f8e390eca09b7b9c646a0a1 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Tue, 24 Mar 2020 17:03:15 +0000 Subject: [PATCH] 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 --- apex/Android.bp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/apex/Android.bp b/apex/Android.bp index cd34f98690d54..e8f6e6bf2c463 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -84,6 +84,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