Merge "Add environment variable BUILD_FROM_SOURCE_STUB" into main am: 37d679df33
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2831230 Change-Id: I6562f7e2aa48f6eac0e96b5576e6da8337e08fa1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2079,7 +2079,7 @@ func (c *config) BuildFromTextStub() bool {
|
||||
// TODO: b/302320354 - Remove the coverage build specific logic once the
|
||||
// robust solution for handling native properties in from-text stub build
|
||||
// is implemented.
|
||||
return !c.buildFromSourceStub && !c.JavaCoverageEnabled()
|
||||
return !c.buildFromSourceStub && !c.JavaCoverageEnabled() && !c.IsEnvTrue("BUILD_FROM_SOURCE_STUB")
|
||||
}
|
||||
|
||||
func (c *config) SetBuildFromTextStub(b bool) {
|
||||
|
Reference in New Issue
Block a user