Lines Matching refs:g
91 func (g *syspropJavaGenRule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
101 for _, syspropFile := range android.PathsForModuleSrc(ctx, g.properties.Srcs) {
111 "scope": g.properties.Scope,
121 func (g *syspropJavaGenRule) DepsMutator(ctx android.BottomUpMutatorContext) {
124 ctx.AddFarVariationDependencies(nil, nil, proptools.String(g.properties.Check_api))
128 g := &syspropJavaGenRule{}
129 g.AddProperties(&g.properties)
130 android.InitAndroidModule(g)
131 return g
136 func (g *syspropRustGenRule) GenerateSource(ctx rust.ModuleContext, deps rust.PathDeps) android.Pat…
147 g.BaseSourceProvider.OutputFiles = append(g.BaseSourceProvider.OutputFiles, libFile)
150 for _, syspropFile := range android.PathsForModuleSrc(ctx, g.properties.Sysprop_srcs) {
162 "scope": g.properties.Scope,
167 g.BaseSourceProvider.OutputFiles = append(g.BaseSourceProvider.OutputFiles, modulePath)
177 func (g *syspropRustGenRule) SourceProviderProps() []interface{} {
178 return append(g.BaseSourceProvider.SourceProviderProps(), &g.Properties)
188 func (g *syspropRustGenRule) DepsMutator(ctx android.BottomUpMutatorContext) {
191 ctx.AddFarVariationDependencies(nil, nil, proptools.String(g.properties.Check_api))
195 g := &syspropRustGenRule{
198 sourceProvider := rust.NewSourceProviderModule(android.DeviceSupported, g, false, false)
199 sourceProvider.AddProperties(&g.properties)