summaryrefslogtreecommitdiff
path: root/cc/library_headers_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/library_headers_test.go')
-rw-r--r--cc/library_headers_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/library_headers_test.go b/cc/library_headers_test.go
index 1924b2f2c..5a4576703 100644
--- a/cc/library_headers_test.go
+++ b/cc/library_headers_test.go
@@ -46,7 +46,7 @@ func TestLibraryHeaders(t *testing.T) {
// Test that there's a valid AndroidMk entry.
headers := ctx.ModuleForTests("headers", "android_arm64_armv8-a").Module()
- e := android.AndroidMkEntriesForTest(t, ctx, headers)[0]
+ e := android.AndroidMkInfoForTest(t, ctx, headers).PrimaryInfo
// This duplicates the tests done in AndroidMkEntries.write. It would be
// better to test its output, but there are no test functions that capture that.