Tim Zimmermann | e55ca1e | 2021-06-13 09:54:15 +0200 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2020-2021 The LineageOS Project |
| 3 | # |
| 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 |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 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. |
| 15 | # |
| 16 | |
| 17 | # Inherit from the common tree |
| 18 | $(call inherit-product, device/samsung/gta4xl-common/common.mk) |
| 19 | |
| 20 | # Inherit proprietary files |
Tim Zimmermann | d7d74ab | 2020-09-18 13:28:34 +0200 | [diff] [blame] | 21 | $(call inherit-product, vendor/samsung/gta4xl/gta4xl-vendor.mk) |
| 22 | |
Tim Zimmermann | e55ca1e | 2021-06-13 09:54:15 +0200 | [diff] [blame] | 23 | # Setup dalvik vm configs |
Tim Zimmermann | d7d74ab | 2020-09-18 13:28:34 +0200 | [diff] [blame] | 24 | $(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk) |
| 25 | |
Tim Zimmermann | e55ca1e | 2021-06-13 09:54:15 +0200 | [diff] [blame] | 26 | # init |
| 27 | PRODUCT_COPY_FILES += \ |
| 28 | $(LOCAL_PATH)/configs/init/init.vendor.rilchip.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.vendor.rilchip.rc \ |
| 29 | $(LOCAL_PATH)/configs/init/init.vendor.rilcommon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.vendor.rilcommon.rc |
Tim Zimmermann | d7d74ab | 2020-09-18 13:28:34 +0200 | [diff] [blame] | 30 | |
Tim Zimmermann | e55ca1e | 2021-06-13 09:54:15 +0200 | [diff] [blame] | 31 | # Overlays |
| 32 | DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay |
Tim Zimmermann | 3600e8d | 2021-07-30 12:58:36 +0200 | [diff] [blame] | 33 | |
| 34 | # Permissions |
| 35 | PRODUCT_COPY_FILES += \ |
| 36 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 37 | frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml |