diff options
| author | 2020-12-01 09:25:22 -0500 | |
|---|---|---|
| committer | 2020-12-10 15:35:05 -0500 | |
| commit | 9d74a527062d6ffac1ce6fe5c8c2280d1d16332b (patch) | |
| tree | e07af99f569c60740e35470328b635aaecf3c86a /rust/rust.go | |
| parent | 110d13bef3bd302a22facf16677a9ee893a0486c (diff) | |
Rust: WriteFileRule instead of printf for protos
Use WriteFileRule instead of a rule that calls printf for generating the
module source file for rust_protobuf.
Bug: 171361369
Test: rust_protobuf modules compile
Change-Id: Ie83a30e19d7d09875f3d209662526783862d8ea0
Diffstat (limited to 'rust/rust.go')
| -rw-r--r-- | rust/rust.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/rust.go b/rust/rust.go index 38caad373..6cbcd7dc0 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -260,7 +260,8 @@ type PathDeps struct { CrtEnd android.OptionalPath // Paths to generated source files - SrcDeps android.Paths + SrcDeps android.Paths + srcProviderFiles android.Paths } type RustLibraries []RustLibrary |