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
37 PRODUCT_COPY_FILES
+= \
38 $(LOCAL_PATH
)/configs
/gps
/gps.conf
:system
/etc
/gps.conf \
39 $(LOCAL_PATH
)/configs
/gps
/gps.xml
:system
/etc
/gps.xml
42 PRODUCT_COPY_FILES
+= \
43 $(LOCAL_PATH
)/manifest.xml
:$(TARGET_COPY_OUT_VENDOR
)/manifest.xml
46 PRODUCT_COPY_FILES
+= \
47 $(LOCAL_PATH
)/keylayout
/gpio_keys.kl
:system
/usr
/keylayout
/gpio_keys.kl \
48 $(LOCAL_PATH
)/keylayout
/sec_touchkey.kl
:system
/usr
/keylayout
/sec_touchkey.kl
51 PRODUCT_COPY_FILES
+= \
52 frameworks
/native
/data
/etc
/android.hardware.bluetooth_le.xml
:system
/etc
/permissions
/android.hardware.bluetooth_le.xml \
53 frameworks
/native
/data
/etc
/android.hardware.camera.xml
:system
/etc
/permissions
/android.hardware.camera.xml \
54 frameworks
/native
/data
/etc
/android.hardware.camera.flash-autofocus.xml
:system
/etc
/permissions
/android.hardware.camera.flash-autofocus.xml \
55 frameworks
/native
/data
/etc
/android.hardware.camera.front.xml
:system
/etc
/permissions
/android.hardware.camera.front.xml \
56 frameworks
/native
/data
/etc
/android.hardware.ethernet.xml
:system
/etc
/permissions
/android.hardware.ethernet.xml \
57 frameworks
/native
/data
/etc
/android.software.midi.xml
:system
/etc
/permissions
/android.software.midi.xml \
58 frameworks
/native
/data
/etc
/android.hardware.sensor.accelerometer.xml
:system
/etc
/permissions
/android.hardware.sensor.accelerometer.xml \
59 frameworks
/native
/data
/etc
/android.hardware.sensor.proximity.xml
:system
/etc
/permissions
/android.hardware.sensor.proximity.xml \
60 frameworks
/native
/data
/etc
/android.hardware.telephony.gsm.xml
:system
/etc
/permissions
/android.hardware.telephony.gsm.xml \
61 frameworks
/native
/data
/etc
/handheld_core_hardware.xml
:system
/etc
/permissions
/handheld_core_hardware.xml
64 -include $(LOCAL_PATH
)/system_prop.mk
68 libprotobuf-cpp-full \
75 libsecril-client-sap \
76 android.hardware.radio@
1.1 \
77 android.hardware.radio.deprecated@
1.0
79 PRODUCT_COPY_FILES
+= \
80 device
/samsung
/universal7580-common
/configs
/init
/rild.rc
:$(TARGET_COPY_OUT_VENDOR
)/etc
/init
/rild.rc
87 PRODUCT_COPY_FILES
+= \
88 $(LOCAL_PATH
)/configs
/wifi
/cred.conf
:system
/etc
/wifi
/cred.conf \
89 $(LOCAL_PATH
)/configs
/wifi
/wpa_supplicant_overlay.conf
:system
/etc
/wifi
/wpa_supplicant_overlay.conf \
90 $(LOCAL_PATH
)/configs
/wifi
/p2p_supplicant_overlay.conf
:system
/etc
/wifi
/p2p_supplicant_overlay.conf \
91 $(LOCAL_PATH
)/configs
/wifi
/filter_ie
:system
/etc
/wifi
/filter_ie
93 # Inherit from universal7580-common
94 $(call inherit-product
, device
/samsung
/universal7580-common
/device-common.mk
)
96 # Call the proprietary setup
97 $(call inherit-product
, vendor
/samsung
/j7elte
/j7elte-vendor.mk
)