summaryrefslogtreecommitdiff
path: root/rust/compiler.go
diff options
context:
space:
mode:
authorLiz Kammer <eakammer@google.com>2021-04-20 10:15:41 -0400
committerLiz Kammer <eakammer@google.com>2021-04-20 16:06:02 +0000
commiteda9398bbf19a2cccae7e47389c06ab64359749b (patch)
tree40eb1c5f5b8bfb4299ebc7d1be1e1667229284b0 /rust/compiler.go
parent46b938485a393167b7a14c9129562d1ffd3ca9a3 (diff)
Remove unnecessary `android:"path"` tags in rust
Custom_bindgen is handled by adding a relevant dependency tag. Flags and Ld_flags are not paths/references to other modules. Test: go test soong tests Change-Id: Ic6a69521102318b3b9f29b59560bcefbc9aff8fa
Diffstat (limited to 'rust/compiler.go')
-rw-r--r--rust/compiler.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/compiler.go b/rust/compiler.go
index bc034d7cc..1091585d3 100644
--- a/rust/compiler.go
+++ b/rust/compiler.go
@@ -77,10 +77,10 @@ type BaseCompilerProperties struct {
Lints *string
// flags to pass to rustc. To enable configuration options or features, use the "cfgs" or "features" properties.
- Flags []string `android:"path,arch_variant"`
+ Flags []string `android:"arch_variant"`
// flags to pass to the linker
- Ld_flags []string `android:"path,arch_variant"`
+ Ld_flags []string `android:"arch_variant"`
// list of rust rlib crate dependencies
Rlibs []string `android:"arch_variant"`