Don't require private types in mapping file.
Private types are not visible to vendor/odm policy, so we don't need mapping entries for them. We build platform-only public policy .cil file and give it as input to treble_sepolicy_tests. Using this public policy the test can now figure out if the newly added type in public or private. Bug: 116344577 Test: adding public type triggers mapping test failure, adding private type does not. Change-Id: I421f335e37274b24aa73109e260653d7b73788b5
Showing
- Android.mk 22 additions, 0 deletionsAndroid.mk
- tests/mini_parser.py 17 additions, 25 deletionstests/mini_parser.py
- tests/treble_sepolicy_tests.py 26 additions, 13 deletionstests/treble_sepolicy_tests.py
- treble_sepolicy_tests_for_release.mk 3 additions, 0 deletionstreble_sepolicy_tests_for_release.mk
Loading
Please register or sign in to comment