Revert "Revert "Revert^2 "Set output for build_prop even on Soon..."

Revert submission 3200273-revert-3196490-revert-3195812-revert-3195644-revert-3195637-revert-3184480-system_build_prop_soong-BZIDUTEOOC-KRUETCBWUR-TUHZPHUVFJ-XYILSUPUOA-PCKYAVELZP

Reason for revert: fixed breakage with aosp/3200730, verified with ABTD

Reverted changes: /q/submissionid:3200273-revert-3196490-revert-3195812-revert-3195644-revert-3195637-revert-3184480-system_build_prop_soong-BZIDUTEOOC-KRUETCBWUR-TUHZPHUVFJ-XYILSUPUOA-PCKYAVELZP

Change-Id: If9e6841bb915a79d9817838a1657017ddee9c1a7
This commit is contained in:
Inseob Kim 2024-07-31 02:00:41 +00:00 committed by Bartłomiej Rudecki
parent fb75ec2011
commit 262fa746b8
Signed by: przekichane
GPG key ID: 751F23C6F014EF76

View file

@ -60,6 +60,7 @@ func (p *buildPropModule) GenerateAndroidBuildActions(ctx ModuleContext) {
p.outputFilePath = PathForModuleOut(ctx, "build.prop").OutputPath
if !ctx.Config().KatiEnabled() {
WriteFileRule(ctx, p.outputFilePath, "# no build.prop if kati is disabled")
ctx.SetOutputFiles(Paths{p.outputFilePath}, "")
return
}