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

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

Change-Id: I7c0466cf3d02efd66f7e65d5cc5bc0f42827a7a9
This commit is contained in:
Cole Faust
2021-11-23 21:22:21 +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()
}