blob: d82dda8d9bf53d854b7b061af692f8eb28f14e38 [file] [log] [blame]
micky38718f07ac2019-06-10 00:40:50 +02001# Copyright (C) 2016 The CyanogenMod Project
2# Copyright (C) 2019 The OmniRom 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# This file is the build configuration for a full Android
18# build for grouper hardware. This cleanly combines a set of
19# device-specific aspects (drivers) with a device-agnostic
20# product configuration (apps).
21#
micky387619d9122019-09-01 23:51:31 +020022$(call inherit-product, vendor/asus/zenfone6/zenfone6-vendor.mk)
micky38718f07ac2019-06-10 00:40:50 +020023
micky387a8d96182019-06-11 13:36:14 +020024# Overlays
25DEVICE_PACKAGE_OVERLAYS += \
micky38768ec9992019-12-28 13:35:00 +010026 $(LOCAL_PATH)/overlay \
27 vendor/omni/overlay/CarrierConfig
micky387a8d96182019-06-11 13:36:14 +020028
micky3877564a9b2020-12-30 22:14:37 +010029# VNDK
30PRODUCT_TARGET_VNDK_VERSION := 30
31
micky3874eedc682019-06-11 02:29:28 +020032# A/B
micky38782dbd1a2019-09-17 08:11:02 +020033AB_OTA_UPDATER := true
34
micky3874eedc682019-06-11 02:29:28 +020035AB_OTA_PARTITIONS += \
36 boot \
37 dtbo \
38 system \
39 vbmeta
40
41AB_OTA_POSTINSTALL_CONFIG += \
42 RUN_POSTINSTALL_system=true \
Marko Manac931372020-03-14 21:02:38 +010043 POSTINSTALL_PATH_system=system/bin/omnipreopt_script \
micky3874eedc682019-06-11 02:29:28 +020044 FILESYSTEM_TYPE_system=ext4 \
45 POSTINSTALL_OPTIONAL_system=true
46
Marko Manac931372020-03-14 21:02:38 +010047PRODUCT_PACKAGES += \
48 omnipreopt_script
49
micky38718f07ac2019-06-10 00:40:50 +020050# ANT+
51PRODUCT_PACKAGES += \
52 AntHalService
53
micky38782dbd1a2019-09-17 08:11:02 +020054# Api
55PRODUCT_SHIPPING_API_LEVEL := 28
56
micky38718f07ac2019-06-10 00:40:50 +020057# audio
LuK133769135952018-09-09 17:39:16 +020058PRODUCT_COPY_FILES += \
micky3877564a9b2020-12-30 22:14:37 +010059 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio/audio_policy_configuration.xml \
60 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio_policy_configuration.xml \
61 $(LOCAL_PATH)/audio/audio_policy_volumes_ZS630KL.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio_policy_volumes_ZS630KL.xml
LuK133769135952018-09-09 17:39:16 +020062
micky3871f4e8bf2020-12-30 22:02:51 +010063# Bluetooth
64PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/commonsys/packages/apps/Bluetooth
65PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/commonsys/system/bt/conf
66
67PRODUCT_PACKAGE_OVERLAYS += vendor/qcom/opensource/commonsys-intf/bluetooth/overlay/qva
68
69PRODUCT_PACKAGES += BluetoothExt
70PRODUCT_PACKAGES += libbluetooth_qti
71PRODUCT_PACKAGES += vendor.qti.hardware.bluetooth_dun-V1.0-java
72
micky387e96abca2019-06-11 02:35:20 +020073# Boot control
Hridya Valsaraju9bf18142018-08-21 21:22:37 -070074PRODUCT_PACKAGES += \
75 android.hardware.boot@1.0-impl.recovery \
76 bootctrl.msmnile.recovery
77
micky387e96abca2019-06-11 02:35:20 +020078PRODUCT_PACKAGES_DEBUG += \
79 bootctl
80
micky38795b3a992019-06-11 03:21:49 +020081# Charger images
82PRODUCT_PACKAGES += \
83 omni_charger_res_images \
84 animation.txt \
85 font_charger.png
86
micky38754bf1022019-07-03 03:31:11 +020087# DeviceParts
88PRODUCT_PACKAGES += \
Marko Man015b6782019-09-26 03:22:20 +020089 DeviceParts \
micky3879844ec52019-08-07 20:16:37 +020090 OmniDisplayManager
micky38754bf1022019-07-03 03:31:11 +020091
micky38718f07ac2019-06-10 00:40:50 +020092# Display
93PRODUCT_PACKAGES += \
94 libion \
95 libtinyxml2
96
97PRODUCT_PACKAGES += \
98 libtinyalsa
99
Fenglin Wuc1f19de2018-07-10 10:51:08 +0800100# Exclude vibrator from InputManager
101PRODUCT_COPY_FILES += \
102 $(LOCAL_PATH)/configs/excluded-input-devices.xml:system/etc/excluded-input-devices.xml
103
micky3872a9055a2019-08-22 22:37:25 +0200104# FM
mickael saibia701b822021-02-13 15:43:55 +0100105PRODUCT_PACKAGES += \
micky3872a9055a2019-08-22 22:37:25 +0200106 FM2 \
107 libqcomfm_jni \
108 qcom.fmradio
109
mickael saibia701b822021-02-13 15:43:55 +0100110PRODUCT_BOOT_JARS += qcom.fmradio
micky3872a9055a2019-08-22 22:37:25 +0200111
micky38722c3b452020-01-04 07:59:01 +0100112# Frameworks
113PRODUCT_PACKAGES += \
114 FrameworksResOverlay
115
micky3872e9a6b72019-07-02 20:48:08 +0200116# Input
117PRODUCT_COPY_FILES += \
118 $(LOCAL_PATH)/keylayout/fts_ts.kl:system/usr/keylayout/fts_ts.kl \
Demon000b9538f12019-05-23 21:11:03 +0200119 $(LOCAL_PATH)/keylayout/goodixfp.kl:system/usr/keylayout/goodixfp.kl \
120 $(LOCAL_PATH)/keylayout/googlekey_input.kl:system/usr/keylayout/googlekey_input.kl
micky3872e9a6b72019-07-02 20:48:08 +0200121
micky38718f07ac2019-06-10 00:40:50 +0200122# Live Wallpapers
123PRODUCT_PACKAGES += \
124 LiveWallpapers \
125 LiveWallpapersPicker \
126 VisualizationWallpapers \
127 librs_jni
128
micky387e5ae8c72019-08-07 20:01:48 +0200129# NFC - NQ (NXP)
micky3870f68c2b2019-09-11 14:28:27 +0200130#PRODUCT_PACKAGES += \
micky387e5ae8c72019-08-07 20:01:48 +0200131 Tag \
132 com.android.nfc_extras
133
micky3870f68c2b2019-09-11 14:28:27 +0200134#PRODUCT_PACKAGES += \
micky387e5ae8c72019-08-07 20:01:48 +0200135 android.hardware.nfc@1.1 \
136 android.hardware.nfc@1.0
137
micky38718f07ac2019-06-10 00:40:50 +0200138# Prebuilt
139PRODUCT_COPY_FILES += \
140 $(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/system,system) \
micky387d4a72722021-01-04 18:26:14 +0100141 $(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/recovery,recovery/root)
micky38718f07ac2019-06-10 00:40:50 +0200142
micky3874a9d7842019-10-14 20:53:12 +0200143PRODUCT_AAPT_CONFIG := normal
micky38718f07ac2019-06-10 00:40:50 +0200144PRODUCT_AAPT_PREF_CONFIG := xxhdpi
145
micky38782dbd1a2019-09-17 08:11:02 +0200146# Properties
147BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
148
micky38718f07ac2019-06-10 00:40:50 +0200149# Netutils
150PRODUCT_PACKAGES += \
151 netutils-wrapper-1.0 \
152 libandroid_net
153
154PRODUCT_PACKAGES += \
155 vndk_package
156
157PRODUCT_PACKAGES += \
158 android.hidl.base@1.0
159
micky3879ed76f02019-11-10 08:07:45 +0100160# Remove unwanted packages
161PRODUCT_PACKAGES += \
micky387e568a8a2019-12-05 20:38:19 +0100162 RemovePackages
micky3879ed76f02019-11-10 08:07:45 +0100163
Bruno Martinsff55cad2019-09-05 12:17:15 +0100164# Soong namespaces
165PRODUCT_SOONG_NAMESPACES += \
166 $(LOCAL_PATH)
167
micky38797fff402020-12-30 23:10:35 +0100168# Systemhelper
169PRODUCT_PACKAGES += \
170 vendor.qti.hardware.systemhelper@1.0
171
micky3877fec5952019-09-28 10:19:41 +0200172# Telephony
173PRODUCT_PACKAGES += \
174 ims-ext-common \
175 ims_ext_common.xml \
176 qti-telephony-hidl-wrapper \
177 qti_telephony_hidl_wrapper.xml \
178 qti-telephony-utils \
micky3878459a0c2020-05-01 18:24:34 +0200179 qti_telephony_utils.xml \
180 tcmiface
micky3877fec5952019-09-28 10:19:41 +0200181
micky387be0ade62019-06-11 03:20:23 +0200182# Update engine
183PRODUCT_PACKAGES += \
184 otapreopt_script \
micky387be0ade62019-06-11 03:20:23 +0200185 update_engine \
186 update_engine_sideload \
187 update_verifier
188
micky3870f68c2b2019-09-11 14:28:27 +0200189PRODUCT_HOST_PACKAGES += \
190 brillo_update_payload
191
micky387be0ade62019-06-11 03:20:23 +0200192PRODUCT_PACKAGES_DEBUG += \
193 update_engine_client
194
micky38718f07ac2019-06-10 00:40:50 +0200195# WiFi Display
196PRODUCT_PACKAGES += \
197 libnl
micky387d58b6432020-10-09 04:09:07 +0200198
199include vendor/qcom/opensource/display-commonsys-intf/config/display-product-system.mk