# *not* include it on all devices, so it is safe even with hardware-specific
# components.
+BOARD_PATH := device/oneplus/dumpling
+
# Architecture
TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-a
# Crypto
TARGET_HW_DISK_ENCRYPTION := true
-TARGET_CRYPTFS_HW_PATH := vendor/qcom/opensource/cryptfs_hw
-TARGET_RECOVERY_DEVICE_MODULES := libcryptfs_hw
+TARGET_CRYPTFS_HW_PATH := $(BOARD_PATH)/cryptfs_hw
+TARGET_KEYMASTER_WAIT_FOR_QSEE := true
# Recovery
BOARD_HAS_LARGE_FILESYSTEM := true
TW_INPUT_BLACKLIST := "hbtp_vm"
TW_EXCLUDE_SUPERSU := true
TW_SCREEN_BLANK_ON_BOOT := true
-
-# Encryption support
-TW_INCLUDE_CRYPTO := true
-TARGET_KEYMASTER_WAIT_FOR_QSEE := true
+TW_INCLUDE_CRYPTO := true
\ No newline at end of file
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
-LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
+LOCAL_PROPRIETARY_MODULE := true
sourceFiles := \
cryptfs_hw.c
endif
include $(BUILD_SHARED_LIBRARY)
-endif
+endif
\ No newline at end of file