Dedup cc library module type registration
Test: m checkbuild Bug: 146540677 Change-Id: I6685338550f587212e70f3eba8d4342b66f566e2
This commit is contained in:
@@ -77,8 +77,6 @@ func testSdkContext(bp string, fs map[string][]byte) (*android.TestContext, andr
|
||||
|
||||
// from cc package
|
||||
cc.RegisterRequiredBuildComponentsForTest(ctx)
|
||||
ctx.RegisterModuleType("cc_library_shared", cc.LibrarySharedFactory)
|
||||
ctx.RegisterModuleType("cc_library_static", cc.LibraryStaticFactory)
|
||||
|
||||
// from apex package
|
||||
ctx.RegisterModuleType("apex", apex.BundleFactory)
|
||||
|
Reference in New Issue
Block a user