Merge "Cover framework code in hiddenapi-mappings." am: d39df1d0ac
am: ad6cf4a97c
Change-Id: Ia14fb9b3d20f0f0304232c816c0546a71ece15a1
diff --git a/Android.bp b/Android.bp
index 537bcc4..e1a6344 100644
--- a/Android.bp
+++ b/Android.bp
@@ -25,10 +25,8 @@
//
// READ ME: ########################################################
-java_defaults {
- name: "framework-defaults",
- installable: true,
-
+filegroup {
+ name: "framework-defaults-java-srcs",
srcs: [
// From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
"core/java/**/*.java",
@@ -47,7 +45,15 @@
"wifi/java/**/*.java",
"keystore/java/**/*.java",
"rs/java/**/*.java",
+ ],
+}
+java_defaults {
+ name: "framework-defaults",
+ installable: true,
+
+ srcs: [
+ ":framework-defaults-java-srcs",
":framework-javastream-protos",
"core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl",
@@ -1753,10 +1759,10 @@
name: "hiddenapi-mappings",
defaults: ["metalava-api-stubs-default"],
srcs: [
- ":openjdk_java_files",
+ ":framework-defaults-java-srcs",
":non_openjdk_java_files",
+ ":openjdk_java_files",
":opt-telephony-common-srcs",
- "core/java/**/*.java",
],
arg_files: [
"core/res/AndroidManifest.xml",