Compile soong_build for debugging if needed.

That is, when SOONG_DELVE= is set.

Test: "m nothing; SOONG_DELVE=port m nothing; m nothing"
Change-Id: I16bd4e54e81b93202573935df134d413feea9bb2
This commit is contained in:
Lukacs T. Berki
2021-03-17 15:03:14 +01:00
parent d7ce8402d8
commit 5f6cb1d6d3
2 changed files with 16 additions and 6 deletions

View File

@@ -72,6 +72,10 @@ func (c Config) NinjaBuildDir() string {
return c.buildDir
}
func (c Config) DebugCompilation() bool {
return false // Never compile Go code in the main build for debugging
}
func (c Config) SrcDir() string {
return c.srcDir
}