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

(Cherry picked from commit fe01f56c0d5c42508e1e82f5976e4c10bb00f632)

Bug: 29054680

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

View File

@ -390,6 +390,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),user)
ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1