summaryrefslogtreecommitdiff
path: root/cc/testing.go
diff options
context:
space:
mode:
author Jose Galmes <jgalmes@google.com> 2020-11-13 12:07:36 -0800
committer Jose Galmes <jgalmes@google.com> 2020-11-16 17:09:36 -0800
commitf729458e69b188d4dcd7273fe78a93cdd944e355 (patch)
treeebbd4d4741be80e33fb1bb664e209505bd30f696 /cc/testing.go
parent9414a8be1237c3b9fba7bba7077390dcf28cedf4 (diff)
Support for recovery snapshot.
Bug: 171231437 Test: source build/envsetup.sh Test: ALLOW_MISSING_DEPENDENCIES=true m -j nothing Change-Id: I6b35fbb0b90ffffa941ea108cbd31a454b2dd403
Diffstat (limited to 'cc/testing.go')
-rw-r--r--cc/testing.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/testing.go b/cc/testing.go
index 388a9ce54..fa2c25c9a 100644
--- a/cc/testing.go
+++ b/cc/testing.go
@@ -563,6 +563,7 @@ func CreateTestContext() *android.TestContext {
RegisterRequiredBuildComponentsForTest(ctx)
ctx.RegisterSingletonType("vndk-snapshot", VndkSnapshotSingleton)
ctx.RegisterSingletonType("vendor-snapshot", VendorSnapshotSingleton)
+ ctx.RegisterSingletonType("recovery-snapshot", RecoverySnapshotSingleton)
return ctx
}