gen_parsers_and_formatters.rs is no longer generated.
Bug: 270547306 Test: m out/soong/.intermediates/system/libsysprop/srcs/platformproperties_rust_gen/gen/ApkVerityProperties/src/lib.rs Change-Id: I9d8ead1a7c846d7bfcdafcd68f44763364dae368
This commit is contained in:
parent
2b8928444d
commit
d3f500da5b
1 changed files with 2 additions and 3 deletions
|
@ -157,12 +157,11 @@ func (g *syspropRustGenRule) GenerateAndroidBuildActions(ctx android.ModuleConte
|
||||||
syspropDir := android.GenPathWithExt(ctx, "sysprop", syspropFile, "srcrust")
|
syspropDir := android.GenPathWithExt(ctx, "sysprop", syspropFile, "srcrust")
|
||||||
outputDir := syspropDir.Join(ctx, "src")
|
outputDir := syspropDir.Join(ctx, "src")
|
||||||
libPath := syspropDir.Join(ctx, "src", "lib.rs")
|
libPath := syspropDir.Join(ctx, "src", "lib.rs")
|
||||||
parsersPath := syspropDir.Join(ctx, "src", "gen_parsers_and_formatters.rs")
|
|
||||||
|
|
||||||
ctx.Build(pctx, android.BuildParams{
|
ctx.Build(pctx, android.BuildParams{
|
||||||
Rule: syspropRust,
|
Rule: syspropRust,
|
||||||
Description: "sysprop_rust " + syspropFile.Rel(),
|
Description: "sysprop_rust " + syspropFile.Rel(),
|
||||||
Outputs: android.WritablePaths{libPath, parsersPath},
|
Outputs: android.WritablePaths{libPath},
|
||||||
Input: syspropFile,
|
Input: syspropFile,
|
||||||
Implicit: checkApiFileTimeStamp,
|
Implicit: checkApiFileTimeStamp,
|
||||||
Args: map[string]string{
|
Args: map[string]string{
|
||||||
|
@ -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…
Reference in a new issue