Merge "Remove treble coredomain whitelist." am: a531789459

Change-Id: Ie4ec70b6e91747b8a353c7d987dc9f492cc5e051
This commit is contained in:
Steven Moreland 2020-04-03 17:58:35 +00:00 committed by Automerger Merge Worker
commit f60d2bf5db

View file

@ -14,32 +14,10 @@ Use file_contexts and policy to verify Treble requirements
are not violated.
'''
###
# Differentiate between domains that are part of the core Android platform and
# domains introduced by vendors
coreAppdomain = {
'bluetooth',
'ephemeral_app',
'isolated_app',
'nfc',
'platform_app',
'priv_app',
'radio',
'shared_relro',
'shell',
'system_app',
'untrusted_app',
'untrusted_app_25',
}
# TODO: how do we make sure vendor_init doesn't have bad coupling with /vendor?
coredomainWhitelist = {
'adbd',
'kernel',
'postinstall',
'postinstall_dexopt',
'recovery',
'system_server',
'vendor_init',
}
coredomainWhitelist |= coreAppdomain
class scontext:
def __init__(self):