diff options
author | Mathew Inwood <mathewi@google.com> | 2020-11-30 10:59:28 +0000 |
---|---|---|
committer | Mathew Inwood <mathewi@google.com> | 2020-11-30 11:47:30 +0000 |
commit | 17a8cd963497d7809dd40e0988d2dc0eeb5cd255 (patch) | |
tree | acdc5cd56c8baa14969ee35e4f8dc42655f126ca /java/hiddenapi_singleton.go | |
parent | c9b71a446a8350f56100a3630b0c043bf79b8967 (diff) |
Add 'lo-prio' tag to temp blocklist.
This is a temporary measure to allow these APIs to be identified by
downstream tooling. Before S is finished, these APIs will be moved
to the max-target-R list anyway.
Adding the lo-prio flag should have no semantic impact on these APIs
but does allow them to be distinguished from the regular blocklist
APIs.
Test: m
Bug: 174455522
Change-Id: I031dcecbdef34a4f93a0fec1a92d95f769918486
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 e57f32337..8f0e09cbd 100644 --- a/java/hiddenapi_singleton.go +++ b/java/hiddenapi_singleton.go @@ -259,7 +259,7 @@ func flagsRule(ctx android.SingletonContext) android.Path { FlagWithInput("--blocked ", android.PathForSource(ctx, "frameworks/base/config/hiddenapi-force-blocked.txt")). FlagWithInput("--blocked ", - android.PathForSource(ctx, "frameworks/base/config/hiddenapi-temp-blocklist.txt")). + android.PathForSource(ctx, "frameworks/base/config/hiddenapi-temp-blocklist.txt")).FlagWithArg("--tag ", "lo-prio"). FlagWithInput("--unsupported ", android.PathForSource( ctx, "frameworks/base/config/hiddenapi-unsupported-packages.txt")).Flag("--packages "). FlagWithOutput("--output ", tempPath) |