summaryrefslogtreecommitdiff
path: root/rust/testing.go
diff options
context:
space:
mode:
authorThiƩbaud Weksteen <tweek@google.com>2021-04-15 18:46:32 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-04-15 18:46:32 +0000
commit45c647d4dc47ac091f73826c0282b97be202ed84 (patch)
tree11648a3d3c1cefb68c470c8c81b0ec974864b81f /rust/testing.go
parent9e7cea2c0bbe6694ad32fd8e5784c7009f2080a5 (diff)
parente4dd14b25fe65b2fc6a5a2fb51d3647f1d455890 (diff)
Merge changes I59439b77,I7dbaf8be
* changes: bloaty: measure stripped Rust binaries rust: do not strip static library
Diffstat (limited to 'rust/testing.go')
-rw-r--r--rust/testing.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/testing.go b/rust/testing.go
index 2dda9c144..a0f86b220 100644
--- a/rust/testing.go
+++ b/rust/testing.go
@@ -16,6 +16,7 @@ package rust
import (
"android/soong/android"
+ "android/soong/bloaty"
"android/soong/cc"
)
@@ -34,6 +35,7 @@ const rustDefaultsDir = "defaults/rust/"
// Preparer that will define default rust modules, e.g. standard prebuilt modules.
var PrepareForTestWithRustDefaultModules = android.GroupFixturePreparers(
cc.PrepareForTestWithCcDefaultModules,
+ bloaty.PrepareForTestWithBloatyDefaultModules,
PrepareForTestWithRustBuildComponents,
android.FixtureAddTextFile(rustDefaultsDir+"Android.bp", GatherRequiredDepsForTest()),
)