Lines Matching refs:sm
81 func InitAndroidSingletonModule(sm SingletonModule) {
82 InitAndroidModule(sm)
99 var sm SingletonModule
101 sm = factory()
102 return &singletonModuleSingletonAdaptor{sm}
105 if sm == nil {
112 AddLoadHook(sm, func(ctx LoadHookContext) {
113 smb := sm.singletonModuleBase()
121 return sm
129 sm SingletonModule member
135 if smsa.sm.singletonModuleBase().bp != "" {
136 smsa.sm.GenerateSingletonBuildActions(ctx)
141 if smsa.sm.singletonModuleBase().bp != "" {
142 if makeVars, ok := smsa.sm.(SingletonMakeVarsProvider); ok {