Merge changes Iebfbf2ff,Ibd974268
* changes: Rename fields and methods to reflect class loader context changes. Do not add dependencies of shared SDK libraries to manifest_fixer.
This commit is contained in:
@@ -1593,7 +1593,7 @@ func TestJavaSdkLibrary(t *testing.T) {
|
||||
// test if baz has exported SDK lib names foo and bar to qux
|
||||
qux := ctx.ModuleForTests("qux", "android_common")
|
||||
if quxLib, ok := qux.Module().(*Library); ok {
|
||||
sdkLibs := quxLib.ExportedSdkLibs().UsesLibs()
|
||||
sdkLibs := quxLib.ClassLoaderContexts().UsesLibs()
|
||||
if w := []string{"foo", "bar", "fred", "quuz"}; !reflect.DeepEqual(w, sdkLibs) {
|
||||
t.Errorf("qux should export %q but exports %q", w, sdkLibs)
|
||||
}
|
||||
|
Reference in New Issue
Block a user