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
Merged-In: I31c6d0fa958aa502131352716a9f950828b7829c
(cherry picked from commit eb34cbee12)
This commit is contained in:
Anton Hansson
2020-04-08 16:37:10 +01:00
parent 02e7f10464
commit 369bafac96

View File

@@ -136,7 +136,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: {
@@ -151,7 +151,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: {