Use module_current to build module stubs

module_current is always built from sources, whereas the
other SDK jars are being transitioned to be composed of
a set of stubs. This avoids the dependency cycle of module
stubs depending on themselves.

Bug: 144149403
Test: m
Change-Id: I31c6d0fa958aa502131352716a9f950828b7829c
This commit is contained in:
Anton Hansson
2020-04-08 16:37:10 +01:00
parent 9c50a64e91
commit eb34cbee12

View File

@@ -67,7 +67,7 @@ stubs_defaults {
name: "framework-module-stubs-defaults-publicapi",
args: mainline_framework_stubs_args,
installable: false,
sdk_version: "current",
sdk_version: "module_current",
filter_packages: framework_packages_to_document,
check_api: {
current: {
@@ -86,7 +86,7 @@ stubs_defaults {
args: mainline_framework_stubs_args + priv_apps,
libs: ["framework-annotations-lib"],
installable: false,
sdk_version: "system_current",
sdk_version: "module_current",
filter_packages: framework_packages_to_document,
check_api: {
current: {