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
+= \
36 AB_OTA_POSTINSTALL_CONFIG
+= \
37 RUN_POSTINSTALL_system
=true \
38 POSTINSTALL_PATH_system
=system
/bin
/otapreopt_script \
39 FILESYSTEM_TYPE_system
=ext4 \
40 POSTINSTALL_OPTIONAL_system
=true
45 update_engine_sideload \
52 TARGET_BOOTANIMATION_PRELOAD
:= true
53 TARGET_BOOTANIMATION_TEXTURE_CACHE
:= true
54 TARGET_SCREEN_HEIGHT
:= 2520
55 TARGET_SCREEN_WIDTH
:= 1080
63 # Device uses high-density artwork where available
64 PRODUCT_AAPT_CONFIG
:= xlarge
65 PRODUCT_AAPT_PREF_CONFIG
:= xxxhdpi
66 # A list of dpis to select prebuilt apk, in precedence order.
67 PRODUCT_AAPT_PREBUILT_DPI
:= xxxhdpi xxhdpi xhdpi hdpi
70 PRODUCT_COPY_FILES
+= \
71 $(COMMON_PATH
)/configs
/privapp-permissions-hotword.xml
:system
/etc
/permissions
/privapp-permissions-hotword.xml
74 PRODUCT_COPY_FILES
+= \
75 $(COMMON_PATH
)/configs
/init
/init.recovery.exynos9610.rc
:$(TARGET_COPY_OUT_ROOT
)/init.recovery.exynos9610.rc
82 com.android.nfc_extras
85 PRODUCT_COPY_FILES
+= \
86 frameworks
/native
/data
/etc
/android.hardware.audio.low_latency.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.audio.low_latency.xml \
87 frameworks
/native
/data
/etc
/android.hardware.biometrics.face.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.biometrics.face.xml \
88 frameworks
/native
/data
/etc
/android.hardware.bluetooth.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.bluetooth.xml \
89 frameworks
/native
/data
/etc
/android.hardware.bluetooth_le.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.bluetooth_le.xml \
90 frameworks
/native
/data
/etc
/android.hardware.camera.flash-autofocus.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.flash-autofocus.xml \
91 frameworks
/native
/data
/etc
/android.hardware.camera.front.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.front.xml \
92 frameworks
/native
/data
/etc
/android.hardware.camera.full.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.full.xml \
93 frameworks
/native
/data
/etc
/android.hardware.camera.raw.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.raw.xml \
94 frameworks
/native
/data
/etc
/android.hardware.camera.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.xml \
95 frameworks
/native
/data
/etc
/android.hardware.fingerprint.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.fingerprint.xml \
96 frameworks
/native
/data
/etc
/android.hardware.location.gps.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.location.gps.xml \
97 frameworks
/native
/data
/etc
/android.hardware.opengles.aep.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.opengles.aep.xml \
98 frameworks
/native
/data
/etc
/android.hardware.sensor.accelerometer.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.accelerometer.xml \
99 frameworks
/native
/data
/etc
/android.hardware.sensor.compass.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.compass.xml \
100 frameworks
/native
/data
/etc
/android.hardware.sensor.gyroscope.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.gyroscope.xml \
101 frameworks
/native
/data
/etc
/android.hardware.sensor.light.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.light.xml \
102 frameworks
/native
/data
/etc
/android.hardware.sensor.proximity.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.proximity.xml \
103 frameworks
/native
/data
/etc
/android.hardware.sensor.stepcounter.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.stepcounter.xml \
104 frameworks
/native
/data
/etc
/android.hardware.sensor.stepdetector.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.stepdetector.xml \
105 frameworks
/native
/data
/etc
/android.hardware.telephony.cdma.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.telephony.cdma.xml \
106 frameworks
/native
/data
/etc
/android.hardware.telephony.gsm.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.telephony.gsm.xml \
107 frameworks
/native
/data
/etc
/android.hardware.touchscreen.multitouch.jazzhand.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.touchscreen.multitouch.jazzhand.xml \
108 frameworks
/native
/data
/etc
/android.hardware.usb.accessory.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.usb.accessory.xml \
109 frameworks
/native
/data
/etc
/android.hardware.usb.host.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.usb.host.xml \
110 frameworks
/native
/data
/etc
/android.hardware.vulkan.compute-0.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.vulkan.compute.xml \
111 frameworks
/native
/data
/etc
/android.hardware.vulkan.level-1.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.vulkan.level.xml \
112 frameworks
/native
/data
/etc
/android.hardware.vulkan.version-1_1.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.vulkan.version.xml \
113 frameworks
/native
/data
/etc
/android.hardware.wifi.aware.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.wifi.aware.xml \
114 frameworks
/native
/data
/etc
/android.hardware.wifi.direct.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.wifi.direct.xml \
115 frameworks
/native
/data
/etc
/android.hardware.wifi.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.wifi.xml \
116 frameworks
/native
/data
/etc
/android.software.midi.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.software.midi.xml \
117 frameworks
/native
/data
/etc
/handheld_core_hardware.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/handheld_core_hardware.xml
119 PRODUCT_COPY_FILES
+= \
120 frameworks
/native
/data
/etc
/android.hardware.telephony.ims.xml
:system
/etc
/permissions
/android.hardware.telephony.ims.xml \
121 frameworks
/native
/data
/etc
/android.hardware.nfc.xml
:system
/etc
/permissions
/android.hardware.nfc.xml \
122 frameworks
/native
/data
/etc
/android.hardware.nfc.hce.xml
:system
/etc
/permissions
/android.hardware.nfc.hce.xml \
123 frameworks
/native
/data
/etc
/android.hardware.nfc.hce.xml
:system
/etc
/permissions
/android.hardware.nfc.hcef.xml
126 PRODUCT_PACKAGES
+= \
127 android.hardware.wifi@
1.0-service \
134 wpa_supplicant.conf \