Add CHECK_DEV_TYPE_VIOLATIONS
If PRODUCT_CHECK_DEV_TYPE_VIOLATIONS is set or vendor api level is greater than V (35), sepolicy dev type test will be run which checks if all /dev nodes have dev_type attribute. Bug: 303367345 Test: set PRODUCT_CHECK_DEV_TYPE_VIOLATIONS, see sepolicy_dev_type_test's build command Change-Id: Ibf25c1dacb5132ccda5265d6d2ce9fe655ffbc87
This commit is contained in:
@@ -443,6 +443,9 @@ _product_single_value_vars += PRODUCT_VIRTUAL_AB_COW_VERSION
|
||||
# If set, determines whether the build system checks vendor seapp contexts violations.
|
||||
_product_single_value_vars += PRODUCT_CHECK_VENDOR_SEAPP_VIOLATIONS
|
||||
|
||||
# If set, determines whether the build system checks dev type violations.
|
||||
_product_single_value_vars += PRODUCT_CHECK_DEV_TYPE_VIOLATIONS
|
||||
|
||||
_product_list_vars += PRODUCT_AFDO_PROFILES
|
||||
|
||||
_product_single_value_vars += PRODUCT_NEXT_RELEASE_HIDE_FLAGGED_API
|
||||
|
Reference in New Issue
Block a user