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

Commit 675b1acc authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Merge branch '8395-a15-do-not-ship-ih8sn-on-user' into 'a15'

Do not ship ih8sn on user build

See merge request !213
parents ff840e34 0b115c76
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -45,6 +45,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