Build mk2rbc and rbcrun during bootstrap
Bug: 172923994 Test: treehugger Change-Id: I6b552b40eecbaedd17b39ed5d00ca2a0b0772c81
This commit is contained in:
@@ -261,6 +261,12 @@ 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, ".bootstrap/bin/mk2rbc", "android/soong/mk2rbc/cmd",
|
||||
map[string]string{"android/soong": "build/soong"})
|
||||
runMicrofactory(ctx, config, ".bootstrap/bin/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