Merge "Revert^2 "rustSetToolchainSource to use linux-x86 srcs"" into main am: 0dfd62a391
am: 5e02a1e1b7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2761811 Change-Id: Id8c5a23c40299fc7775e6c68c8a4f2f258a20598 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
1911204a5b
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ func initToolchainLibrary(module *Module, library *libraryDecorator) android.Mod
|
|||
|
||||
func rustSetToolchainSource(ctx android.LoadHookContext) {
|
||||
if toolchainLib, ok := ctx.Module().(*Module).compiler.(*toolchainLibraryDecorator); ok {
|
||||
prefix := filepath.Join(config.HostPrebuiltTag(ctx.Config()), GetRustPrebuiltVersion(ctx))
|
||||
prefix := filepath.Join("linux-x86", GetRustPrebuiltVersion(ctx))
|
||||
versionedCrateRoot := path.Join(prefix, android.String(toolchainLib.Properties.Toolchain_crate_root))
|
||||
versionedSrcs := make([]string, len(toolchainLib.Properties.Toolchain_srcs))
|
||||
for i, src := range toolchainLib.Properties.Toolchain_srcs {
|
||||
|
|
Loading…
Reference in a new issue