From 9fc208ee5430fcf100bb64fba03f6558fe96d2c2 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Sun, 27 Jun 2021 20:42:04 +0100 Subject: Add sdk_library_test.go to Android.bp file When this file was initially created by extracting the test from the java_test.go file it was not added to Android.bp file so was not being built and tested as it should. That lead to a recent change that left it unable to compile. This change corrects both those issues. Bug: 186723288 Bug: 179354495 Test: m nothing Change-Id: I06f32bb572f57b6df3c772f1d9d21fe323fbf353 --- java/sdk_library_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/sdk_library_test.go') diff --git a/java/sdk_library_test.go b/java/sdk_library_test.go index 65af95314..8e0618e31 100644 --- a/java/sdk_library_test.go +++ b/java/sdk_library_test.go @@ -122,7 +122,7 @@ func TestJavaSdkLibrary(t *testing.T) { result.ModuleForTests("foo.api.system.28", "") result.ModuleForTests("foo.api.test.28", "") - exportedComponentsInfo := result.ModuleProvider(foo.Module(), ExportedComponentsInfoProvider).(ExportedComponentsInfo) + exportedComponentsInfo := result.ModuleProvider(foo.Module(), android.ExportedComponentsInfoProvider).(android.ExportedComponentsInfo) expectedFooExportedComponents := []string{ "foo.stubs", "foo.stubs.source", -- cgit v1.2.3-59-g8ed1b