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

Commit 986a6a12 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Merge branch '1485os-r-ship-ih8sn' into 'v1-r'

Ship ih8sn for more devices on Android 11

See merge request !107
parents ca58cccd 7580bb86
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -41,17 +41,22 @@ PRODUCT_COPY_FILES += \
    $(VENDOR_PATH)/config/permissions/eos-allowlist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/eos-allowlist.xml

# SafetyNet compatibility
ifeq (stable,$(RELEASE_TYPE))
ifneq ($(filter stable dev,$(RELEASE_TYPE)),)
  # Ship ih8sn on dev & stable builds
  INCLUDE_IH8SN ?= true
endif

INCLUDE_IH8SN ?= false

PRODUCT_CONFIGURATION_FILE := vendor/eos/config/ih8sn/ih8sn_$(subst lineage_,,$(TARGET_PRODUCT)).conf
DEFAULT_CONFIGURATION_FILE := vendor/eos/config/ih8sn/ih8sn_default.conf
ifeq (true,$(INCLUDE_IH8SN))
  ifneq (,$(wildcard $(PRODUCT_CONFIGURATION_FILE)))
  PRODUCT_PACKAGES += ih8sn
  ifneq (,$(wildcard $(PRODUCT_CONFIGURATION_FILE)))
    PRODUCT_COPY_FILES += \
        $(PRODUCT_CONFIGURATION_FILE):$(TARGET_COPY_OUT_SYSTEM)/etc/ih8sn.conf
  else
    PRODUCT_COPY_FILES += \
        $(DEFAULT_CONFIGURATION_FILE):$(TARGET_COPY_OUT_SYSTEM)/etc/ih8sn.conf
  endif
endif
+4 −0
Original line number Diff line number Diff line
BUILD_FINGERPRINT=Xiaomi/dipper/dipper:8.1.0/OPM1.171019.011/V9.5.5.0.OEAMIFA:user/release-keys
DEBUGGABLE=0
BUILD_TAGS=release-keys
BUILD_TYPE=user