Lines Matching refs:android
26 var pctx = android.NewPackageContext("android/soong/suite_harness")
29 android.RegisterModuleType("tradefed_binary_host", tradefedBinaryFactory)
42 func tradefedBinaryFactory() android.Module {
46 android.AddLoadHook(module, tradefedBinaryLoadHook(props))
54 func tradefedBinaryLoadHook(tfb *TradefedBinaryProperties) func(ctx android.LoadHookContext) {
55 return func(ctx android.LoadHookContext) {
60 ctx.CreateModule(android.ModuleFactoryAdaptor(tradefedBinaryGenFactory),
97 android.ModuleBase
101 gen android.Paths
104 func tradefedBinaryGenFactory() android.Module {
107 android.InitAndroidModule(tfg)
111 func (tfg *tradefedBinaryGen) DepsMutator(android.BottomUpMutatorContext) {}
123 func (tfg *tradefedBinaryGen) GenerateAndroidBuildActions(ctx android.ModuleContext) {
124 outputFile := android.PathForModuleOut(ctx, "test-suite-info.properties")
125 ctx.Build(pctx, android.BuildParams{
139 dynamicConfig := android.ExistentPathForSource(ctx, ctx.ModuleDir(), "DynamicConfig.xml")
141 …outputFile := android.PathForModuleOut(ctx, strings.TrimSuffix(ctx.ModuleName(), genSuffix)+".dyna…
142 ctx.Build(pctx, android.BuildParams{
143 Rule: android.Cp,
152 func (tfg *tradefedBinaryGen) Srcs() android.Paths {
153 return append(android.Paths(nil), tfg.gen...)
156 var _ android.SourceFileProducer = (*tradefedBinaryGen)(nil)