summaryrefslogtreecommitdiff
path: root/rust/rust_test.go
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2020-08-21 10:01:58 +0000
committer Ivan Lozano <ivanlozano@google.com> 2020-08-31 14:05:39 -0400
commit588aae727bf352a1512a69c92e0af330977f01d3 (patch)
tree2265b96a7ecb1a59027b7dafe3809cc2097885b6 /rust/rust_test.go
parent682c9d7b2538f8f7f2185296b91abf04835912fc (diff)
Add rust_protobuf module.
This adds a new SourceProvider module type to handle protobuf code generation. See the new test for an example of how to call this. Bug: 143953733 Test: New soong tests pass. Test: Replacing genrules in crosvm with rust_protobuf modules. Change-Id: Ie3117129cde37b8736bc18ee09bf5cde27c01c34
Diffstat (limited to 'rust/rust_test.go')
-rw-r--r--rust/rust_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go
index f1a08a805..89ce35919 100644
--- a/rust/rust_test.go
+++ b/rust/rust_test.go
@@ -62,6 +62,7 @@ func testConfig(bp string) android.Config {
"foo.c": nil,
"src/bar.rs": nil,
"src/any.h": nil,
+ "buf.proto": nil,
"liby.so": nil,
"libz.so": nil,
}