summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-03-18 20:49:35 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-03-18 20:49:35 +0000
commit73cf0e87b44f79a35d88bd4030c03d2b0240b598 (patch)
treebd91469a763470186f148d3d1af773027452b355 /rust/rust.go
parentc36d579c2bb0d59e5b9455affbd46519b73ce8cd (diff)
parentc888460e5db3049cf5196ccdf2f953d5c9aad9ad (diff)
Merge "Support rust in aconfig mode validation." into main
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 (