Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9fc208ee authored by Paul Duffin's avatar Paul Duffin
Browse files

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
parent 99926a2a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -93,6 +93,7 @@ bootstrap_go_package {
        "plugin_test.go",
        "rro_test.go",
        "sdk_test.go",
        "sdk_library_test.go",
        "system_modules_test.go",
        "systemserver_classpath_fragment_test.go",
    ],
+1 −1
Original line number Diff line number Diff line
@@ -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",