Migrate buildinfo.sh script into Soong

To build system.img in Soong, we need all artifacts including
build.prop. This fully migrates buildinfo.prop file into Soong as a
first step to build build.prop on Soong.

Bug: 322090587
Test: compare build.prop before and after
Test: build multiple times and see build.prop isn't rebuilt
Change-Id: Icaa7e1fdab2a8c169ac00949d3aaf6c8212a1872
This commit is contained in:
Inseob Kim
2024-03-19 16:48:59 +09:00
parent 9dcc3676a9
commit 5baf2cbcb6
7 changed files with 341 additions and 89 deletions

View File

@@ -305,3 +305,14 @@ python_binary_host {
},
},
}
python_binary_host {
name: "buildinfo",
main: "buildinfo.py",
srcs: ["buildinfo.py"],
version: {
py3: {
embedded_launcher: true,
},
},
}