Merge "Add updatable_media_stub to framework"
This commit is contained in:
@@ -29,7 +29,7 @@ var (
|
|||||||
|
|
||||||
DefaultBootclasspathLibraries = []string{"core.platform.api.stubs", "core-lambda-stubs"}
|
DefaultBootclasspathLibraries = []string{"core.platform.api.stubs", "core-lambda-stubs"}
|
||||||
DefaultSystemModules = "core-platform-api-stubs-system-modules"
|
DefaultSystemModules = "core-platform-api-stubs-system-modules"
|
||||||
DefaultLibraries = []string{"ext", "framework", "updatable_media_stubs"}
|
DefaultLibraries = []string{"ext", "framework"}
|
||||||
DefaultLambdaStubsLibrary = "core-lambda-stubs"
|
DefaultLambdaStubsLibrary = "core-lambda-stubs"
|
||||||
SdkLambdaStubsPath = "prebuilts/sdk/tools/core-lambda-stubs.jar"
|
SdkLambdaStubsPath = "prebuilts/sdk/tools/core-lambda-stubs.jar"
|
||||||
|
|
||||||
|
@@ -1227,7 +1227,7 @@ func TestPatchModule(t *testing.T) {
|
|||||||
checkPatchModuleFlag(t, ctx, "foo", "")
|
checkPatchModuleFlag(t, ctx, "foo", "")
|
||||||
expected := "java.base=.:" + buildDir
|
expected := "java.base=.:" + buildDir
|
||||||
checkPatchModuleFlag(t, ctx, "bar", expected)
|
checkPatchModuleFlag(t, ctx, "bar", expected)
|
||||||
expected = "java.base=" + strings.Join([]string{".", buildDir, moduleToPath("ext"), moduleToPath("framework"), moduleToPath("updatable_media_stubs")}, ":")
|
expected = "java.base=" + strings.Join([]string{".", buildDir, moduleToPath("ext"), moduleToPath("framework")}, ":")
|
||||||
checkPatchModuleFlag(t, ctx, "baz", expected)
|
checkPatchModuleFlag(t, ctx, "baz", expected)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@@ -138,7 +138,6 @@ func GatherRequiredDepsForTest() string {
|
|||||||
extraModules := []string{
|
extraModules := []string{
|
||||||
"core-lambda-stubs",
|
"core-lambda-stubs",
|
||||||
"ext",
|
"ext",
|
||||||
"updatable_media_stubs",
|
|
||||||
"android_stubs_current",
|
"android_stubs_current",
|
||||||
"android_system_stubs_current",
|
"android_system_stubs_current",
|
||||||
"android_test_stubs_current",
|
"android_test_stubs_current",
|
||||||
|
Reference in New Issue
Block a user