summaryrefslogtreecommitdiff
path: root/media/lib
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-09-15 20:19:02 +0900
committerJiyong Park <jiyong@google.com>2019-09-16 13:12:59 +0900
commitae9972bda40fff4b0f67dc31d95e740a6973db72 (patch)
tree3c39136f751512e3a318a3a97c8ceac498a847c9 /media/lib
parent763cb4638a1ed6124569b71307ca9a78373326a1 (diff)
Use filter_packages to unbunden metalava
This change fixes a problem that entire framework source files are given to metalava even when many of the source files are not for public. Using the new property filter_packages, only source files that belongs to the public packages are given to metalava. This CL also changes the name of the filegroup 'framework-srcs' to 'framework-non-updatable-sources' to better describe its contents. In addition, a build-time only library 'framework-all' is introduced. This library produces a header jar for all framework sources for both non-updatable and updatable parts. It is put to the classpath when invoking metalava to give information on the hidden classes that were filtered-out. Bug: 140764681 Test: m Change-Id: I6e16679109ac07820e35037754d4327442c014f2
Diffstat (limited to 'media/lib')
-rw-r--r--media/lib/signer/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/lib/signer/Android.bp b/media/lib/signer/Android.bp
index 85a007f427b8..2286c5379e1a 100644
--- a/media/lib/signer/Android.bp
+++ b/media/lib/signer/Android.bp
@@ -18,7 +18,7 @@ java_sdk_library {
name: "com.android.mediadrm.signer",
srcs: [
"java/**/*.java",
- ":framework-srcs",
+ ":framework-all-sources",
],
api_packages: ["com.android.mediadrm.signer"],
}