aboutsummaryrefslogtreecommitdiff
path: root/build/properties.go
diff options
context:
space:
mode:
authorJanis Danisevskis <jdanis@google.com>2021-11-09 07:29:40 -0800
committerJanis Danisevskis <jdanis@google.com>2021-11-16 08:12:19 -0800
commit85252b9203d24e20e4ba24337c8e3bcc46168b9f (patch)
treede1f7e326328294fbce4c9a12f49e6d3b797a027 /build/properties.go
parentaab774a23802034e1768da3a5b19ac431bcc8b0f (diff)
downloadaidl-85252b9203d24e20e4ba24337c8e3bcc46168b9f.tar.gz
Add vendor_available property to rust properties.
This patch makes aidl_interface emit a vendor available variant for rust bindings. Test: The vendor variant is emitted and vendor dependencies compile. Bug: 205576981 Change-Id: I70d02b821c4a5a63766e3513d88419d8ca13e620
Diffstat (limited to 'build/properties.go')
-rw-r--r--build/properties.go23
1 files changed, 12 insertions, 11 deletions
diff --git a/build/properties.go b/build/properties.go
index 3a1c2616..a37453a7 100644
--- a/build/properties.go
+++ b/build/properties.go
@@ -88,17 +88,18 @@ type javaProperties struct {
}
type rustProperties struct {
- Name *string
- Crate_name string
- Owner *string
- Defaults []string
- Host_supported *bool
- Srcs []string
- Rustlibs []string
- Stem *string
- Target rustTargetProperties
- Apex_available []string
- Min_sdk_version *string
+ Name *string
+ Crate_name string
+ Owner *string
+ Defaults []string
+ Host_supported *bool
+ Vendor_available *bool
+ Srcs []string
+ Rustlibs []string
+ Stem *string
+ Target rustTargetProperties
+ Apex_available []string
+ Min_sdk_version *string
}
type phonyProperties struct {