Add prebuilts/ to microfactory includes
This allows go sources under subdirectories of prebuilts/ to be referencable by soong_ui and soong_build. Without this change, microfactory does not correctly include go libraries under prebuilts. Test: Conjunction with aosp/2260126 Change-Id: I4cba6fb04d1e274af759fa92f9ae4b2e3ea18447
This commit is contained in:
parent
f1e6126cb0
commit
4d0b4df833
1 changed files with 1 additions and 1 deletions
|
@ -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 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" \
|
||||
EXTRA_ARGS="-pkg-path android/soong=${TOP}/build/soong -pkg-path prebuilts/bazel/common/proto=${TOP}/prebuilts/bazel/common/proto -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 $@
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue