Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbf501e0 authored by satayev's avatar satayev Committed by Gerrit Code Review
Browse files

Merge "Add support for greylist-max-r signatures."

parents 7e8b14ab 54c2d606
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -18,10 +18,10 @@ Generate API lists for non-SDK API enforcement.
"""
import argparse
from collections import defaultdict
import functools
import os
import sys
import re
import functools
import sys

# Names of flags recognized by the `hiddenapi` tool.
FLAG_WHITELIST = "whitelist"
@@ -30,6 +30,7 @@ FLAG_BLACKLIST = "blacklist"
FLAG_GREYLIST_MAX_O = "greylist-max-o"
FLAG_GREYLIST_MAX_P = "greylist-max-p"
FLAG_GREYLIST_MAX_Q = "greylist-max-q"
FLAG_GREYLIST_MAX_R = "greylist-max-r"
FLAG_CORE_PLATFORM_API = "core-platform-api"
FLAG_PUBLIC_API = "public-api"
FLAG_SYSTEM_API = "system-api"
@@ -43,6 +44,7 @@ FLAGS_API_LIST = [
    FLAG_GREYLIST_MAX_O,
    FLAG_GREYLIST_MAX_P,
    FLAG_GREYLIST_MAX_Q,
    FLAG_GREYLIST_MAX_R,
]
ALL_FLAGS = FLAGS_API_LIST + [
    FLAG_CORE_PLATFORM_API,