Loading sysprop/sysprop_library.go +2 −3 Original line number Diff line number Diff line Loading @@ -157,12 +157,11 @@ func (g *syspropRustGenRule) GenerateAndroidBuildActions(ctx android.ModuleConte syspropDir := android.GenPathWithExt(ctx, "sysprop", syspropFile, "srcrust") outputDir := syspropDir.Join(ctx, "src") libPath := syspropDir.Join(ctx, "src", "lib.rs") parsersPath := syspropDir.Join(ctx, "src", "gen_parsers_and_formatters.rs") ctx.Build(pctx, android.BuildParams{ Rule: syspropRust, Description: "sysprop_rust " + syspropFile.Rel(), Outputs: android.WritablePaths{libPath, parsersPath}, Outputs: android.WritablePaths{libPath}, Input: syspropFile, Implicit: checkApiFileTimeStamp, Args: map[string]string{ Loading @@ -171,7 +170,7 @@ func (g *syspropRustGenRule) GenerateAndroidBuildActions(ctx android.ModuleConte }, }) g.genSrcs = append(g.genSrcs, libPath, parsersPath) g.genSrcs = append(g.genSrcs, libPath) } } Loading Loading
sysprop/sysprop_library.go +2 −3 Original line number Diff line number Diff line Loading @@ -157,12 +157,11 @@ func (g *syspropRustGenRule) GenerateAndroidBuildActions(ctx android.ModuleConte syspropDir := android.GenPathWithExt(ctx, "sysprop", syspropFile, "srcrust") outputDir := syspropDir.Join(ctx, "src") libPath := syspropDir.Join(ctx, "src", "lib.rs") parsersPath := syspropDir.Join(ctx, "src", "gen_parsers_and_formatters.rs") ctx.Build(pctx, android.BuildParams{ Rule: syspropRust, Description: "sysprop_rust " + syspropFile.Rel(), Outputs: android.WritablePaths{libPath, parsersPath}, Outputs: android.WritablePaths{libPath}, Input: syspropFile, Implicit: checkApiFileTimeStamp, Args: map[string]string{ Loading @@ -171,7 +170,7 @@ func (g *syspropRustGenRule) GenerateAndroidBuildActions(ctx android.ModuleConte }, }) g.genSrcs = append(g.genSrcs, libPath, parsersPath) g.genSrcs = append(g.genSrcs, libPath) } } Loading