2 # Copyright (C) 2018 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 LOCAL_PATH
:= device
/samsung
/a5xelte
19 $(call inherit-product
, $(SRC_TARGET_DIR
)/product
/languages_full.mk
)
22 PRODUCT_COPY_FILES
+= \
23 $(LOCAL_PATH
)/configs
/audio
/mixer_paths.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/mixer_paths_0.xml
28 audio_amplifier.universal7580 \
32 TARGET_BOOTANIMATION_PRELOAD
:= true
33 TARGET_BOOTANIMATION_TEXTURE_CACHE
:= true
34 TARGET_SCREEN_HEIGHT
:= 1920
35 TARGET_SCREEN_WIDTH
:= 1080
38 PRODUCT_COPY_FILES
+= \
39 $(LOCAL_PATH
)/bluetooth
/bt_vendor.conf
:system
/etc
/bluetooth
/bt_vendor.conf
42 android.hardware.bluetooth@
1.0-service
47 libbauthtzcommon_shim \
48 android.hardware.biometrics.fingerprint@
2.1-impl \
49 android.hardware.biometrics.fingerprint@
2.1-service
53 camera.universal7580 \
57 PRODUCT_COPY_FILES
+= \
58 $(LOCAL_PATH
)/configs
/gps
/gps.conf
:system
/etc
/gps.conf \
59 $(LOCAL_PATH
)/configs
/gps
/gps.xml
:system
/etc
/gps.xml
61 # hardware/samsung/AdvancedDisplay (MDNIE)
66 # Device uses high-density artwork where available
67 PRODUCT_AAPT_CONFIG
:= xlarge
68 PRODUCT_AAPT_PREF_CONFIG
:= xhdpi
69 # A list of dpis to select prebuilt apk, in precedence order.
70 PRODUCT_AAPT_PREBUILT_DPI
:= hdpi mdpi
73 PRODUCT_COPY_FILES
+= \
74 $(LOCAL_PATH
)/manifest.xml
:$(TARGET_COPY_OUT_VENDOR
)/manifest.xml
77 PRODUCT_COPY_FILES
+= \
78 $(LOCAL_PATH
)/keylayout
/gpio_keys.kl
:system
/usr
/keylayout
/gpio_keys.kl \
79 $(LOCAL_PATH
)/keylayout
/sec_touchkey.kl
:system
/usr
/keylayout
/sec_touchkey.kl
82 PRODUCT_COPY_FILES
+= \
83 $(LOCAL_PATH
)/configs
/nfc
/libnfc-sec-hal.conf
:system
/etc
/libnfc-sec-hal.conf \
84 $(LOCAL_PATH
)/configs
/nfc
/libnfc-sec.conf
:system
/etc
/libnfc-nci.conf \
85 $(LOCAL_PATH
)/configs
/nfc
/nfcee_access.xml
:system
/etc
/nfcee_access.xml
92 com.android.nfc_extras \
93 android.hardware.nfc@
1.0-impl
96 PRODUCT_COPY_FILES
+= \
97 frameworks
/native
/data
/etc
/android.hardware.bluetooth_le.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.bluetooth_le.xml \
98 frameworks
/native
/data
/etc
/android.hardware.camera.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.xml \
99 frameworks
/native
/data
/etc
/android.hardware.camera.flash-autofocus.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.flash-autofocus.xml \
100 frameworks
/native
/data
/etc
/android.hardware.sensor.accelerometer.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.accelerometer.xml \
101 frameworks
/native
/data
/etc
/android.hardware.sensor.proximity.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.proximity.xml \
102 frameworks
/native
/data
/etc
/android.hardware.telephony.gsm.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.telephony.gsm.xml \
103 frameworks
/native
/data
/etc
/android.software.midi.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.software.midi.xml \
104 frameworks
/native
/data
/etc
/handheld_core_hardware.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/handheld_core_hardware.xml \
105 frameworks
/native
/data
/etc
/android.hardware.ethernet.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.ethernet.xml \
106 frameworks
/native
/data
/etc
/android.hardware.sensor.compass.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.compass.xml \
107 frameworks
/native
/data
/etc
/android.hardware.sensor.gyroscope.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.gyroscope.xml \
108 frameworks
/native
/data
/etc
/android.hardware.sensor.heartrate.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.heartrate.xml \
109 frameworks
/native
/data
/etc
/android.hardware.sensor.light.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.light.xml \
110 frameworks
/native
/data
/etc
/android.hardware.sensor.stepcounter.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.stepcounter.xml \
111 frameworks
/native
/data
/etc
/android.hardware.sensor.stepdetector.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.stepdetector.xml \
112 frameworks
/native
/data
/etc
/android.hardware.nfc.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.nfc.xml \
113 frameworks
/native
/data
/etc
/android.hardware.nfc.hce.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.nfc.hce.xml \
114 frameworks
/native
/data
/etc
/com.android.nfc_extras.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/com.android.nfc_extras.xml \
115 frameworks
/native
/data
/etc
/android.hardware.fingerprint.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.fingerprint.xml \
116 $(LOCAL_PATH
)/configs
/permissions
/com.samsung.permission.HRM_EXT.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/com.samsung.permission.HRM_EXT.xml \
117 $(LOCAL_PATH
)/configs
/permissions
/com.samsung.permission.SSENSOR.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/com.samsung.permission.SSENSOR.xml
120 PRODUCT_PACKAGES
+= \
124 PRODUCT_PACKAGES
+= \
125 libprotobuf-cpp-full \
132 libsecril-client-sap \
133 android.hardware.radio@
1.1 \
134 android.hardware.radio.deprecated@
1.0
136 PRODUCT_COPY_FILES
+= \
137 device
/samsung
/universal7580-common
/configs
/init
/rild.rc
:$(TARGET_COPY_OUT_VENDOR
)/etc
/init
/rild.legacy.rc
140 DEVICE_PACKAGE_OVERLAYS
+= $(LOCAL_PATH
)/overlay
142 # Vendor security patch level (vendor blobs from A510FXXS8CSC1)
143 PRODUCT_PROPERTY_OVERRIDES
+= \
144 ro.lineage.build.vendor_security_patch
=2019-04-01
147 PRODUCT_COPY_FILES
+= \
148 $(LOCAL_PATH
)/configs
/wifi
/cred.conf
:system
/etc
/wifi
/cred.conf \
149 $(LOCAL_PATH
)/configs
/wifi
/wpa_supplicant_overlay.conf
:$(TARGET_COPY_OUT_VENDOR
)/etc
/wifi
/wpa_supplicant_overlay.conf \
150 $(LOCAL_PATH
)/configs
/wifi
/p2p_supplicant_overlay.conf
:$(TARGET_COPY_OUT_VENDOR
)/etc
/wifi
/p2p_supplicant_overlay.conf \
151 $(LOCAL_PATH
)/configs
/wifi
/filter_ie
:system
/etc
/wifi
/filter_ie
154 -include $(LOCAL_PATH
)/system_prop.mk
156 # Inherit from universal7580-common
157 $(call inherit-product
, device
/samsung
/universal7580-common
/device-common.mk
)
159 # Call the proprietary setup
160 $(call inherit-product
, vendor
/samsung
/a5xelte
/a5xelte-vendor.mk
)