Merge "Add new UnsupportedAppUsage annotation as lib dependency."

am: 938bc05883

Change-Id: Ia0f4b56fd239d7ad7a909ddad2e709d636320fb8
This commit is contained in:
Artur Satayev
2019-12-12 06:02:21 -08:00
committed by android-build-merger
4 changed files with 9 additions and 3 deletions

View File

@@ -366,7 +366,9 @@ java_defaults {
sdk_version: "core_platform",
libs: [
"app-compat-annotations",
"ext",
"unsupportedappusage",
"updatable_media_stubs",
],
@@ -426,7 +428,6 @@ java_library {
name: "framework-minus-apex",
defaults: ["framework-defaults"],
srcs: [":framework-non-updatable-sources"],
libs: ["app-compat-annotations"],
installable: true,
javac_shard_size: 150,
required: [
@@ -468,14 +469,16 @@ java_library {
defaults: ["framework-defaults"],
srcs: [":framework-all-sources"],
installable: false,
libs: ["app-compat-annotations"],
}
java_library {
name: "framework-annotation-proc",
defaults: ["framework-defaults"],
srcs: [":framework-all-sources"],
libs: ["app-compat-annotations"],
libs: [
"app-compat-annotations",
"unsupportedappusage",
],
installable: false,
plugins: [
"unsupportedappusage-annotation-processor",

View File

@@ -22,6 +22,7 @@ droiddoc {
"android.test.runner",
"junit",
"android.test.base",
"unsupportedappusage",
],
custom_template: "droiddoc-templates-sdk",
installable: false,

View File

@@ -31,6 +31,7 @@ java_defaults {
"android.hardware.tetheroffload.control-V1.0-java",
"tethering-client",
],
libs: ["unsupportedappusage"],
manifest: "AndroidManifestBase.xml",
}

View File

@@ -30,6 +30,7 @@ java_sdk_library {
libs: [
"framework-all",
"app-compat-annotations",
"unsupportedappusage",
],
api_packages: [