Merge "Make PrebuiltEtcHostFactory public."
This commit is contained in:
commit
0dcfee56b8
|
@ -25,7 +25,7 @@ import (
|
|||
|
||||
func init() {
|
||||
RegisterModuleType("prebuilt_etc", PrebuiltEtcFactory)
|
||||
RegisterModuleType("prebuilt_etc_host", prebuiltEtcHostFactory)
|
||||
RegisterModuleType("prebuilt_etc_host", PrebuiltEtcHostFactory)
|
||||
|
||||
PreDepsMutators(func(ctx RegisterMutatorsContext) {
|
||||
ctx.BottomUp("prebuilt_etc", prebuiltEtcMutator).Parallel()
|
||||
|
@ -182,7 +182,7 @@ func PrebuiltEtcFactory() Module {
|
|||
return module
|
||||
}
|
||||
|
||||
func prebuiltEtcHostFactory() Module {
|
||||
func PrebuiltEtcHostFactory() Module {
|
||||
module := &PrebuiltEtc{}
|
||||
InitPrebuiltEtcModule(module)
|
||||
// This module is host-only
|
||||
|
|
|
@ -28,7 +28,7 @@ func testPrebuiltEtc(t *testing.T, bp string) *TestContext {
|
|||
defer tearDown(buildDir)
|
||||
ctx := NewTestArchContext()
|
||||
ctx.RegisterModuleType("prebuilt_etc", ModuleFactoryAdaptor(PrebuiltEtcFactory))
|
||||
ctx.RegisterModuleType("prebuilt_etc_host", ModuleFactoryAdaptor(prebuiltEtcHostFactory))
|
||||
ctx.RegisterModuleType("prebuilt_etc_host", ModuleFactoryAdaptor(PrebuiltEtcHostFactory))
|
||||
ctx.PreDepsMutators(func(ctx RegisterMutatorsContext) {
|
||||
ctx.BottomUp("prebuilt_etc", prebuiltEtcMutator).Parallel()
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue