blob: 59fa59f5d152b8071936e88fa9766c8164eb328c [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#
micky38718f07ac2019-06-10 00:40:50 +020022
micky387a8d96182019-06-11 13:36:14 +020023# Overlays
24DEVICE_PACKAGE_OVERLAYS += \
micky387733b7712020-08-11 04:10:19 +020025 $(LOCAL_PATH)/overlay
micky38718f07ac2019-06-10 00:40:50 +020026
micky387de2761a2022-06-21 16:32:51 +020027PRODUCT_PACKAGES += \
28 FrameworksResDeviceOverlay \
29 FrameworksResVendorOverlay \
30 SystemUIDeviceOverlay
31
micky387981bc002022-06-21 21:57:01 +020032ifeq ($(ROM_BUILDTYPE),$(filter $(ROM_BUILDTYPE),GAPPS))
33# Android Auto
34PRODUCT_PACKAGES += \
35 AndroidAutoStub
36endif
37
micky38782dbd1a2019-09-17 08:11:02 +020038# Api
Chirayu Desai8f7517f2024-06-13 21:10:42 +053039BOARD_SHIPPING_API_LEVEL := 29
40PRODUCT_SHIPPING_API_LEVEL := $(BOARD_SHIPPING_API_LEVEL)
micky38782dbd1a2019-09-17 08:11:02 +020041
micky38718f07ac2019-06-10 00:40:50 +020042# audio
LuK133769135952018-09-09 17:39:16 +020043PRODUCT_COPY_FILES += \
micky38700aa32b2023-05-26 12:41:29 +020044 $(LOCAL_PATH)/audio/audio_effects_ZS670KS.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
micky387b9e88d92022-10-27 12:12:50 +020045 $(LOCAL_PATH)/audio/audio_policy_configuration_ZS670KS.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
46 $(LOCAL_PATH)/audio/audio_policy_configuration_ZS670KS.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
47 $(LOCAL_PATH)/audio/audio_policy_volumes_ZS670KS.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes_ZS670KS.xml
micky387e5ae8c72019-08-07 20:01:48 +020048
Luca Stefani498b0d72019-08-19 14:32:44 +020049# Camera
50PRODUCT_PACKAGES += \
51 CameraTile
52
Alexander Koskovich190deb22020-12-03 10:26:15 +000053# Configstore
54PRODUCT_PACKAGES += \
55 disable_configstore
56
Michael Bestas9ee1e9c2024-09-11 00:04:13 +030057# DRM
58PRODUCT_PACKAGES += \
Nolen Johnsond7698852024-10-27 16:57:40 -040059 libcrypto_shim.vendor
Michael Bestas9ee1e9c2024-09-11 00:04:13 +030060
micky38733ff3eb2023-12-10 13:26:54 +010061# Fingerprint
62PRODUCT_PACKAGES += \
Bruno Martins04e390c2024-11-13 20:06:44 -050063 android.hardware.biometrics.fingerprint@2.1-service \
64 libhidlbase_shim
micky38733ff3eb2023-12-10 13:26:54 +010065
CLF BBNac0a2f32025-01-13 17:50:02 -050066# Health for charing control
67PRODUCT_PACKAGES += \
68 vendor.lineage.health-service.default
69
micky387c8029542020-08-16 05:36:29 +020070# Input
Sebastiano Barezzie78b6af2024-11-14 18:34:21 -050071PRODUCT_PACKAGES += \
72 fts_ts.idc
73
74PRODUCT_PACKAGES += \
75 fts_ts.kl \
76 goodixfp.kl
micky387c8029542020-08-16 05:36:29 +020077
micky3874ca06d42022-12-26 15:50:52 +010078# Perf
79PRODUCT_PACKAGES += \
80 vendor.qti.hardware.perf@2.3 \
81 vendor.qti.hardware.perf@2.3.vendor
82
micky38718f07ac2019-06-10 00:40:50 +020083# Prebuilt
84PRODUCT_COPY_FILES += \
micky3876e308742020-09-20 02:54:09 +020085 $(call find-copy-subdir-files,*,device/asus/zenfone7/prebuilt/system,system) \
micky387b9e88d92022-10-27 12:12:50 +020086 $(call find-copy-subdir-files,*,device/asus/zenfone7/prebuilt/root,recovery/root) \
87 $(call find-copy-subdir-files,*,device/asus/zenfone7/prebuilt/vendor,vendor)
micky38718f07ac2019-06-10 00:40:50 +020088
micky3874a9d7842019-10-14 20:53:12 +020089PRODUCT_AAPT_CONFIG := normal
micky38718f07ac2019-06-10 00:40:50 +020090PRODUCT_AAPT_PREF_CONFIG := xxhdpi
91
micky3876e308742020-09-20 02:54:09 +020092# Ramdisk
93PRODUCT_COPY_FILES += \
94 $(LOCAL_PATH)/fstab.qcom:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom
95
micky3874e123942022-12-29 10:27:40 +010096# Shims
97PRODUCT_PACKAGES += \
98 libgui_shim
99
Bruno Martinsff55cad2019-09-05 12:17:15 +0100100# Soong namespaces
101PRODUCT_SOONG_NAMESPACES += \
102 $(LOCAL_PATH)
103
micky387d8508962022-10-27 16:46:50 +0200104# Vibrator
105PRODUCT_PACKAGES += \
106 vendor.qti.hardware.vibrator.service
107
micky387733b7712020-08-11 04:10:19 +0200108# Inherit from asus sm8250-common
109$(call inherit-product, device/asus/sm8250-common/common.mk)
micky3877fec5952019-09-28 10:19:41 +0200110
micky387733b7712020-08-11 04:10:19 +0200111# Inherit from vendor blobs
micky387effa7b72022-06-23 17:34:01 +0200112$(call inherit-product, vendor/asus/zenfone7/zenfone7-vendor.mk)