blob: e753c3f0bf8a1948edd65c1ccf301098e06dcb36 [file] [log] [blame]
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2019 The OmniRom Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This file is the build configuration for a full Android
# build for grouper hardware. This cleanly combines a set of
# device-specific aspects (drivers) with a device-agnostic
# product configuration (apps).
#
$(call inherit-product, vendor/asus/zenfone6/zenfone6-vendor.mk)
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
vendor/omni/overlay/CarrierConfig
# VNDK
PRODUCT_TARGET_VNDK_VERSION := 30
# A/B
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
boot \
dtbo \
system \
vbmeta
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/omnipreopt_script \
FILESYSTEM_TYPE_system=ext4 \
POSTINSTALL_OPTIONAL_system=true
PRODUCT_PACKAGES += \
omnipreopt_script
# ANT+
PRODUCT_PACKAGES += \
AntHalService
# Api
PRODUCT_SHIPPING_API_LEVEL := 28
# audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio/audio_policy_configuration.xml \
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio_policy_configuration.xml \
$(LOCAL_PATH)/audio/audio_policy_volumes_ZS630KL.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio_policy_volumes_ZS630KL.xml
# Bluetooth
PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/commonsys/packages/apps/Bluetooth
PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/commonsys/system/bt/conf
PRODUCT_PACKAGE_OVERLAYS += vendor/qcom/opensource/commonsys-intf/bluetooth/overlay/qva
PRODUCT_PACKAGES += BluetoothExt
PRODUCT_PACKAGES += libbluetooth_qti
PRODUCT_PACKAGES += vendor.qti.hardware.bluetooth_dun-V1.0-java
# Boot control
PRODUCT_PACKAGES += \
android.hardware.boot@1.0-impl.recovery \
bootctrl.msmnile.recovery
PRODUCT_PACKAGES_DEBUG += \
bootctl
# Charger images
PRODUCT_PACKAGES += \
omni_charger_res_images \
animation.txt \
font_charger.png
# DeviceParts
PRODUCT_PACKAGES += \
DeviceParts \
OmniDisplayManager
# Display
PRODUCT_PACKAGES += \
libion \
libtinyxml2
PRODUCT_PACKAGES += \
libtinyalsa
# Exclude vibrator from InputManager
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/excluded-input-devices.xml:system/etc/excluded-input-devices.xml
# FM
PRODUCT_PACKAGES += \
FM2 \
libqcomfm_jni \
qcom.fmradio
PRODUCT_BOOT_JARS += qcom.fmradio
# Frameworks
PRODUCT_PACKAGES += \
FrameworksResOverlay
# Input
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keylayout/fts_ts.kl:system/usr/keylayout/fts_ts.kl \
$(LOCAL_PATH)/keylayout/goodixfp.kl:system/usr/keylayout/goodixfp.kl \
$(LOCAL_PATH)/keylayout/googlekey_input.kl:system/usr/keylayout/googlekey_input.kl
# Live Wallpapers
PRODUCT_PACKAGES += \
LiveWallpapers \
LiveWallpapersPicker \
VisualizationWallpapers \
librs_jni
# NFC - NQ (NXP)
#PRODUCT_PACKAGES += \
Tag \
com.android.nfc_extras
#PRODUCT_PACKAGES += \
android.hardware.nfc@1.1 \
android.hardware.nfc@1.0
# Prebuilt
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/system,system) \
$(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/recovery,recovery/root)
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
# Properties
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
# Netutils
PRODUCT_PACKAGES += \
netutils-wrapper-1.0 \
libandroid_net
PRODUCT_PACKAGES += \
vndk_package
PRODUCT_PACKAGES += \
android.hidl.base@1.0
# Remove unwanted packages
PRODUCT_PACKAGES += \
RemovePackages
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Systemhelper
PRODUCT_PACKAGES += \
vendor.qti.hardware.systemhelper@1.0
# Telephony
PRODUCT_PACKAGES += \
ims-ext-common \
ims_ext_common.xml \
qti-telephony-hidl-wrapper \
qti_telephony_hidl_wrapper.xml \
qti-telephony-utils \
qti_telephony_utils.xml \
tcmiface
# Update engine
PRODUCT_PACKAGES += \
otapreopt_script \
update_engine \
update_engine_sideload \
update_verifier
PRODUCT_HOST_PACKAGES += \
brillo_update_payload
PRODUCT_PACKAGES_DEBUG += \
update_engine_client
# WiFi
PRODUCT_PACKAGES += \
libnl \
WifiOverlay
include vendor/qcom/opensource/display-commonsys-intf/config/display-product-system.mk