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

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

Change-Id: Ic86a8c810b84173c2fe7f06d57a942d2b9082caa
This commit is contained in:
Andrei-Valentin Onea
2021-04-28 19:49:38 +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