summaryrefslogtreecommitdiff
path: root/ApiDocs.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2021-05-10 12:40:05 +0100
committerAnton Hansson <hansson@google.com>2021-05-10 12:41:01 +0100
commit2e25fdc90f3da2fbf7df9378fe60b51b4f184b7c (patch)
tree8295c9dcc9e88a85c0d8177c46f1dc8e0b5a6f94 /ApiDocs.bp
parent6c4de79bcc3db9b6020d132f0957d8ce2028b4c7 (diff)
Use filegroups for test-{base,mock,runner} srcs
This allows soong to infer the package of the given srcs, which in turns make it able to filter the inputs to metalava to exclude unwanted packages. This is part of a larger topic of changes intended to remove undesired classes from the public documentation. Bug: 187386774 Test: m Change-Id: I8196c306b743ce6ca8a6452d212f3d7c0b5b2b82
Diffstat (limited to 'ApiDocs.bp')
-rw-r--r--ApiDocs.bp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ApiDocs.bp b/ApiDocs.bp
index c6a70d998ec6..707b8c57883e 100644
--- a/ApiDocs.bp
+++ b/ApiDocs.bp
@@ -89,9 +89,9 @@ stubs_defaults {
":updatable-media-srcs",
// No longer part of the stubs, but are included in the docs.
- "test-base/src/**/*.java",
- "test-mock/src/**/*.java",
- "test-runner/src/**/*.java",
+ ":android-test-base-sources",
+ ":android-test-mock-sources",
+ ":android-test-runner-sources",
],
libs: framework_docs_only_libs,
create_doc_stubs: true,