Go to file
Nick Kralevich 133e1e1f16 delete recovery policy on changing build types
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
a8b3d54101).

(cherry picked from commit 3cb10bbd3b)

Change-Id: I1d8ad7e06112777c66abed4546dadb85d35e33e1
2016-02-29 08:45:31 -08:00
core delete recovery policy on changing build types 2016-02-29 08:45:31 -08:00
libs/host Clean up Mac OS hacks in acp slightly. 2016-01-05 09:32:42 -08:00
target [Emulator] Add comment about including AOSP messaging on AOSP images. 2016-02-26 19:26:05 +00:00
tools releasetools: Support generating downgrade incremental OTAs. 2016-02-25 16:39:42 -08:00
.gitignore Add build subprojects to .gitignore 2015-07-23 13:18:47 -07:00
CleanSpec.mk Merge "CleanSpec: Clean up /recovery/root/sdcard." am: b69d3b28a5 2016-01-22 18:53:15 +00:00
buildspec.mk.default Remove WEBCORE_INSTRUMENTATION and ENABLE_SVG 2013-07-25 15:52:17 -07:00
envsetup.sh Revert "Revert "Make OpenJDK 8 the default"" 2016-01-25 17:35:57 +00:00