aboutsummaryrefslogtreecommitdiff
path: root/build/properties.go
diff options
context:
space:
mode:
authorDevin Moore <devinmoore@google.com>2023-03-07 23:59:37 +0000
committerDevin Moore <devinmoore@google.com>2023-03-13 15:23:32 +0000
commit5b50f76bda17bfc09860742ddd107d3a1093f3f1 (patch)
tree333f372f09bf96420367310a7a6773539101f6a7 /build/properties.go
parent67ccd5f28eeb2a68f9a5dc1d8f5322865ae67e5d (diff)
downloadaidl-5b50f76bda17bfc09860742ddd107d3a1093f3f1.tar.gz
Generated AIDL rust libs inherit product_available
Test: create emtpy rust_binary importing a rust AIDL lib Bug: 269204477 Change-Id: Idd11e7900c05bdef3180ab671e95e35cd0846ef1
Diffstat (limited to 'build/properties.go')
-rw-r--r--build/properties.go25
1 files changed, 13 insertions, 12 deletions
diff --git a/build/properties.go b/build/properties.go
index 95c925da..8c477929 100644
--- a/build/properties.go
+++ b/build/properties.go
@@ -91,18 +91,19 @@ type javaProperties struct {
}
type rustProperties struct {
- 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
+ Name *string
+ Crate_name string
+ Owner *string
+ Defaults []string
+ Host_supported *bool
+ Vendor_available *bool
+ Product_available *bool
+ Srcs []string
+ Rustlibs []string
+ Stem *string
+ Target rustTargetProperties
+ Apex_available []string
+ Min_sdk_version *string
}
type Bazel_module struct {