Commit | Line | Data |
---|---|---|
fd684260 DT |
1 | # Copyright (C) 2017-2020 The LineageOS Project |
2 | # | |
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 | |
6 | # | |
7 | # http://www.apache.org/licenses/LICENSE-2.0 | |
8 | # | |
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. | |
14 | ||
15 | LOCAL_PATH := device/samsung/j7elte | |
16 | ||
17 | $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) | |
18 | ||
56283fcd DT |
19 | # Audio |
20 | PRODUCT_COPY_FILES += \ | |
21 | $(LOCAL_PATH)/configs/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_0.xml | |
22 | ||
9427e63c DW |
23 | # Bluetooth |
24 | PRODUCT_COPY_FILES += \ | |
25 | $(LOCAL_PATH)/bluetooth/bt_vendor.conf:system/etc/bluetooth/bt_vendor.conf | |
26 | ||
27 | PRODUCT_PACKAGES += \ | |
28 | android.hardware.bluetooth@1.0-service | |
29 | ||
12452abf DT |
30 | # Boot animation |
31 | TARGET_BOOTANIMATION_PRELOAD := true | |
32 | TARGET_BOOTANIMATION_TEXTURE_CACHE := true | |
33 | TARGET_SCREEN_HEIGHT := 1280 | |
34 | TARGET_SCREEN_WIDTH := 720 | |
35 | ||
2dc00a1d DT |
36 | # GPS |
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 | |
40 | ||
4ee44697 DT |
41 | # HIDL Manifest |
42 | PRODUCT_COPY_FILES += \ | |
43 | $(LOCAL_PATH)/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml | |
44 | ||
aaf02026 DW |
45 | # Keylayouts |
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 | |
49 | ||
d3708b05 DT |
50 | # Permissions |
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 | |
62 | ||
12371f36 DT |
63 | # Properties |
64 | -include $(LOCAL_PATH)/system_prop.mk | |
65 | ||
bf4ad9d9 DW |
66 | # Radio |
67 | PRODUCT_PACKAGES += \ | |
68 | libprotobuf-cpp-full \ | |
69 | libsecril-client \ | |
70 | modemloader \ | |
71 | libxml2 \ | |
72 | rild \ | |
73 | libril \ | |
74 | libreference-ril \ | |
75 | libsecril-client-sap \ | |
76 | android.hardware.radio@1.1 \ | |
77 | android.hardware.radio.deprecated@1.0 | |
78 | ||
79 | PRODUCT_COPY_FILES += \ | |
80 | device/samsung/universal7580-common/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc | |
81 | ||
fd684260 DT |
82 | # Ramdisk |
83 | PRODUCT_PACKAGES += \ | |
84 | init.target.rc | |
85 | ||
80b500f9 DT |
86 | # Vendor security patch level |
87 | PRODUCT_PROPERTY_OVERRIDES += \ | |
88 | ro.lineage.build.vendor_security_patch=2018-04-01 | |
89 | ||
d4994ca2 DW |
90 | # Wi-fi |
91 | PRODUCT_COPY_FILES += \ | |
92 | $(LOCAL_PATH)/configs/wifi/cred.conf:system/etc/wifi/cred.conf \ | |
93 | $(LOCAL_PATH)/configs/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \ | |
94 | $(LOCAL_PATH)/configs/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \ | |
95 | $(LOCAL_PATH)/configs/wifi/filter_ie:system/etc/wifi/filter_ie | |
96 | ||
fd684260 DT |
97 | # Inherit from universal7580-common |
98 | $(call inherit-product, device/samsung/universal7580-common/device-common.mk) | |
776859ba DW |
99 | |
100 | # Call the proprietary setup | |
101 | $(call inherit-product, vendor/samsung/j7elte/j7elte-vendor.mk) |