Merge "Set OUT_DIR=out with no src_deps." am: d61ea3580d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2518975 Change-Id: Iec20dffdd5b00d2f6d1d2aebca78bce45601f495 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -208,6 +208,9 @@ func rustEnvVars(ctx ModuleContext, deps PathDeps) []string {
|
||||
outDirPrefix = ""
|
||||
}
|
||||
envVars = append(envVars, "OUT_DIR="+filepath.Join(outDirPrefix, moduleGenDir.String()))
|
||||
} else {
|
||||
// TODO(pcc): Change this to "OUT_DIR=" after fixing crates to not rely on this value.
|
||||
envVars = append(envVars, "OUT_DIR=out")
|
||||
}
|
||||
|
||||
return envVars
|
||||
|
Reference in New Issue
Block a user