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
This commit is contained in:
@@ -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",
|
||||
],
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user