summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-03-15 18:48:38 +0000
committer Yu Liu <yudiliu@google.com> 2024-03-15 18:48:38 +0000
commitc888460e5db3049cf5196ccdf2f953d5c9aad9ad (patch)
tree016d4183dffb9479e4b99e217fcf4c8c405f3b23 /rust/rust.go
parentb9ae285b5578bceb9c35367620a3782c3a0ad911 (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.go6
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 (