blob: 42e9a5dd8743b94e2572d1ff9b02ac5f93aa2691 [file] [log] [blame]
merothh54856102021-11-04 12:07:41 +05301#
2# Copyright (C) 2021 The LineageOS Project
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7PRODUCT_USE_DYNAMIC_PARTITIONS := true
Roger Liao67b33f62020-04-06 23:38:49 +08008PRODUCT_SHIPPING_API_LEVEL := 30
merothh54856102021-11-04 12:07:41 +05309
10# Enable virtual A/B OTA
11$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
12
13# Include GSI keys
14$(call inherit-product, build/make/target/product/gsi_keys.mk)
15
Luca Stefani82ac4352019-09-12 23:47:56 +020016# Enable updating of APEXes
17$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
18
Lokesh Gidra9fe4b8c2019-12-06 13:19:19 -080019# Setup dalvik vm configs
20$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
21
merothhacf1dfa2022-01-02 18:21:21 +053022# Get non-open-source specific aspects
23$(call inherit-product, vendor/fairphone/FP4/FP4-vendor.mk)
24
merothh750fa002022-01-02 19:42:51 +053025# Overlays
26DEVICE_PACKAGE_OVERLAYS += \
27 $(LOCAL_PATH)/overlay
28
29PRODUCT_ENFORCE_RRO_TARGETS := *
30
merothh54856102021-11-04 12:07:41 +053031# A/B
32PRODUCT_PACKAGES += \
33 android.hardware.boot@1.1-impl-qti \
34 android.hardware.boot@1.1-impl-qti.recovery \
35 android.hardware.boot@1.1-service
36
37AB_OTA_POSTINSTALL_CONFIG += \
38 RUN_POSTINSTALL_system=true \
39 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
40 FILESYSTEM_TYPE_system=ext4 \
41 POSTINSTALL_OPTIONAL_system=true
42
43AB_OTA_POSTINSTALL_CONFIG += \
44 RUN_POSTINSTALL_vendor=true \
45 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
46 FILESYSTEM_TYPE_vendor=ext4 \
47 POSTINSTALL_OPTIONAL_vendor=true
48
49PRODUCT_PACKAGES += \
50 checkpoint_gc \
51 otapreopt_script
52
53PRODUCT_PACKAGES += \
54 update_engine \
55 update_engine_client \
56 update_verifier \
57 update_engine_sideload
58
Sebastiano Barezzif8bb2bd2021-02-10 21:58:07 +010059# Atrace
60PRODUCT_PACKAGES += \
61 android.hardware.atrace@1.0-service
62
merothh750fa002022-01-02 19:42:51 +053063# Audio (HIDL)
64PRODUCT_PACKAGES += \
65 android.hardware.audio@6.0-impl \
66 android.hardware.audio.effect@6.0-impl \
67 android.hardware.audio.service \
68 android.hardware.soundtrigger@2.3-impl
69
70# Audio (Hardware)
71PRODUCT_PACKAGES += \
72 audio.a2dp.default \
73 audio.primary.lito \
74 audio.r_submix.default \
75 audio.usb.default
76
77# Audio (Extensions)
78PRODUCT_PACKAGES += \
79 liba2dpoffload \
80 libbatterylistener \
81 libcomprcapture \
82 libexthwplugin \
83 libhdmiedid \
84 libhfp \
85 libsndmonitor \
86 libspkrprot
87
88# Audio (SoundFX)
89PRODUCT_PACKAGES += \
90 libaudiopreprocessing \
91 libbundlewrapper \
92 libdownmix \
93 libdynproc \
94 libeffectproxy \
95 libldnhncr \
96 libqcompostprocbundle \
97 libqcomvisualizer \
98 libqcomvoiceprocessing \
99 libreverbwrapper \
100 libvisualizer \
101 libvolumelistener
102
103# Bluetooth
104PRODUCT_PACKAGES += \
105 audio.bluetooth.default \
106 com.dsi.ant@1.0.vendor \
107 vendor.qti.hardware.bluetooth_audio@2.1.vendor \
108 vendor.qti.hardware.btconfigstore@1.0.vendor \
109 vendor.qti.hardware.btconfigstore@2.0.vendor
110
merothh54856102021-11-04 12:07:41 +0530111# fastbootd
112PRODUCT_PACKAGES += \
113 fastbootd
114
115# Soong Namespaces
116PRODUCT_SOONG_NAMESPACES += \
117 $(LOCAL_PATH)
118
119# Ramdisk
120PRODUCT_COPY_FILES += \
121 $(LOCAL_PATH)/rootdir/etc/fstab.default:$(TARGET_COPY_OUT_RAMDISK)/fstab.default