disable unpriv perf by default in user{,debug} builds

(Cherry picked from commit f2ac912b19)

Bug: 29054680

Change-Id: If04bc63fc366006cde842a50b7c764f89d7449a6
This commit is contained in:
Daniel Micay 2016-05-17 00:40:52 -04:00 committed by Jeffrey Vander Stoep
parent bf5d08ecf4
commit c20df7057d
1 changed files with 1 additions and 0 deletions

View File

@ -316,6 +316,7 @@ tags_to_install :=
ifneq (,$(user_variant))
# Target is secure in user builds.
ADDITIONAL_DEFAULT_PROPERTIES += ro.secure=1
ADDITIONAL_DEFAULT_PROPERTIES += security.perf_harden=1
ifeq ($(user_variant),userdebug)
# Pick up some extra useful tools