a3xelte: Add lifevibes blobs and enable the audio enhancements
[GitHub/LineageOS/android_device_samsung_a3xelte.git] / BoardConfig.mk
CommitLineData
58309e5e
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/a3xelte
a69ea8d7 21
8e7445dc
DW
22TARGET_OTA_ASSERT_DEVICE := a3xelte,a3xeltexx,a3xelteub,a3xeltedo
23
a69ea8d7
DW
24# Bluetooth
25BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth
8e7445dc 26
b6affe7b
KH
27# Network Routing
28TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE := true
29
26b7ac7d
DW
30# RIL
31BOARD_MODEM_TYPE := tss310
32BOARD_PROVIDES_LIBRIL := true
dae8c152 33BOARD_NEEDS_ROAMING_PROTOCOL_FIELD := true
26b7ac7d 34
8e7445dc 35# Init
966d041f 36TARGET_INIT_VENDOR_LIB := libinit_a3xelte
4772793a
DW
37
38# Partitions
39BOARD_HAS_NO_MISC_PARTITION:= false
40TARGET_USERIMAGES_USE_EXT4 := true
41TARGET_USERIMAGES_USE_F2FS := true
42BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432
43BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200
44BOARD_RECOVERYIMAGE_PARTITION_SIZE := 39845888
45BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3145728000
46BOARD_USERDATAIMAGE_PARTITION_SIZE := 12096372736
47BOARD_FLASH_BLOCK_SIZE := 4096
897339e0
DW
48
49# Kernel
50TARGET_KERNEL_CONFIG := lineageos_a3xelte_defconfig
e19074b7 51
9e029e34
JA
52# Manifest
53DEVICE_MANIFEST_FILE := $(LOCAL_PATH)/manifest.xml
54
e19074b7
DW
55# Shim
56TARGET_LD_SHIM_LIBS += \
57 /system/lib/libcamera_client.so|/vendor/lib/libcamera_client_shim.so \
f2c16d02 58 /system/lib/libstagefright.so|/system/lib/libstagefright_shim.so \
e19074b7 59 /system/lib/libexynoscamera.so|/vendor/lib/libexynoscamera_shim.so
e0d0b739 60
61# Legacy BLOB Support
62TARGET_PROCESS_SDK_VERSION_OVERRIDE += \
63 /system/vendor/bin/hw/rild=27