summaryrefslogtreecommitdiff
path: root/android/testing.go
diff options
context:
space:
mode:
author Sam Delmerico <delmerico@google.com> 2023-01-19 15:36:52 -0500
committer Sam Delmerico <delmerico@google.com> 2023-01-25 15:14:03 -0500
commit4e115cc90de936fd68ce162c847370df5fb5021c (patch)
tree6cad36e0b5f4640ba68a941dbc1e3c17055771e6 /android/testing.go
parentba46e7662221801867534444e64928f438511a5b (diff)
add androidmk cc-related variables to androidmk
The adbd_test androidmk definition is missing some cc-related variables for cc_test in mixed builds. These variables should be populated from information from Bazel. Bug: 265758350 Change-Id: I59d017e2eb2f139188ba3383c457cc0055372b61
Diffstat (limited to 'android/testing.go')
-rw-r--r--android/testing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/testing.go b/android/testing.go
index 29af71fbc..e4202ae6b 100644
--- a/android/testing.go
+++ b/android/testing.go
@@ -1145,7 +1145,7 @@ func AndroidMkDataForTest(t *testing.T, ctx *TestContext, mod blueprint.Module)
var p AndroidMkDataProvider
var ok bool
if p, ok = mod.(AndroidMkDataProvider); !ok {
- t.Errorf("module does not implement AndroidMkDataProvider: " + mod.Name())
+ t.Fatalf("module does not implement AndroidMkDataProvider: " + mod.Name())
}
data := p.AndroidMk()
data.fillInData(ctx, mod)