summaryrefslogtreecommitdiff
path: root/StubLibraries.bp
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2020-08-31 21:21:38 -0700
committerXin Li <delphij@google.com>2020-08-31 21:21:38 -0700
commit628590d7ec80e10a3fc24b1c18a1afb55cca10a8 (patch)
tree4b1c3f52d86d7fb53afbe9e9438468588fa489f8 /StubLibraries.bp
parentb11b8ec3aec8bb42f2c07e1c5ac7942da293baa8 (diff)
parentd2d3a20624d968199353ccf6ddbae6f3ac39c9af (diff)
Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507 Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27 Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r--StubLibraries.bp49
1 files changed, 37 insertions, 12 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp
index 5754e57bac3c..3bdd4ad909ef 100644
--- a/StubLibraries.bp
+++ b/StubLibraries.bp
@@ -51,6 +51,10 @@ stubs_defaults {
":android_icu4j_public_api_files",
"**/package.html",
],
+ // TODO(b/147699819): remove below aidl includes.
+ aidl: {
+ local_include_dirs: ["telephony/java"],
+ },
libs: ["framework-internal-utils"],
installable: false,
annotations_enabled: true,
@@ -81,12 +85,9 @@ stubs_defaults {
// finalized stub library to resolve them. If a new class gets added,
// this may be need to be revisited to use a manually maintained stub
// library with empty classes in order to resolve those references.
- libs: ["sdk_system_29_android"],
+ libs: ["sdk_system_30_android"],
aidl: {
- local_include_dirs: [
- "media/apex/java",
- "wifi/aidl-export",
- ],
+ local_include_dirs: ["apex/media/aidl/stable"],
},
}
@@ -112,7 +113,7 @@ droidstubs {
},
last_released: {
api_file: ":android.api.public.latest",
- removed_api_file: "api/removed.txt",
+ removed_api_file: ":removed.api.public.latest",
baseline_file: ":public-api-incompatibilities-with-last-released",
},
api_lint: {
@@ -139,6 +140,10 @@ droidstubs {
api_file: "non-updatable-api/current.txt",
removed_api_file: "non-updatable-api/removed.txt",
},
+ api_lint: {
+ enabled: true,
+ new_since: ":android-non-updatable.api.public.latest",
+ },
},
}
@@ -170,7 +175,7 @@ droidstubs {
},
last_released: {
api_file: ":android.api.system.latest",
- removed_api_file: "api/system-removed.txt",
+ removed_api_file: ":removed.api.system.latest",
baseline_file: ":system-api-incompatibilities-with-last-released"
},
api_lint: {
@@ -197,6 +202,11 @@ droidstubs {
api_file: "non-updatable-api/system-current.txt",
removed_api_file: "non-updatable-api/system-removed.txt",
},
+ api_lint: {
+ enabled: true,
+ new_since: ":android-non-updatable.api.system.latest",
+ baseline_file: "non-updatable-api/system-lint-baseline.txt",
+ },
},
}
@@ -245,7 +255,7 @@ droidstubs {
},
last_released: {
api_file: ":android.api.module-lib.latest",
- removed_api_file: "api/module-lib-removed.txt",
+ removed_api_file: ":removed.api.module-lib.latest",
baseline_file: ":module-lib-api-incompatibilities-with-last-released"
},
api_lint: {
@@ -271,6 +281,10 @@ droidstubs {
api_file: "non-updatable-api/module-lib-current.txt",
removed_api_file: "non-updatable-api/module-lib-removed.txt",
},
+ api_lint: {
+ enabled: true,
+ new_since: ":android-non-updatable.api.module-lib.latest",
+ },
},
}
@@ -283,8 +297,6 @@ java_defaults {
name: "android_defaults_stubs_current",
libs: [ "stub-annotations" ],
static_libs: [
- "private-stub-annotations-jar",
-
// License notices from art module
"art-notices-for-framework-stubs-jar",
"framework-res-package-jar", // Export package of framework-res
@@ -312,6 +324,7 @@ java_defaults {
java_library_static {
name: "android_monolith_stubs_current",
srcs: [ ":api-stubs-docs" ],
+ static_libs: [ "private-stub-annotations-jar" ],
defaults: ["android_defaults_stubs_current"],
}
@@ -320,9 +333,14 @@ java_library_static {
srcs: [ ":api-stubs-docs-non-updatable" ],
static_libs: [
"conscrypt.module.public.api.stubs",
+ "framework-media.stubs",
+ "framework-mediaprovider.stubs",
+ "framework-permission.stubs",
"framework-sdkextensions.stubs",
+ "framework-statsd.stubs",
"framework-tethering.stubs",
- "updatable_media_stubs.public",
+ "framework-wifi.stubs",
+ "private-stub-annotations-jar",
],
defaults: ["android_defaults_stubs_current"],
}
@@ -336,6 +354,7 @@ java_library_static {
java_library_static {
name: "android_system_monolith_stubs_current",
srcs: [ ":system-api-stubs-docs" ],
+ static_libs: [ "private-stub-annotations-jar" ],
defaults: [
"android_defaults_stubs_current",
"android_stubs_dists_default",
@@ -358,9 +377,14 @@ java_library_static {
srcs: [ ":system-api-stubs-docs-non-updatable" ],
static_libs: [
"conscrypt.module.public.api.stubs",
+ "framework-media.stubs.system",
+ "framework-mediaprovider.stubs.system",
+ "framework-permission.stubs.system",
"framework-sdkextensions.stubs.system",
+ "framework-statsd.stubs.system",
"framework-tethering.stubs.system",
- "updatable_media_stubs",
+ "framework-wifi.stubs.system",
+ "private-stub-annotations-jar",
],
defaults: ["android_defaults_stubs_current"],
}
@@ -374,6 +398,7 @@ java_library_static {
java_library_static {
name: "android_test_stubs_current",
srcs: [ ":test-api-stubs-docs" ],
+ static_libs: [ "private-stub-annotations-jar" ],
defaults: [
"android_defaults_stubs_current",
"android_stubs_dists_default",