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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user