4ae05118c1
Steps taken to produce the mapping files: 0. Add 33.0 prebuilts to prebuilts/api/33.0/. 1. Add the following Android.bp modules. 33.0.board.compat.map 33.0.board.compat.cil 33.0.board.ignore.map plat_33.0.cil system_ext_33.0.cil product_33.0.cil 33.0.ignore.cil system_ext_33.0.ignore.cil product_33.0.ignore.cil 33.0.compat.cil system_ext_33.0.compat.cil 2. Touch the following three files. private/compat/33.0/33.0.cil private/compat/33.0/33.0.compat.cil private/compat/33.0/33.0.ignore.cil 3. Add 33.0 to PLATFORM_SEPOLICY_COMPAT_VERSIONS on build/make/core/config.mk. Note that we don't update sepolicy_major_vers to 33, but just update compat versions. 4. Run the following command. $ source build/make/rbesetup.sh && lunch aosp_arm64-userdebug $ m sepolicy_generate_compat $ sepolicy_generate_compat --branch=tm-dev \ --build latest --target-version 33.0 \ --latest-version 32.0 This change also enables treble_sepolicy_tests_33.0 and installs 33.0.cil mapping file onto the device. Test: m treble_sepolicy_tests_33.0 Test: m 33.0_compat_test Test: m slinux_policy Change-Id: Ie969ff0372ff1268776165cee5cb5b07d303453c |
||
---|---|---|
.. | ||
Android.bp |