Merge "Replace source based system server stubs" am: b75031e918

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642101

Change-Id: I9c7ad8b66e74092cd1146625a8062a44837d0517
This commit is contained in:
Andrei-Valentin Onea
2021-04-28 19:08:49 +00:00
committed by Automerger Merge Worker

View File

@@ -356,6 +356,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) {
@@ -369,8 +370,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