blob: fdd6219411f385575bad81356109115029d34097 [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
micky387d8e31eb2021-02-19 21:23:59 +0100116# HIDL
117PRODUCT_PACKAGES += \
Vachounet726ab212021-01-27 15:32:48 +0100118 android.hidl.base@1.0 \
119 android.hidl.manager@1.0 \
micky387d8e31eb2021-02-19 21:23:59 +0100120 libhidltransport \
121 libhwbinder
122
micky3872e9a6b72019-07-02 20:48:08 +0200123# Input
124PRODUCT_COPY_FILES += \
125 $(LOCAL_PATH)/keylayout/fts_ts.kl:system/usr/keylayout/fts_ts.kl \
Demon000b9538f12019-05-23 21:11:03 +0200126 $(LOCAL_PATH)/keylayout/goodixfp.kl:system/usr/keylayout/goodixfp.kl \
127 $(LOCAL_PATH)/keylayout/googlekey_input.kl:system/usr/keylayout/googlekey_input.kl
micky3872e9a6b72019-07-02 20:48:08 +0200128
micky38718f07ac2019-06-10 00:40:50 +0200129# Live Wallpapers
130PRODUCT_PACKAGES += \
131 LiveWallpapers \
132 LiveWallpapersPicker \
133 VisualizationWallpapers \
134 librs_jni
135
micky387e5ae8c72019-08-07 20:01:48 +0200136# NFC - NQ (NXP)
micky3870f68c2b2019-09-11 14:28:27 +0200137#PRODUCT_PACKAGES += \
micky387e5ae8c72019-08-07 20:01:48 +0200138 Tag \
139 com.android.nfc_extras
140
micky3870f68c2b2019-09-11 14:28:27 +0200141#PRODUCT_PACKAGES += \
micky387e5ae8c72019-08-07 20:01:48 +0200142 android.hardware.nfc@1.1 \
143 android.hardware.nfc@1.0
144
micky38718f07ac2019-06-10 00:40:50 +0200145# Prebuilt
146PRODUCT_COPY_FILES += \
147 $(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/system,system) \
micky387d4a72722021-01-04 18:26:14 +0100148 $(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/recovery,recovery/root)
micky38718f07ac2019-06-10 00:40:50 +0200149
micky3874a9d7842019-10-14 20:53:12 +0200150PRODUCT_AAPT_CONFIG := normal
micky38718f07ac2019-06-10 00:40:50 +0200151PRODUCT_AAPT_PREF_CONFIG := xxhdpi
152
micky38782dbd1a2019-09-17 08:11:02 +0200153# Properties
154BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
155
micky38718f07ac2019-06-10 00:40:50 +0200156# Netutils
157PRODUCT_PACKAGES += \
158 netutils-wrapper-1.0 \
159 libandroid_net
160
161PRODUCT_PACKAGES += \
162 vndk_package
163
micky3879ed76f02019-11-10 08:07:45 +0100164# Remove unwanted packages
165PRODUCT_PACKAGES += \
micky387e568a8a2019-12-05 20:38:19 +0100166 RemovePackages
micky3879ed76f02019-11-10 08:07:45 +0100167
Bruno Martinsff55cad2019-09-05 12:17:15 +0100168# Soong namespaces
169PRODUCT_SOONG_NAMESPACES += \
170 $(LOCAL_PATH)
171
micky38797fff402020-12-30 23:10:35 +0100172# Systemhelper
173PRODUCT_PACKAGES += \
174 vendor.qti.hardware.systemhelper@1.0
175
micky3877fec5952019-09-28 10:19:41 +0200176# Telephony
177PRODUCT_PACKAGES += \
178 ims-ext-common \
179 ims_ext_common.xml \
180 qti-telephony-hidl-wrapper \
181 qti_telephony_hidl_wrapper.xml \
182 qti-telephony-utils \
micky3878459a0c2020-05-01 18:24:34 +0200183 qti_telephony_utils.xml \
184 tcmiface
micky3877fec5952019-09-28 10:19:41 +0200185
micky387be0ade62019-06-11 03:20:23 +0200186# Update engine
187PRODUCT_PACKAGES += \
188 otapreopt_script \
micky387be0ade62019-06-11 03:20:23 +0200189 update_engine \
190 update_engine_sideload \
191 update_verifier
192
micky3870f68c2b2019-09-11 14:28:27 +0200193PRODUCT_HOST_PACKAGES += \
194 brillo_update_payload
195
micky387be0ade62019-06-11 03:20:23 +0200196PRODUCT_PACKAGES_DEBUG += \
197 update_engine_client
198
Roshan Piusa72d5ee2020-04-24 14:33:28 -0700199# WiFi
micky38718f07ac2019-06-10 00:40:50 +0200200PRODUCT_PACKAGES += \
Weilun Du7a3891c2020-08-21 14:45:14 -0700201 TetheringOverlay \
Roshan Piusa72d5ee2020-04-24 14:33:28 -0700202 WifiOverlay
micky387d58b6432020-10-09 04:09:07 +0200203
micky387d8e31eb2021-02-19 21:23:59 +0100204# Wifi Display
205PRODUCT_PACKAGES += \
206 libavservices_minijail \
207 libnl \
208
209PRODUCT_BOOT_JARS += \
210 WfdCommon
211
micky387d58b6432020-10-09 04:09:07 +0200212include vendor/qcom/opensource/display-commonsys-intf/config/display-product-system.mk