j7elte: manifest: Remove Trust interface entry
[GitHub/LineageOS/android_device_samsung_j7elte.git] / BoardConfig.mk
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
16 include device/samsung/universal7580-common/BoardConfigCommon.mk
17
18 LOCAL_PATH := device/samsung/j7elte
19
20 TARGET_OTA_ASSERT_DEVICE := j7elte
21
22 # Bluetooth
23 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth
24
25 # Init
26 TARGET_INIT_VENDOR_LIB := libinit_j7elte
27
28 # Kernel
29 TARGET_KERNEL_CONFIG := lineageos_j7elte_defconfig
30
31 # Network Routing
32 TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE := true
33
34 # Partitions
35 BOARD_HAS_NO_MISC_PARTITION:= false
36 TARGET_USERIMAGES_USE_EXT4 := true
37 TARGET_USERIMAGES_USE_F2FS := true
38 BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432
39 BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200
40 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 39845888
41 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2206203904
42 BOARD_USERDATAIMAGE_PARTITION_SIZE := 13035896832
43 BOARD_FLASH_BLOCK_SIZE := 4096
44
45 # RIL
46 BOARD_MODEM_TYPE := tss310
47 BOARD_PROVIDES_LIBRIL := true
48 BOARD_NEEDS_ROAMING_PROTOCOL_FIELD := true
49
50 # Manifest
51 DEVICE_MANIFEST_FILE := $(LOCAL_PATH)/manifest.xml
52
53 # Shim
54 TARGET_LD_SHIM_LIBS += \
55 /system/lib/libcamera_client.so|/vendor/lib/libcamera_client_shim.so \
56 /system/lib/libstagefright.so|/system/lib/libstagefright_shim.so \
57 /system/lib/libexynoscamera.so|/vendor/lib/libexynoscamera_shim.so
58
59 # Legacy BLOB Support
60 TARGET_PROCESS_SDK_VERSION_OVERRIDE += \
61 /system/vendor/bin/hw/rild=27