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
/s5neolte
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
26 TARGET_BOOTANIMATION_PRELOAD
:= true
27 TARGET_BOOTANIMATION_TEXTURE_CACHE
:= true
28 TARGET_SCREEN_HEIGHT
:= 1920
29 TARGET_SCREEN_WIDTH
:= 1080
32 PRODUCT_COPY_FILES
+= \
33 $(LOCAL_PATH
)/bluetooth
/bt_vendor.conf
:system
/etc
/bluetooth
/bt_vendor.conf
36 android.hardware.bluetooth@
1.0-service
43 PRODUCT_COPY_FILES
+= \
44 $(LOCAL_PATH
)/configs
/gps
/gps.conf
:system
/etc
/gps.conf \
45 $(LOCAL_PATH
)/configs
/gps
/gps.xml
:system
/etc
/gps.xml
47 # hardware/samsung/AdvancedDisplay (MDNIE)
52 # Device uses high-density artwork where available
53 PRODUCT_AAPT_CONFIG
:= xlarge
54 PRODUCT_AAPT_PREF_CONFIG
:= xhdpi
55 # A list of dpis to select prebuilt apk, in precedence order.
56 PRODUCT_AAPT_PREBUILT_DPI
:= hdpi mdpi
59 PRODUCT_COPY_FILES
+= \
60 $(LOCAL_PATH
)/manifest.xml
:$(TARGET_COPY_OUT_VENDOR
)/manifest.xml
63 PRODUCT_COPY_FILES
+= \
64 $(LOCAL_PATH
)/idc
/Synaptics_HID_TouchPad.idc
:system
/usr
/idc
/Synaptics_HID_TouchPad.idc \
65 $(LOCAL_PATH
)/idc
/Synaptics_RMI4_TouchPad_Sensor.idc
:system
/usr
/idc
/Synaptics_RMI4_TouchPad_Sensor.idc \
66 $(LOCAL_PATH
)/keylayout
/Button_Jack.kl
:system
/usr
/keylayout
/Button_Jack.kl \
67 $(LOCAL_PATH
)/keylayout
/gpio_keys.kl
:system
/usr
/keylayout
/gpio_keys.kl \
68 $(LOCAL_PATH
)/keylayout
/sec_touchkey.kl
:system
/usr
/keylayout
/sec_touchkey.kl
71 PRODUCT_COPY_FILES
+= \
72 $(LOCAL_PATH
)/configs
/nfc
/libnfc-sec-hal.conf
:system
/etc
/libnfc-sec-hal.conf \
73 $(LOCAL_PATH
)/configs
/nfc
/libnfc-sec.conf
:system
/etc
/libnfc-brcm.conf \
74 $(LOCAL_PATH
)/configs
/nfc
/nfcee_access.xml
:system
/etc
/nfcee_access.xml
81 com.android.nfc_extras \
82 android.hardware.nfc@
1.0-impl
84 PRODUCT_PROPERTY_OVERRIDES
+= \
88 PRODUCT_COPY_FILES
+= \
89 frameworks
/native
/data
/etc
/android.hardware.bluetooth_le.xml
:system
/etc
/permissions
/android.hardware.bluetooth_le.xml \
90 frameworks
/native
/data
/etc
/android.hardware.camera.xml
:system
/etc
/permissions
/android.hardware.camera.xml \
91 frameworks
/native
/data
/etc
/android.hardware.camera.flash-autofocus.xml
:system
/etc
/permissions
/android.hardware.camera.flash-autofocus.xml \
92 frameworks
/native
/data
/etc
/android.hardware.sensor.accelerometer.xml
:system
/etc
/permissions
/android.hardware.sensor.accelerometer.xml \
93 frameworks
/native
/data
/etc
/android.hardware.sensor.proximity.xml
:system
/etc
/permissions
/android.hardware.sensor.proximity.xml \
94 frameworks
/native
/data
/etc
/android.hardware.telephony.gsm.xml
:system
/etc
/permissions
/android.hardware.telephony.gsm.xml \
95 frameworks
/native
/data
/etc
/android.software.midi.xml
:system
/etc
/permissions
/android.software.midi.xml \
96 frameworks
/native
/data
/etc
/handheld_core_hardware.xml
:system
/etc
/permissions
/handheld_core_hardware.xml \
97 frameworks
/native
/data
/etc
/android.hardware.ethernet.xml
:system
/etc
/permissions
/android.hardware.ethernet.xml \
98 frameworks
/native
/data
/etc
/android.hardware.sensor.compass.xml
:system
/etc
/permissions
/android.hardware.sensor.compass.xml \
99 frameworks
/native
/data
/etc
/android.hardware.sensor.gyroscope.xml
:system
/etc
/permissions
/android.hardware.sensor.gyroscope.xml \
100 frameworks
/native
/data
/etc
/android.hardware.sensor.heartrate.xml
:system
/etc
/permissions
/android.hardware.sensor.heartrate.xml \
101 frameworks
/native
/data
/etc
/android.hardware.sensor.light.xml
:system
/etc
/permissions
/android.hardware.sensor.light.xml \
102 frameworks
/native
/data
/etc
/android.hardware.sensor.stepcounter.xml
:system
/etc
/permissions
/android.hardware.sensor.stepcounter.xml \
103 frameworks
/native
/data
/etc
/android.hardware.sensor.stepdetector.xml
:system
/etc
/permissions
/android.hardware.sensor.stepdetector.xml \
104 frameworks
/native
/data
/etc
/android.hardware.nfc.xml
:system
/etc
/permissions
/android.hardware.nfc.xml \
105 frameworks
/native
/data
/etc
/android.hardware.nfc.hce.xml
:system
/etc
/permissions
/android.hardware.nfc.hce.xml \
106 frameworks
/native
/data
/etc
/com.android.nfc_extras.xml
:system
/etc
/permissions
/com.android.nfc_extras.xml \
107 $(LOCAL_PATH
)/configs
/permissions
/com.samsung.permission.HRM_EXT.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/com.samsung.permission.HRM_EXT.xml \
108 $(LOCAL_PATH
)/configs
/permissions
/com.samsung.permission.SSENSOR.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/com.samsung.permission.SSENSOR.xml
111 PRODUCT_PACKAGES
+= \
115 PRODUCT_PACKAGES
+= \
116 libprotobuf-cpp-full \
123 libsecril-client-sap \
124 android.hardware.radio@
1.1 \
125 android.hardware.radio.deprecated@
1.0
127 PRODUCT_COPY_FILES
+= \
128 device
/samsung
/universal7580-common
/configs
/init
/rild.rc
:$(TARGET_COPY_OUT_VENDOR
)/etc
/init
/rild.rc
131 DEVICE_PACKAGE_OVERLAYS
+= $(LOCAL_PATH
)/overlay
133 # Vendor security patch level
134 PRODUCT_PROPERTY_OVERRIDES
+= \
135 ro.lineage.build.vendor_security_patch
=2017-03-01
138 PRODUCT_COPY_FILES
+= \
139 $(LOCAL_PATH
)/configs
/wifi
/cred.conf
:system
/etc
/wifi
/cred.conf \
140 $(LOCAL_PATH
)/configs
/wifi
/wpa_supplicant_overlay.conf
:system
/etc
/wifi
/wpa_supplicant_overlay.conf \
141 $(LOCAL_PATH
)/configs
/wifi
/p2p_supplicant_overlay.conf
:system
/etc
/wifi
/p2p_supplicant_overlay.conf \
142 $(LOCAL_PATH
)/configs
/wifi
/filter_ie
:system
/etc
/wifi
/filter_ie
145 -include $(LOCAL_PATH
)/system_prop.mk
147 # Inherit from universal7580-common
148 $(call inherit-product
, device
/samsung
/universal7580-common
/device-common.mk
)
150 # call the proprietary setup
151 $(call inherit-product
, vendor
/samsung
/s5neolte
/s5neolte-vendor.mk
)