Skip to content
Snippets Groups Projects
  • Dan Cashman's avatar
    7f7c3b82
    Add 26.0 api compatibility check infrastructure. · 7f7c3b82
    Dan Cashman authored
    Add support to the treble_sepolicy_tests suite that explicitly look at
    the old and current policy versions, as well as the compatibility file,
    to determine if any new types have been added without a compatibility
    entry.  This first test catches the most common and likely changes that
    could change the type label of an object for which vendor policy may have
    needed access.  It also should prove the basis for additional compatibility
    checks between old and new policies.
    
    Bug: 36899958
    Test: Policy builds and tests pass.
    Change-Id: I609c913e6354eb10a04cc1a029ddd9fa0e592a4c
    7f7c3b82
    History
    Add 26.0 api compatibility check infrastructure.
    Dan Cashman authored
    Add support to the treble_sepolicy_tests suite that explicitly look at
    the old and current policy versions, as well as the compatibility file,
    to determine if any new types have been added without a compatibility
    entry.  This first test catches the most common and likely changes that
    could change the type label of an object for which vendor policy may have
    needed access.  It also should prove the basis for additional compatibility
    checks between old and new policies.
    
    Bug: 36899958
    Test: Policy builds and tests pass.
    Change-Id: I609c913e6354eb10a04cc1a029ddd9fa0e592a4c