From c888460e5db3049cf5196ccdf2f953d5c9aad9ad Mon Sep 17 00:00:00 2001 From: Yu Liu Date: Fri, 15 Mar 2024 18:48:38 +0000 Subject: Support rust in aconfig mode validation. Bug: 323071835 Test: Unit tests Change-Id: I6de2a6fe1618e21c9aab728e6d77c6b0c6ce33df --- rust/rust.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rust/rust.go') diff --git a/rust/rust.go b/rust/rust.go index 245ed2e8e..668dd8f08 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -1063,6 +1063,12 @@ func (d dependencyTag) LicenseAnnotations() []android.LicenseAnnotation { return nil } +func (d dependencyTag) PropagateAconfigValidation() bool { + return d == rlibDepTag || d == sourceDepTag +} + +var _ android.PropagateAconfigValidationDependencyTag = dependencyTag{} + var _ android.LicenseAnnotationsDependencyTag = dependencyTag{} var ( -- cgit v1.2.3-59-g8ed1b