Merge "Rename BuildDir and NinjaBuildDir." am: 5602d33025
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1810356 Change-Id: I6af3316fb122af7a05b71de7f9cd371746bb5f21
This commit is contained in:
@@ -1737,7 +1737,7 @@ func TestPackageNameOverride(t *testing.T) {
|
||||
|
||||
foo := result.ModuleForTests("foo", "android_common")
|
||||
|
||||
outSoongDir := result.Config.BuildDir()
|
||||
outSoongDir := result.Config.SoongOutDir()
|
||||
|
||||
outputs := foo.AllOutputs()
|
||||
outputMap := make(map[string]bool)
|
||||
|
@@ -791,7 +791,7 @@ func (j *Module) collectJavacFlags(
|
||||
// Manually specify build directory in case it is not under the repo root.
|
||||
// (javac doesn't seem to expand into symbolic links when searching for patch-module targets, so
|
||||
// just adding a symlink under the root doesn't help.)
|
||||
patchPaths := []string{".", ctx.Config().BuildDir()}
|
||||
patchPaths := []string{".", ctx.Config().SoongOutDir()}
|
||||
|
||||
// b/150878007
|
||||
//
|
||||
|
@@ -1183,7 +1183,7 @@ func checkPatchModuleFlag(t *testing.T, ctx *android.TestContext, moduleName str
|
||||
break
|
||||
}
|
||||
}
|
||||
if expected != android.StringPathRelativeToTop(ctx.Config().BuildDir(), got) {
|
||||
if expected != android.StringPathRelativeToTop(ctx.Config().SoongOutDir(), got) {
|
||||
t.Errorf("Unexpected patch-module flag for module %q - expected %q, but got %q", moduleName, expected, got)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user