summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Jakub Kotur <qtr@google.com> 2021-01-06 12:40:43 +0100
committer Jakub Kotur <qtr@google.com> 2021-04-06 12:40:32 +0200
commit1d640d0521c7b266bb4b44726305ba2b9971f01d (patch)
tree940c8823c1fc93f4e2186824cb5e32934e9e95c8 /rust/rust.go
parent8f8029a92b35166e745789b114051d04e68e2ce6 (diff)
Add rust_benchmark module to soong.
This commit adds rust_benchmark and rust_benchmark_host commands to soong. Respectively running rust benchmarks on device and host. Currently only criterion based benchmarks are supported and criterion library is automatically linked. Test: atest <module with rust_benchmark defined> Bug: 155309706 Change-Id: I6edfc2b4bf30b1163fe59b8c2ecdcd4e7125e7b9
Diffstat (limited to 'rust/rust.go')
-rw-r--r--rust/rust.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go
index f0d0e361c..fa54b1b32 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -429,6 +429,7 @@ func DefaultsFactory(props ...interface{}) android.Module {
module.AddProperties(
&BaseProperties{},
&cc.VendorProperties{},
+ &BenchmarkProperties{},
&BindgenProperties{},
&BaseCompilerProperties{},
&BinaryCompilerProperties{},