1#
2# Copyright (C) 2019 The Android Open Source 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
17PRODUCT_MANIFEST_FILES += device/google/cuttlefish/shared/config/product_manifest.xml
18SYSTEM_EXT_MANIFEST_FILES += device/google/cuttlefish/shared/config/system_ext_manifest.xml
19
20$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk)
21$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk)
22
23PRODUCT_COPY_FILES += \
24    frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
25
26$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
27$(call inherit-product, device/google/cuttlefish/shared/device.mk)
28
29PRODUCT_PROPERTY_OVERRIDES += \
30    keyguard.no_require_sim=true \
31    ro.cdma.home.operator.alpha=Android \
32    ro.cdma.home.operator.numeric=302780 \
33    ro.com.android.dataroaming=true \
34    vendor.rild.libpath=libcuttlefish-ril.so \
35
36# TODO: not existing anymore?
37PRODUCT_PACKAGES += \
38    Phone \
39    PhoneService \
40
41PRODUCT_PACKAGES += \
42    libcuttlefish-ril \
43    libcuttlefish-ril-2 \
44    libcuttlefish-rild
45
46PRODUCT_COPY_FILES += \
47    frameworks/native/data/etc/android.hardware.faketouch.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.faketouch.xml \
48    frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml
49
50DEVICE_PACKAGE_OVERLAYS += device/google/cuttlefish/shared/phone/overlay
51