![]() When the build type changes (for example, from "shamu-userdebug" to "shamu-user"), the build system doesn't delete all files and start over. Rather, build artifacts from the old build type are reused for the new build type. This is problematic for the recovery SELinux policy, which differs between build types. Reusing a userdebug policy on a user build is inappropriate and could lead to security bugs. Force the deletion of the recovery SELinux policy when changing build types, so it can be properly regenerated. This is consistent with how we treat the normal SELinux policy (see commit |
||
---|---|---|
core | ||
libs/host | ||
target | ||
tools | ||
.gitignore | ||
CleanSpec.mk | ||
buildspec.mk.default | ||
envsetup.sh |