Add apex_test for mixed builds

Test: go test soong tests
Change-Id: I33327e1fe7d6a4bbf32890d9fbd5453c28a9c5b1
This commit is contained in:
Liz Kammer
2022-11-04 16:07:04 -04:00
parent c639059fd8
commit 0e255ef6e6
3 changed files with 70 additions and 1 deletions

View File

@@ -250,7 +250,8 @@ func (m MockBazelContext) GetPythonBinary(label string, _ configKey) (string, er
}
func (m MockBazelContext) GetApexInfo(label string, _ configKey) (cquery.ApexInfo, error) {
panic("unimplemented")
result, _ := m.LabelToApexInfo[label]
return result, nil
}
func (m MockBazelContext) GetCcUnstrippedInfo(label string, _ configKey) (cquery.CcUnstrippedInfo, error) {