Lines Matching refs:g
405 g := &aidlImplementationGenerator{}
406 g.AddProperties(&g.properties)
407 android.InitAndroidModule(g)
408 return g
423 func (g *aidlImplementationGenerator) DepsMutator(ctx android.BottomUpMutatorContext) {
426 func (g *aidlImplementationGenerator) GenerateAndroidBuildActions(ctx android.ModuleContext) {
429 func (g *aidlImplementationGenerator) GenerateImplementation(ctx android.TopDownMutatorContext) {
430 i := lookupInterface(g.properties.AidlInterfaceName, ctx.Config())
431 version := g.properties.Version
432 lang := g.properties.Lang
433 if g.properties.Lang == langJava {
438 if p, ok := g.properties.ModuleProperties[0].(*javaProperties); ok {
441 ctx.CreateModule(java.LibraryFactory, g.properties.ModuleProperties...)
447 if p, ok := g.properties.ModuleProperties[0].(*ccProperties); ok {
451 ctx.CreateModule(cc.LibraryFactory, g.properties.ModuleProperties...)