j7elte: Move graphics composer to hwbinder
[GitHub/LineageOS/android_device_samsung_j7elte.git] / BoardConfig.mk
CommitLineData
fd684260
DT
1# Copyright (C) 2017-2020 The LineageOS Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# Inherit from universal7580-common
16include device/samsung/universal7580-common/BoardConfigCommon.mk
17
18LOCAL_PATH := device/samsung/j7elte
9427e63c 19
a64a9880
DT
20TARGET_OTA_ASSERT_DEVICE := j7elte
21
9427e63c
DW
22# Bluetooth
23BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth
a64a9880
DT
24
25# Init
8029384c 26TARGET_INIT_VENDOR_LIB := libinit_j7elte
a41a79b7 27
1c69b11d
DT
28# Kernel
29TARGET_KERNEL_CONFIG := lineageos_j7elte_defconfig
30
160b0668
KH
31# Network Routing
32TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE := true
33
a41a79b7
DT
34# Partitions
35BOARD_HAS_NO_MISC_PARTITION:= false
36TARGET_USERIMAGES_USE_EXT4 := true
37TARGET_USERIMAGES_USE_F2FS := true
38BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432
39BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200
40BOARD_RECOVERYIMAGE_PARTITION_SIZE := 39845888
41BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2206203904
42BOARD_USERDATAIMAGE_PARTITION_SIZE := 13035896832
43BOARD_FLASH_BLOCK_SIZE := 4096
bf4ad9d9
DW
44
45# RIL
46BOARD_MODEM_TYPE := tss310
47BOARD_PROVIDES_LIBRIL := true
d6c191c6 48BOARD_NEEDS_ROAMING_PROTOCOL_FIELD := true
7bc44464 49
d7485035
JA
50# Manifest
51DEVICE_MANIFEST_FILE := $(LOCAL_PATH)/manifest.xml
52
7bc44464
DW
53# Shim
54TARGET_LD_SHIM_LIBS += \
55 /system/lib/libcamera_client.so|/vendor/lib/libcamera_client_shim.so \
7ea87d3a 56 /system/lib/libstagefright.so|/system/lib/libstagefright_shim.so \
7bc44464 57 /system/lib/libexynoscamera.so|/vendor/lib/libexynoscamera_shim.so
978294dc 58
59# Legacy BLOB Support
60TARGET_PROCESS_SDK_VERSION_OVERRIDE += \
61 /system/vendor/bin/hw/rild=27