2 # Copyright (C) 2020 The LineageOS Project
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 COMMON_PATH
:= device
/motorola
/exynos9610-common
19 $(call inherit-product
, $(SRC_TARGET_DIR
)/product
/product_launched_with_p.mk
)
21 # Get non-open-source specific aspects
22 $(call inherit-product-if-exists
, vendor
/motorola
/exynos9610-common
/exynos9610-common-vendor.mk
)
24 DEVICE_PACKAGE_OVERLAYS
+= $(COMMON_PATH
)/overlay
27 AB_OTA_UPDATER
:= true
29 AB_OTA_PARTITIONS
+= \
35 AB_OTA_POSTINSTALL_CONFIG
+= \
36 RUN_POSTINSTALL_system
=true \
37 POSTINSTALL_PATH_system
=system
/bin
/otapreopt_script \
38 FILESYSTEM_TYPE_system
=ext4 \
39 POSTINSTALL_OPTIONAL_system
=true
44 update_engine_sideload \
51 TARGET_BOOTANIMATION_PRELOAD
:= true
52 TARGET_BOOTANIMATION_TEXTURE_CACHE
:= true
53 TARGET_SCREEN_HEIGHT
:= 2520
54 TARGET_SCREEN_WIDTH
:= 1080
62 # Device uses high-density artwork where available
63 PRODUCT_AAPT_CONFIG
:= xlarge
64 PRODUCT_AAPT_PREF_CONFIG
:= xxxhdpi
65 # A list of dpis to select prebuilt apk, in precedence order.
66 PRODUCT_AAPT_PREBUILT_DPI
:= xxxhdpi xxhdpi xhdpi hdpi
69 PRODUCT_COPY_FILES
+= \
70 $(COMMON_PATH
)/configs
/privapp-permissions-hotword.xml
:system
/etc
/permissions
/privapp-permissions-hotword.xml
73 PRODUCT_COPY_FILES
+= \
74 $(COMMON_PATH
)/configs
/init
/init.recovery.exynos9610.rc
:$(TARGET_COPY_OUT_ROOT
)/init.recovery.exynos9610.rc
81 com.android.nfc_extras
84 PRODUCT_COPY_FILES
+= \
85 frameworks
/native
/data
/etc
/android.hardware.telephony.ims.xml
:system
/etc
/permissions
/android.hardware.telephony.ims.xml \
86 frameworks
/native
/data
/etc
/android.hardware.nfc.xml
:system
/etc
/permissions
/android.hardware.nfc.xml \
87 frameworks
/native
/data
/etc
/android.hardware.nfc.hce.xml
:system
/etc
/permissions
/android.hardware.nfc.hce.xml \
88 frameworks
/native
/data
/etc
/android.hardware.nfc.hce.xml
:system
/etc
/permissions
/android.hardware.nfc.hcef.xml