73f43ff847
Treble sepolicy tests check whether previous versions are compatible to ToT sepolicy or not. treble_sepolicy_tests_for_release.mk implements it, but it also includes a compat test whether ToT sepolicy + {ver} mapping + {ver} plat_pub_versioned.cil can be built together or not. We definitely need such tests, but we already have a test called "compat test" which does exactly that, and testing it again with Treble sepolicy tests is just redundant. The only difference between those two is that Treble sepolicy tests can also test system_ext and product compat files, which was contributed by a partner. The ultimate goal here is to migrate *.mk to Soong, thus merging these two tests (compat, Treble) into one. As we've already migrated the compat test to Soong, this change removes the compat test part from treble sepolicy tests. Instead, the compat test will be extended so it can test system_ext and product compat files too. prebuilts/api/{ver}/plat_pub_versioned.cil and prebuilts/api/{ver}/vendor_sepolicy.cil are also removed as they aren't used anymore: vendor_sepolicy.cil is an empty stub, and plat_pub_versioned.cil can be built from the prebuilt source files. Bug: 33691272 Test: m selinux_policy Change-Id: I72f5ad0e8bbe6a7c0bbcc02f0f902b953df6ff1a |
||
---|---|---|
.. | ||
28.0 | ||
29.0 | ||
30.0 | ||
31.0 | ||
32.0 |