diff options
Diffstat (limited to 'cc/testing.go')
-rw-r--r-- | cc/testing.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/testing.go b/cc/testing.go index 4d0b28b7f..c2353d8e6 100644 --- a/cc/testing.go +++ b/cc/testing.go @@ -20,8 +20,6 @@ import ( func RegisterRequiredBuildComponentsForTest(ctx android.RegistrationContext) { RegisterPrebuiltBuildComponents(ctx) - android.RegisterPrebuiltMutators(ctx) - RegisterCCBuildComponents(ctx) RegisterBinaryBuildComponents(ctx) RegisterLibraryBuildComponents(ctx) @@ -570,6 +568,7 @@ func CreateTestContext() *android.TestContext { ctx.RegisterModuleType("vndk_prebuilt_shared", VndkPrebuiltSharedFactory) ctx.RegisterModuleType("vndk_libraries_txt", VndkLibrariesTxtFactory) ctx.PreArchMutators(android.RegisterDefaultsPreArchMutators) + android.RegisterPrebuiltMutators(ctx) RegisterRequiredBuildComponentsForTest(ctx) ctx.RegisterSingletonType("vndk-snapshot", VndkSnapshotSingleton) ctx.RegisterSingletonType("vendor-snapshot", VendorSnapshotSingleton) |