Merge "Add android.test.base to class loader context for API version < 30." am: ad02d401ab
am: 6200c519e2
Change-Id: I998889df1bd34e7bb15df3cd5791cb5f70d7d0ae
This commit is contained in:
committed by
Automerger Merge Worker
commit
a5b0450554
@@ -1880,6 +1880,7 @@ func (u *usesLibrary) deps(ctx android.BottomUpMutatorContext, hasFrameworkLibs
|
||||
"org.apache.http.legacy",
|
||||
"android.hidl.base-V1.0-java",
|
||||
"android.hidl.manager-V1.0-java")
|
||||
ctx.AddVariationDependencies(nil, usesLibTag, optionalUsesLibs...)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -230,6 +230,22 @@ func GatherRequiredDepsForTest() string {
|
||||
system_modules: "core-platform-api-stubs-system-modules",
|
||||
installable: true,
|
||||
}
|
||||
|
||||
java_library {
|
||||
name: "android.test.base",
|
||||
srcs: ["a.java"],
|
||||
sdk_version: "none",
|
||||
system_modules: "core-platform-api-stubs-system-modules",
|
||||
installable: true,
|
||||
}
|
||||
|
||||
java_library {
|
||||
name: "android.test.mock",
|
||||
srcs: ["a.java"],
|
||||
sdk_version: "none",
|
||||
system_modules: "core-platform-api-stubs-system-modules",
|
||||
installable: true,
|
||||
}
|
||||
`
|
||||
|
||||
systemModules := []string{
|
||||
|
Reference in New Issue
Block a user