Dump bazel product config in Soong

Bug: 187862880
Test: build/bazel/ci/bp2build.sh
Test: build/soong/tests/bp2build_bazel_test.sh
Change-Id: I24b09baad973e25bec4476e1ea4a7692b72b7d20
This commit is contained in:
Liz Kammer
2021-05-12 14:51:49 -04:00
parent b1caeb0768
commit 09f947d67e
7 changed files with 54 additions and 15 deletions

View File

@@ -567,7 +567,7 @@ func (p *bazelPaths) intermediatesDir() string {
// Returns the path where the contents of the @soong_injection repository live.
// It is used by Soong to tell Bazel things it cannot over the command line.
func (p *bazelPaths) injectedFilesDir() string {
return filepath.Join(p.buildDir, "soong_injection")
return filepath.Join(p.buildDir, bazel.SoongInjectionDirName)
}
// Returns the path of the synthetic Bazel workspace that contains a symlink