Dedup cc library module type registration
Test: m checkbuild Bug: 146540677 Change-Id: I6685338550f587212e70f3eba8d4342b66f566e2
This commit is contained in:
@@ -66,8 +66,6 @@ func testContext(config android.Config) *android.TestContext {
|
||||
})
|
||||
|
||||
cc.RegisterRequiredBuildComponentsForTest(ctx)
|
||||
ctx.RegisterModuleType("cc_library_headers", cc.LibraryHeaderFactory)
|
||||
ctx.RegisterModuleType("cc_library_static", cc.LibraryFactory)
|
||||
ctx.PreDepsMutators(func(ctx android.RegisterMutatorsContext) {
|
||||
ctx.BottomUp("sysprop_java", java.SyspropMutator).Parallel()
|
||||
})
|
||||
|
Reference in New Issue
Block a user