blob: a0da9259a58eed79a5bd97049717b46fff54f71a [file] [log] [blame]
#
# Copyright (C) 2020-2021 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Inherit from the common tree
$(call inherit-product, device/samsung/gta4xl-common/common.mk)
# Inherit proprietary files
$(call inherit-product, vendor/samsung/gta4xl/gta4xl-vendor.mk)
# Setup dalvik vm configs
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml
# RIL
PRODUCT_PACKAGES += \
android.hardware.radio@1.2.vendor:64 \
android.hardware.radio.config-V1-ndk.vendor:64 \
android.hardware.radio.data-V1-ndk.vendor:64 \
android.hardware.radio.messaging-V1-ndk.vendor:64 \
android.hardware.radio.modem-V1-ndk.vendor:64 \
android.hardware.radio.network-V1-ndk.vendor:64 \
android.hardware.radio.sim-V1-ndk.vendor:64 \
android.hardware.radio.voice-V1-ndk.vendor:64
PRODUCT_PACKAGES += \
libdsms_vendor:64
PRODUCT_PACKAGES += \
secril_config_svc \
sehradiomanager
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/ril/sehradiomanager.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sehradiomanager.conf