Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1d52015 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Enforce debugfs restrictions for S launching devices and newer" am:...

Merge "Enforce debugfs restrictions for S launching devices and newer" am: 9fd3b6a1 am: 84bcf8e6

Original change: https://android-review.googlesource.com/c/platform/build/+/1668925

Change-Id: I16ff878287ef5eec7b8a9ed5e9630a6726db301d
parents c90167c9 84bcf8e6
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -359,6 +359,14 @@ ifeq ($(PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS),)
  endif
endif

ifeq ($(PRODUCT_SET_DEBUGFS_RESTRICTIONS),)
  ifdef PRODUCT_SHIPPING_API_LEVEL
    ifeq (true,$(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),31))
      PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
    endif
  endif
endif

ifdef PRODUCT_SHIPPING_API_LEVEL
  ifneq (,$(call math_gt_or_eq,29,$(PRODUCT_SHIPPING_API_LEVEL)))
    PRODUCT_PACKAGES += $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29)