summaryrefslogtreecommitdiff
path: root/rust/testing.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-11-18 16:00:16 -0800
committerColin Cross <ccross@android.com>2019-11-20 15:21:32 -0800
commit7228ecd5e3c9282e7e6f4a81d81fd333cb08eaff (patch)
treeb08a1652d573a01819c7937ad22659429f50578f /rust/testing.go
parent43b92e0d0f477e2ae9f3c3e07696e2d1760b7d84 (diff)
Move cc.imageMutator into the android package
Prepare for making the image mutator available to all modules and moving it between the os and arch mutators by moving it into the android package and using an interface implemented by the module types to control it. Bug: 142286466 Test: No unexpected changes to out/soong/build.ninja Change-Id: I0dcc9c7b5ec80edffade340c367f6ae4da34151b
Diffstat (limited to 'rust/testing.go')
-rw-r--r--rust/testing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/testing.go b/rust/testing.go
index 24defa634..fcd9806b5 100644
--- a/rust/testing.go
+++ b/rust/testing.go
@@ -185,7 +185,7 @@ func CreateTestContext(bp string) *android.TestContext {
ctx.RegisterModuleType("toolchain_library", android.ModuleFactoryAdaptor(cc.ToolchainLibraryFactory))
ctx.PreDepsMutators(func(ctx android.RegisterMutatorsContext) {
// cc mutators
- ctx.BottomUp("image", cc.ImageMutator).Parallel()
+ ctx.BottomUp("image", android.ImageMutator).Parallel()
ctx.BottomUp("link", cc.LinkageMutator).Parallel()
ctx.BottomUp("version", cc.VersionMutator).Parallel()
ctx.BottomUp("begin", cc.BeginMutator).Parallel()