Distinguish # apex and # systemapi symbols

Previously, the symbol tag `# apex` was treated the same as `#
systemapi`. With this CL, they have different meanings.

`# systemapi`: APIs that are defined in the platform (the non-updatable
part), and are exposed to unbundled system components like APEX

`# apex`: APIs that are defined in the APEX and are exposed to the
platform or other APEXes

Bug: 239274367
Test: m
Change-Id: I0484ea349656dbbd337e5fe3a5970f0ad275b807
This commit is contained in:
Jiyong Park
2022-07-17 11:30:47 +09:00
parent 3f9c41d2f5
commit 85cc35a143
7 changed files with 65 additions and 24 deletions

View File

@@ -140,7 +140,7 @@ def main():
with open(args.symbol_file) as symbol_file:
try:
filt = Filter("", FUTURE_API_LEVEL, True, True)
filt = Filter("", FUTURE_API_LEVEL, True, True, True)
versions = SymbolFileParser(symbol_file, api_map, filt).parse()
except MultiplyDefinedSymbolError as ex:
sys.exit('{}: error: {}'.format(args.symbol_file, ex))