diff options
author | Mathew Inwood <mathewi@google.com> | 2020-11-10 14:49:43 +0000 |
---|---|---|
committer | Mathew Inwood <mathewi@google.com> | 2020-11-11 11:01:07 +0000 |
commit | 1ef4ba906a345545b7975971c1d1995ffe760a25 (patch) | |
tree | f1239680a1321bd71dc617e845bd4d02c785bc13 /java/hiddenapi_singleton.go | |
parent | af3bf0dd5d72af80927eced08fab701bcc2f1878 (diff) |
Explicitly tag max-target-o APIs as "lo-prio".
This allows the presubmit checker to explicitly allow certain changes to
these APIs, rather than special casing tha max-target-o list. This in turn
will allow other APIs to be tagged as lo-prio in future to get the same
treatment.
Test: m out/soong/hiddenapi/hiddenapi-flags.csv
Bug: 172993934
Change-Id: Ic7cc0243b2b018c96d420a3f266c4b3a6958c32f
Diffstat (limited to 'java/hiddenapi_singleton.go')
-rw-r--r-- | java/hiddenapi_singleton.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/hiddenapi_singleton.go b/java/hiddenapi_singleton.go index c3ae75e19..4003aea00 100644 --- a/java/hiddenapi_singleton.go +++ b/java/hiddenapi_singleton.go @@ -264,7 +264,7 @@ func flagsRule(ctx android.SingletonContext) android.Path { FlagWithInput("--max-target-p ", android.PathForSource(ctx, "frameworks/base/config/hiddenapi-max-target-p.txt")). FlagWithInput("--max-target-o ", android.PathForSource( - ctx, "frameworks/base/config/hiddenapi-max-target-o.txt")).Flag("--ignore-conflicts "). + ctx, "frameworks/base/config/hiddenapi-max-target-o.txt")).Flag("--ignore-conflicts ").FlagWithArg("--tag ", "lo-prio"). FlagWithInput("--blocked ", android.PathForSource(ctx, "frameworks/base/config/hiddenapi-force-blocked.txt")). FlagWithInput("--unsupported ", android.PathForSource( |