| # 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/device-vendor.mk) |
| $(call inherit-product-if-exists, vendor/gapps/arm64/arm64-vendor.mk) |
| |
| #from build treble includes |
| PRODUCT_COPY_FILES += \ |
| system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc \ |
| system/core/rootdir/init.zygote32_64.rc:root/init.zygote32_64.rc |
| |
| # Overlays |
| DEVICE_PACKAGE_OVERLAYS += \ |
| $(LOCAL_PATH)/overlay |
| |
| # A/B |
| AB_OTA_PARTITIONS += \ |
| boot \ |
| dtbo \ |
| system \ |
| vbmeta |
| |
| AB_OTA_POSTINSTALL_CONFIG += \ |
| RUN_POSTINSTALL_system=true \ |
| POSTINSTALL_PATH_system=system/bin/otapreopt_script \ |
| FILESYSTEM_TYPE_system=ext4 \ |
| POSTINSTALL_OPTIONAL_system=true |
| |
| # ANT+ |
| PRODUCT_PACKAGES += \ |
| AntHalService |
| |
| # audio |
| PRODUCT_PACKAGES += \ |
| audio.a2dp.default |
| |
| PRODUCT_COPY_FILES += \ |
| $(LOCAL_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml |
| |
| # Boot control |
| PRODUCT_PACKAGES_DEBUG += \ |
| bootctl |
| |
| PRODUCT_STATIC_BOOT_CONTROL_HAL := \ |
| bootctrl.msmnile \ |
| libcutils \ |
| libgptutils \ |
| libz |
| |
| # Camera |
| PRODUCT_PACKAGES += \ |
| SnapdragonCamera2 |
| |
| # Charger images |
| PRODUCT_PACKAGES += \ |
| omni_charger_res_images \ |
| animation.txt \ |
| font_charger.png |
| |
| # DeviceParts |
| PRODUCT_PACKAGES += \ |
| DeviceParts |
| |
| # Display |
| PRODUCT_PACKAGES += \ |
| libion \ |
| libtinyxml2 |
| |
| PRODUCT_PACKAGES += \ |
| libtinyalsa |
| |
| PRODUCT_PACKAGES += \ |
| ld.config.txt |
| |
| # Exclude vibrator from InputManager |
| PRODUCT_COPY_FILES += \ |
| $(LOCAL_PATH)/configs/excluded-input-devices.xml:system/etc/excluded-input-devices.xml |
| |
| # 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 |
| |
| # Live Wallpapers |
| PRODUCT_PACKAGES += \ |
| LiveWallpapers \ |
| LiveWallpapersPicker \ |
| VisualizationWallpapers \ |
| librs_jni |
| |
| # Media |
| PRODUCT_COPY_FILES += \ |
| $(LOCAL_PATH)/configs/media_profiles_vendor.xml:system/etc/media_profiles_vendor.xml |
| |
| # Prebuilt |
| PRODUCT_COPY_FILES += \ |
| $(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/system,system) \ |
| $(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/root,root) |
| |
| PRODUCT_AAPT_CONFIG := xxhdpi |
| PRODUCT_AAPT_PREF_CONFIG := xxhdpi |
| |
| # Rootdir |
| PRODUCT_COPY_FILES += \ |
| $(LOCAL_PATH)/recovery.fstab:system/etc/fstab.qcom |
| |
| # Netutils |
| PRODUCT_PACKAGES += \ |
| netutils-wrapper-1.0 \ |
| libandroid_net |
| |
| PRODUCT_PACKAGES += \ |
| vndk_package |
| |
| PRODUCT_PACKAGES += \ |
| android.hidl.base@1.0 |
| |
| PRODUCT_PACKAGES += \ |
| vendor.display.config@1.7 |
| |
| # Telephony |
| PRODUCT_PACKAGES += \ |
| telephony-ext |
| |
| PRODUCT_BOOT_JARS += \ |
| telephony-ext |
| |
| # SP-NDK: |
| PRODUCT_PACKAGES += \ |
| libvulkan |
| |
| # Update engine |
| PRODUCT_PACKAGES += \ |
| otapreopt_script \ |
| brillo_update_payload \ |
| update_engine \ |
| update_engine_sideload \ |
| update_verifier |
| |
| PRODUCT_PACKAGES_DEBUG += \ |
| update_engine_client |
| |
| # WiFi Display |
| PRODUCT_PACKAGES += \ |
| libnl |