Replace source based system server stubs

Use the ones obtained by merging the ones in non-updatable code, and the
ones exposed in mainline module jars that are part of
SYSTEMSERVERCLASSPATH.

Test: builds
Bug: 177640454
Change-Id: Ib4719d7eb8b76a0e5af79c1270e2f1e344682423
This commit is contained in:
Andrei Onea 2021-03-17 13:37:19 +00:00
parent 2002bfa817
commit f1f738e653
1 changed files with 2 additions and 2 deletions

View File

@ -647,6 +647,7 @@ func createAPIFingerprint(ctx android.SingletonContext) {
"frameworks-base-api-current.txt", "frameworks-base-api-current.txt",
"frameworks-base-api-system-current.txt", "frameworks-base-api-system-current.txt",
"frameworks-base-api-module-lib-current.txt", "frameworks-base-api-module-lib-current.txt",
"services-system-server-current.txt",
} }
count := 0 count := 0
ctx.VisitAllModules(func(module android.Module) { ctx.VisitAllModules(func(module android.Module) {
@ -660,8 +661,7 @@ func createAPIFingerprint(ctx android.SingletonContext) {
ctx.Errorf("Could not find all the expected API modules %v, found %d\n", apiTxtFileModules, count) ctx.Errorf("Could not find all the expected API modules %v, found %d\n", apiTxtFileModules, count)
return return
} }
cmd.Input(android.PathForSource(ctx, "frameworks/base/services/api/current.txt")). cmd.Text("| md5sum | cut -d' ' -f1 >").
Text("| md5sum | cut -d' ' -f1 >").
Output(out) Output(out)
} else { } else {
// Unbundled build // Unbundled build