diff options
author | 2024-03-15 18:48:38 +0000 | |
---|---|---|
committer | 2024-03-15 18:48:38 +0000 | |
commit | c888460e5db3049cf5196ccdf2f953d5c9aad9ad (patch) | |
tree | 016d4183dffb9479e4b99e217fcf4c8c405f3b23 /rust/rust.go | |
parent | b9ae285b5578bceb9c35367620a3782c3a0ad911 (diff) |
Support rust in aconfig mode validation.
Bug: 323071835
Test: Unit tests
Change-Id: I6de2a6fe1618e21c9aab728e6d77c6b0c6ce33df
Diffstat (limited to 'rust/rust.go')
-rw-r--r-- | rust/rust.go | 6 |
1 files changed, 6 insertions, 0 deletions
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 ( |