Remove --ignore-classes-on-classpath argument

This argument doesn't appear to alter the output.

Bug: 186197911
Test: diff metadata.zip, stubs.srcjar, annotations.zip before and after
Change-Id: I5147cf1f0658c78e5ab24952285c8fc1c036a55d
This commit is contained in:
Anton Hansson 2021-05-05 11:11:57 +01:00
parent 0f6542d422
commit 26c843fd12

View File

@ -99,9 +99,7 @@ droidstubs {
arg_files: [
"core/res/AndroidManifest.xml",
],
args: metalava_framework_docs_args +
// Needed for hidden libcore annotations for now.
" --ignore-classes-on-classpath ",
args: metalava_framework_docs_args,
write_sdk_values: true,
}
@ -112,8 +110,6 @@ droidstubs {
"core/res/AndroidManifest.xml",
],
args: metalava_framework_docs_args +
// Needed for hidden libcore annotations for now.
" --ignore-classes-on-classpath " +
" --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) ",
write_sdk_values: true,
}