blob: 99ed44ac41d2f56c8ccd88f38de6f54f845f15f0 [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#
22$(call inherit-product, vendor/asus/zenfone6/device-vendor.mk)
23$(call inherit-product-if-exists, vendor/gapps/arm64/arm64-vendor.mk)
24
25#from build treble includes
26PRODUCT_COPY_FILES += \
27 system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc \
28 system/core/rootdir/init.zygote32_64.rc:root/init.zygote32_64.rc
29
micky387a8d96182019-06-11 13:36:14 +020030# Overlays
31DEVICE_PACKAGE_OVERLAYS += \
32 $(LOCAL_PATH)/overlay
33
micky3874eedc682019-06-11 02:29:28 +020034# A/B
35AB_OTA_PARTITIONS += \
36 boot \
37 dtbo \
38 system \
39 vbmeta
40
41AB_OTA_POSTINSTALL_CONFIG += \
42 RUN_POSTINSTALL_system=true \
43 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
44 FILESYSTEM_TYPE_system=ext4 \
45 POSTINSTALL_OPTIONAL_system=true
46
micky38718f07ac2019-06-10 00:40:50 +020047# ANT+
48PRODUCT_PACKAGES += \
49 AntHalService
50
51# audio
52PRODUCT_PACKAGES += \
53 audio.a2dp.default
54
micky387e96abca2019-06-11 02:35:20 +020055# Boot control
56PRODUCT_PACKAGES_DEBUG += \
57 bootctl
58
59PRODUCT_STATIC_BOOT_CONTROL_HAL := \
micky38703cfada2019-07-27 07:43:19 +020060 bootctrl.msmnile \
micky387e96abca2019-06-11 02:35:20 +020061 libcutils \
62 libgptutils \
63 libz
64
micky38752076e82019-06-11 02:23:57 +020065# Camera
66PRODUCT_PACKAGES += \
67 SnapdragonCamera2
68
micky38795b3a992019-06-11 03:21:49 +020069# Charger images
70PRODUCT_PACKAGES += \
71 omni_charger_res_images \
72 animation.txt \
73 font_charger.png
74
micky38754bf1022019-07-03 03:31:11 +020075# DeviceParts
76PRODUCT_PACKAGES += \
77 DeviceParts
78
micky38718f07ac2019-06-10 00:40:50 +020079# Display
80PRODUCT_PACKAGES += \
81 libion \
82 libtinyxml2
83
84PRODUCT_PACKAGES += \
85 libtinyalsa
86
87PRODUCT_PACKAGES += \
88 ld.config.txt
89
micky3872e9a6b72019-07-02 20:48:08 +020090# Input
91PRODUCT_COPY_FILES += \
92 $(LOCAL_PATH)/keylayout/fts_ts.kl:system/usr/keylayout/fts_ts.kl \
93 $(LOCAL_PATH)/keylayout/goodixfp.kl:system/usr/keylayout/goodixfp.kl
94
micky38718f07ac2019-06-10 00:40:50 +020095# Live Wallpapers
96PRODUCT_PACKAGES += \
97 LiveWallpapers \
98 LiveWallpapersPicker \
99 VisualizationWallpapers \
100 librs_jni
101
micky38718f07ac2019-06-10 00:40:50 +0200102# Prebuilt
103PRODUCT_COPY_FILES += \
104 $(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/system,system) \
105 $(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/root,root)
106
107PRODUCT_AAPT_CONFIG := xxhdpi
108PRODUCT_AAPT_PREF_CONFIG := xxhdpi
109
110# Netutils
111PRODUCT_PACKAGES += \
112 netutils-wrapper-1.0 \
113 libandroid_net
114
115PRODUCT_PACKAGES += \
116 vndk_package
117
118PRODUCT_PACKAGES += \
119 android.hidl.base@1.0
120
121PRODUCT_PACKAGES += \
122 vendor.display.config@1.7
123
124# Telephony
125PRODUCT_PACKAGES += \
126 telephony-ext
127
128PRODUCT_BOOT_JARS += \
129 telephony-ext
130
131# SP-NDK:
132PRODUCT_PACKAGES += \
133 libvulkan
134
micky387be0ade62019-06-11 03:20:23 +0200135# Update engine
136PRODUCT_PACKAGES += \
137 otapreopt_script \
138 brillo_update_payload \
139 update_engine \
140 update_engine_sideload \
141 update_verifier
142
143PRODUCT_PACKAGES_DEBUG += \
144 update_engine_client
145
micky38718f07ac2019-06-10 00:40:50 +0200146# WiFi Display
147PRODUCT_PACKAGES += \
148 libnl