Always build mk2rbc/rbcrun
Currently, mk2rbc/rbcrun aren't built in certain phases of the build, which causes the Starlark product configuration to fail when using get_build_var if a regular build hasn't been run before. Bug: 226677850 Test: Manually Change-Id: If85608eef63be25fddc4d916c82247c13eb0195f
This commit is contained in:
@@ -262,12 +262,6 @@ func runMakeProductConfig(ctx Context, config Config) {
|
||||
"BUILD_BROKEN_USES_BUILD_STATIC_LIBRARY",
|
||||
}, exportEnvVars...), BannerVars...)
|
||||
|
||||
// We need Roboleaf converter and runner in the mixed mode
|
||||
runMicrofactory(ctx, config, "mk2rbc", "android/soong/mk2rbc/cmd",
|
||||
map[string]string{"android/soong": "build/soong"})
|
||||
runMicrofactory(ctx, config, "rbcrun", "rbcrun/cmd",
|
||||
map[string]string{"go.starlark.net": "external/starlark-go", "rbcrun": "build/make/tools/rbcrun"})
|
||||
|
||||
makeVars, err := dumpMakeVars(ctx, config, config.Arguments(), allVars, true, "")
|
||||
if err != nil {
|
||||
ctx.Fatalln("Error dumping make vars:", err)
|
||||
|
Reference in New Issue
Block a user