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

Commit a52efde2 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Do not ship ih8sn on user builds

parent 4d12a35d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -43,6 +43,12 @@ PRODUCT_COPY_FILES += \
    $(VENDOR_PATH)/config/permissions/eos-permissions.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/default-permissions/eos-permissions.xml \
    $(VENDOR_PATH)/config/permissions/eos-allowlist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/eos-allowlist.xml

ifneq ($(filter user,$(TARGET_BUILD_VARIANT)),)
  # Do not include ih8sn on user build.
  # Indeed, some security SDKs included in 3rd party apps can detect it.
  INCLUDE_IH8SN ?= false
endif

# SafetyNet compatibility
ifneq ($(filter official community partner,$(RELEASE_TYPE)),)
  # Ship ih8sn on community & official builds