Merge "Print product vars in board config launcher" am: b3b28012b9

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1899999

Change-Id: I9a8b2bf84c587a7de96a43201d52b8338a1becef
This commit is contained in:
Cole Faust
2021-11-23 21:04:06 +00:00
committed by Automerger Merge Worker

View File

@@ -1711,7 +1711,7 @@ func BoardLauncher(mainModuleUri string, inputVariablesUri string) string {
fmt.Fprintf(&buf, "load(%q, input_variables_init = \"init\")\n", inputVariablesUri)
fmt.Fprintf(&buf, "globals, cfg, globals_base = %s(init, input_variables_init)\n", cfnBoardMain)
fmt.Fprintf(&buf, "# TODO: Some product config variables need to be printed, but most are readonly so we can't just print cfg here.\n")
fmt.Fprintf(&buf, "%s(globals, globals_base)\n", cfnPrintGlobals)
fmt.Fprintf(&buf, "%s((globals, cfg, globals_base))\n", cfnPrintVars)
return buf.String()
}