Merge "Inline board configuration call into printvars call" am: 6028b556ec
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2002772 Change-Id: Iad8b3da5691dea461d5029afa41616d3a7ed4a9d
This commit is contained in:
commit
60b02a09a5
1 changed files with 1 additions and 3 deletions
|
@ -1870,9 +1870,7 @@ func BoardLauncher(mainModuleUri string, inputVariablesUri string) string {
|
|||
fmt.Fprintf(&buf, "load(%q, %q)\n", baseUri, baseName)
|
||||
fmt.Fprintf(&buf, "load(%q, \"init\")\n", mainModuleUri)
|
||||
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, cfg, globals_base))\n", cfnPrintVars)
|
||||
fmt.Fprintf(&buf, "%s(%s(init, input_variables_init))\n", cfnPrintVars, cfnBoardMain)
|
||||
return buf.String()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue