a7xelte: bluetooth: Disable eSCO commands to fix bluetooth calling
[GitHub/LineageOS/android_device_samsung_a7xelte.git] / BoardConfig.mk
CommitLineData
318eac2f
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/a7xelte
6d65e77e 21
33c392a1
DW
22TARGET_OTA_ASSERT_DEVICE := a7xelte, a7xeltexx, a7xelteub, a7xeltedo
23
6d65e77e
DW
24# Bluetooth
25BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth
33c392a1 26
f5829732
DW
27# RIL
28BOARD_MODEM_TYPE := tss310
29BOARD_PROVIDES_LIBRIL := true
bfc0c9ab 30BOARD_NEEDS_ROAMING_PROTOCOL_FIELD := true
f5829732 31
33c392a1
DW
32# Init
33TARGET_INIT_VENDOR_LIB := libinit_sec
8cea979d
DW
34
35# Partitions
36BOARD_HAS_NO_MISC_PARTITION:= false
37TARGET_USERIMAGES_USE_EXT4 := true
38TARGET_USERIMAGES_USE_F2FS := true
39BOARD_BOOTIMAGE_PARTITION_SIZE := 29360128
40BOARD_CACHEIMAGE_PARTITION_SIZE := 104857600
41BOARD_RECOVERYIMAGE_PARTITION_SIZE := 35651584
42BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3145728000
43BOARD_USERDATAIMAGE_PARTITION_SIZE := 13514047488
44BOARD_FLASH_BLOCK_SIZE := 4096
04fbd498
DW
45
46# Kernel
47TARGET_KERNEL_CONFIG := lineageos_a7xelte_defconfig
7ae6402f
DW
48
49# Shim
50TARGET_LD_SHIM_LIBS += \
51 /system/lib/libcamera_client.so|/vendor/lib/libcamera_client_shim.so \
52 /system/lib/libstagefright.so|/vendor/lib/libstagefright_shim.so \
53 /system/lib/libexynoscamera.so|/vendor/lib/libexynoscamera_shim.so