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:
@@ -59,7 +59,7 @@ function soong_build_go
|
||||
BUILDDIR=$(getoutdir) \
|
||||
SRCDIR=${TOP} \
|
||||
BLUEPRINTDIR=${TOP}/build/blueprint \
|
||||
EXTRA_ARGS="-pkg-path android/soong=${TOP}/build/soong -pkg-path google.golang.org/protobuf=${TOP}/external/golang-protobuf" \
|
||||
EXTRA_ARGS="-pkg-path android/soong=${TOP}/build/soong -pkg-path rbcrun=${TOP}/build/make/tools/rbcrun -pkg-path google.golang.org/protobuf=${TOP}/external/golang-protobuf -pkg-path go.starlark.net=${TOP}/external/starlark-go" \
|
||||
build_go $@
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user