Build build_flags.json in soong

Define release_flags_json module type to install build_flags.json in
'etc'. release_flags_json reads the json files generated from the
soong release-config command.

Bug: 324996303
Test: build and see if the files are installed
Change-Id: I8cdcb7c61dd75cc54e4912d2ed7d1687f424151c
This commit is contained in:
Justin Yun
2024-05-22 20:35:20 +09:00
parent c15b0234e9
commit 5f53869dfe
5 changed files with 78 additions and 3 deletions

View File

@@ -69,6 +69,7 @@ var (
func init() {
RegisterBuildComponents(android.InitRegistrationContext)
pctx.Import("android/soong/android")
pctx.HostBinToolVariable("buildFlagDeclarations", "build-flag-declarations")
}