Merge "Add updatable_media_stub to framework"

This commit is contained in:
Jiyong Park
2019-12-19 18:04:54 +00:00
committed by Gerrit Code Review
3 changed files with 2 additions and 3 deletions

View File

@@ -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"

View File

@@ -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)
}) })
} }

View File

@@ -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",