build: Ship adb_root only WITH_SU
* TBH - hardly any user uses adb root. * adb root poses root detection risks. * Most devices are user or userbuild type. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
@@ -273,11 +273,12 @@ PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/bin/procmem
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||
ifeq ($(WITH_SU),true)
|
||||
# Root
|
||||
PRODUCT_PACKAGES += \
|
||||
adb_root
|
||||
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||
ifeq ($(WITH_SU),true)
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
su
|
||||
|
||||
|
||||
Reference in New Issue
Block a user