summaryrefslogtreecommitdiff
path: root/JavaLibrary.bp
diff options
context:
space:
mode:
Diffstat (limited to 'JavaLibrary.bp')
-rw-r--r--JavaLibrary.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/JavaLibrary.bp b/JavaLibrary.bp
index 6c2640c368..8278e6d8f3 100644
--- a/JavaLibrary.bp
+++ b/JavaLibrary.bp
@@ -659,6 +659,9 @@ droidstubs {
// N.B. Stubs in this filegroup will be validated:
"ojluni-annotated-nullability-stubs",
],
+ // The list of classes which have nullability annotations included in the source.
+ // (This is in addition to those which have annotations in the merged stubs.)
+ validate_nullability_from_list: "nullability_annotated_classes.txt",
// The expected set of warnings about missing annotations:
check_nullability_warnings: "nullability_warnings.txt",
}