Merge "Remove dead code" am: a1b3314286 am: 00d7ec3375 am: ab2ebb04ba

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

Change-Id: I80dd3f38b1ec77d16c934551eb223dd65b57d92a
This commit is contained in:
Anton Hansson
2020-11-10 15:34:45 +00:00
committed by Automerger Merge Worker

View File

@@ -211,15 +211,6 @@ func stubFlagsRule(ctx android.SingletonContext) {
rule.Build(pctx, ctx, "hiddenAPIStubFlagsFile", "hiddenapi stub flags")
}
func moduleForGreyListRemovedApis(ctx android.SingletonContext, module android.Module) bool {
switch ctx.ModuleName(module) {
case "api-stubs-docs", "system-api-stubs-docs", "android.car-stubs-docs", "android.car-system-stubs-docs":
return true
default:
return false
}
}
// flagsRule creates a rule to build hiddenapi-flags.csv out of flags.csv files generated for boot image modules and
// the unsupported API.
func flagsRule(ctx android.SingletonContext) android.Path {