a5xelte: build fastcharge hidl
[GitHub/LineageOS/android_device_samsung_a5xelte.git] / BoardConfig.mk
CommitLineData
b7e14c05
DW
1#
2# Copyright (C) 2018 The LineageOS Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# Inherit from universal7580-common
18include device/samsung/universal7580-common/BoardConfigCommon.mk
19
20LOCAL_PATH := device/samsung/a5xelte
217472c8 21
998eaab5 22TARGET_OTA_ASSERT_DEVICE := a5xelte,a5xeltexx,a5xelteub,a5xeltedo
a7ed544d 23
217472c8
DW
24# Bluetooth
25BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth
a7ed544d 26
21e067f2 27# Fingerprint
2911a227 28TARGET_SEC_FP_CALL_NOTIFY_ON_CANCEL := true
efce7823 29TARGET_SEC_FP_CALL_CANCEL_ON_ENROLL_COMPLETION := true
2911a227 30TARGET_SEC_FP_USES_PERCENTAGE_SAMPLES := true
21e067f2 31
b6caf309
KH
32# Network Routing
33TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE := true
34
1475f6e2
DW
35# RIL
36BOARD_MODEM_TYPE := tss310
37BOARD_PROVIDES_LIBRIL := true
852adbde 38BOARD_NEEDS_ROAMING_PROTOCOL_FIELD := true
1475f6e2 39
a7ed544d 40# Init
8cf4e4ef 41TARGET_INIT_VENDOR_LIB := libinit_a5xelte
edc94062
DW
42
43# Partitions
44BOARD_HAS_NO_MISC_PARTITION:= false
45TARGET_USERIMAGES_USE_EXT4 := true
46TARGET_USERIMAGES_USE_F2FS := true
47BOARD_BOOTIMAGE_PARTITION_SIZE := 29360128
48BOARD_CACHEIMAGE_PARTITION_SIZE := 104857600
49BOARD_RECOVERYIMAGE_PARTITION_SIZE := 35651584
50BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3145728000
51BOARD_USERDATAIMAGE_PARTITION_SIZE := 13514047488
52BOARD_FLASH_BLOCK_SIZE := 4096
50451229
DW
53
54# Kernel
55TARGET_KERNEL_CONFIG := lineageos_a5xelte_defconfig
9b49cfe1 56
77f014e9
JA
57# Manifest
58DEVICE_MANIFEST_FILE := $(LOCAL_PATH)/manifest.xml
59
78495ee6
FC
60# SELinux
61BOARD_SEPOLICY_DIRS += device/samsung/a5xelte/sepolicy
62
9b49cfe1
DW
63# Shim
64TARGET_LD_SHIM_LIBS += \
65 /system/lib/libcamera_client.so|/vendor/lib/libcamera_client_shim.so \
924717b0 66 /system/lib/libstagefright.so|/system/lib/libstagefright_shim.so \
6f659032
CH
67 /system/lib/libexynoscamera.so|/vendor/lib/libexynoscamera_shim.so \
68 /system/lib/libbauthserver.so|/system/lib/libbauthtzcommon_shim.so
c57abed1 69
70# Legacy BLOB Support
71TARGET_PROCESS_SDK_VERSION_OVERRIDE += \
72 /system/vendor/bin/hw/rild=27