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
diff --git a/android/config.go b/android/config.go
index f4685a1..043cbca 100644
--- a/android/config.go
+++ b/android/config.go
@@ -72,6 +72,10 @@
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
}