diff options
author | 2020-11-10 14:35:13 +0000 | |
---|---|---|
committer | 2020-11-10 14:35:13 +0000 | |
commit | a1b33142863f01f48633306cd7e73b722fd41155 (patch) | |
tree | 79bdf33a9c2f5b57a779ebb0514c17d1a75f6de3 /java/hiddenapi_singleton.go | |
parent | 37fa489a9e959444f21c08a198c5f120b31d6116 (diff) | |
parent | 30a4c9d665f5871c0aef5ad6c77c8ee5003976c6 (diff) |
Merge "Remove dead code"
Diffstat (limited to 'java/hiddenapi_singleton.go')
-rw-r--r-- | java/hiddenapi_singleton.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/java/hiddenapi_singleton.go b/java/hiddenapi_singleton.go index c3ae75e19..bbc8320fc 100644 --- a/java/hiddenapi_singleton.go +++ b/java/hiddenapi_singleton.go @@ -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 { |