1 # Copyright (C) 2017-2020 The LineageOS Project
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 LOCAL_PATH
:= device
/samsung
/j7elte
17 $(call inherit-product
, $(SRC_TARGET_DIR
)/product
/languages_full.mk
)
20 PRODUCT_COPY_FILES
+= \
21 $(LOCAL_PATH
)/configs
/audio
/mixer_paths.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/mixer_paths_0.xml
24 PRODUCT_COPY_FILES
+= \
25 $(LOCAL_PATH
)/bluetooth
/bt_vendor.conf
:system
/etc
/bluetooth
/bt_vendor.conf
28 android.hardware.bluetooth@
1.0-service
31 TARGET_BOOTANIMATION_PRELOAD
:= true
32 TARGET_BOOTANIMATION_TEXTURE_CACHE
:= true
33 TARGET_SCREEN_HEIGHT
:= 1280
34 TARGET_SCREEN_WIDTH
:= 720
38 camera.universal7580 \
42 TARGET_SCREEN_DENSITY
:= 320
45 PRODUCT_AAPT_CONFIG
:= normal
46 PRODUCT_AAPT_PREF_CONFIG
:= xhdpi
47 PRODUCT_AAPT_PREBUILT_DPI
:= hdpi mdpi
50 PRODUCT_COPY_FILES
+= \
51 $(LOCAL_PATH
)/keylayout
/gpio_keys.kl
:system
/usr
/keylayout
/gpio_keys.kl \
52 $(LOCAL_PATH
)/keylayout
/sec_touchkey.kl
:system
/usr
/keylayout
/sec_touchkey.kl
55 DEVICE_PACKAGE_OVERLAYS
+= $(LOCAL_PATH
)/overlay
58 PRODUCT_COPY_FILES
+= \
59 frameworks
/native
/data
/etc
/android.hardware.bluetooth_le.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.bluetooth_le.xml \
60 frameworks
/native
/data
/etc
/android.hardware.camera.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.xml \
61 frameworks
/native
/data
/etc
/android.hardware.camera.flash-autofocus.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.flash-autofocus.xml \
62 frameworks
/native
/data
/etc
/android.hardware.camera.front.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.front.xml \
63 frameworks
/native
/data
/etc
/android.hardware.ethernet.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.ethernet.xml \
64 frameworks
/native
/data
/etc
/android.software.midi.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.software.midi.xml \
65 frameworks
/native
/data
/etc
/android.hardware.sensor.accelerometer.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.accelerometer.xml \
66 frameworks
/native
/data
/etc
/android.hardware.sensor.proximity.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.proximity.xml \
67 frameworks
/native
/data
/etc
/android.hardware.telephony.gsm.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.telephony.gsm.xml \
68 frameworks
/native
/data
/etc
/handheld_core_hardware.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/handheld_core_hardware.xml \
69 $(LOCAL_PATH
)/configs
/permissions
/com.samsung.permission.HRM_EXT.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/com.samsung.permission.HRM_EXT.xml \
70 $(LOCAL_PATH
)/configs
/permissions
/com.samsung.permission.SSENSOR.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/com.samsung.permission.SSENSOR.xml
73 -include $(LOCAL_PATH
)/system_prop.mk
77 libprotobuf-cpp-full \
84 libsecril-client-sap \
85 android.hardware.radio@
1.1 \
86 android.hardware.radio.deprecated@
1.0
88 PRODUCT_COPY_FILES
+= \
89 device
/samsung
/universal7580-common
/configs
/init
/rild.rc
:$(TARGET_COPY_OUT_VENDOR
)/etc
/init
/rild.legacy.rc
95 # Vendor security patch level
96 PRODUCT_PROPERTY_OVERRIDES
+= \
97 ro.lineage.build.vendor_security_patch
=2018-04-01
100 PRODUCT_COPY_FILES
+= \
101 $(LOCAL_PATH
)/configs
/wifi
/cred.conf
:system
/etc
/wifi
/cred.conf \
102 $(LOCAL_PATH
)/configs
/wifi
/wpa_supplicant_overlay.conf
:$(TARGET_COPY_OUT_VENDOR
)/etc
/wifi
/wpa_supplicant_overlay.conf \
103 $(LOCAL_PATH
)/configs
/wifi
/p2p_supplicant_overlay.conf
:$(TARGET_COPY_OUT_VENDOR
)/etc
/wifi
/p2p_supplicant_overlay.conf \
104 $(LOCAL_PATH
)/configs
/wifi
/filter_ie
:system
/etc
/wifi
/filter_ie
106 # Inherit from universal7580-common
107 $(call inherit-product
, device
/samsung
/universal7580-common
/device-common.mk
)
109 # Call the proprietary setup
110 $(call inherit-product
, vendor
/samsung
/j7elte
/j7elte-vendor.mk
)