Merge "Remove SDK dep from module_lib_api"

This commit is contained in:
Anton Hansson
2020-03-20 12:48:31 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 2 deletions

View File

@@ -409,7 +409,6 @@ java_defaults {
"app-compat-annotations",
"ext",
"unsupportedappusage",
"framework-updatable-stubs-module_libs_api",
],
jarjar_rules: ":framework-jarjar-rules",
@@ -475,6 +474,7 @@ java_library {
"libcore-platform-compat-config",
"services-platform-compat-config",
],
libs: ["framework-updatable-stubs-module_libs_api"],
static_libs: [
// If MimeMap ever becomes its own APEX, then this dependency would need to be removed
// in favor of an API stubs dependency in java_library "framework" below.
@@ -519,6 +519,7 @@ java_library {
visibility: [
// DO NOT ADD ANY MORE ENTRIES TO THIS LIST
"//external/robolectric-shadows:__subpackages__",
"//frameworks/base",
"//frameworks/layoutlib:__subpackages__",
],
}

View File

@@ -71,7 +71,8 @@ stubs_defaults {
stubs_defaults {
name: "metalava-non-updatable-api-stubs-default",
defaults: ["metalava-base-api-stubs-default"],
sdk_version: "system_current",
sdk_version: "core_platform",
libs: ["framework-all"],
}
/////////////////////////////////////////////////////////////////////