Export cc library factories.
Previously not useful, they are required to use CreateModule to create additional libraries. Bug: 35570956 Test: manual :) Change-Id: Ibb6b1c0d365512fce8969e1e6237ebbed0bc9cdc
This commit is contained in:
@@ -43,7 +43,7 @@ func testCc(t *testing.T, bp string) *android.TestContext {
|
||||
config.ProductVariables.DeviceVndkVersion = proptools.StringPtr("current")
|
||||
|
||||
ctx := android.NewTestArchContext()
|
||||
ctx.RegisterModuleType("cc_library", android.ModuleFactoryAdaptor(libraryFactory))
|
||||
ctx.RegisterModuleType("cc_library", android.ModuleFactoryAdaptor(LibraryFactory))
|
||||
ctx.RegisterModuleType("toolchain_library", android.ModuleFactoryAdaptor(toolchainLibraryFactory))
|
||||
ctx.RegisterModuleType("llndk_library", android.ModuleFactoryAdaptor(llndkLibraryFactory))
|
||||
ctx.RegisterModuleType("cc_object", android.ModuleFactoryAdaptor(objectFactory))
|
||||
|
Reference in New Issue
Block a user