Disable SU by default

- We plan on distributing an addon for our SU
- Developers that want SU by default can export
    WITH_SU=true to their env
- This helps with application compatibility for
    various services, while maintaining user flexibility

Change-Id: I6d52159676f805c3698ff59c896d943a3a4b25db
gugelfrei
Abhisek Devkota 7 years ago committed by Zhao Wei Liew
parent f2d6fe2b98
commit 6af9acb650

@ -230,9 +230,14 @@ PRODUCT_BOOT_JARS += \
ifneq ($(TARGET_BUILD_VARIANT),user)
PRODUCT_PACKAGES += \
procmem \
procrank \
procrank
# Conditionally build in su
ifeq ($(WITH_SU),true)
PRODUCT_PACKAGES += \
su
endif
endif
DEVICE_PACKAGE_OVERLAYS += vendor/cm/overlay/common

Loading…
Cancel
Save