# # Copyright (C) 2022 The Android Open Source 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. # PRODUCT_MANIFEST_FILES += device/google/cuttlefish/shared/config/product_manifest.xml SYSTEM_EXT_MANIFEST_FILES += device/google/cuttlefish/shared/config/system_ext_manifest.xml $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk) ifneq ($(LOCAL_PREFER_VENDOR_APEX),true) PRODUCT_COPY_FILES += \ frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml PRODUCT_PACKAGES += slim_excluded_hardware.prebuilt.xml endif $(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) $(call inherit-product, device/google/cuttlefish/shared/device.mk) PRODUCT_VENDOR_PROPERTIES += \ keyguard.no_require_sim=true \ ro.cdma.home.operator.alpha=Android \ ro.cdma.home.operator.numeric=302780 \ ro.com.android.dataroaming=true \ ro.telephony.default_network=9 \ TARGET_USES_CF_RILD ?= true ifeq ($(TARGET_USES_CF_RILD),true) ifeq ($(LOCAL_PREFER_VENDOR_APEX),true) PRODUCT_PACKAGES += com.google.cf.rild else PRODUCT_PACKAGES += \ libcuttlefish-ril-2 \ libcuttlefish-rild endif endif PRODUCT_VENDOR_PROPERTIES += \ debug.hwui.drawing_enabled=0 \ ifneq ($(LOCAL_PREFER_VENDOR_APEX),true) PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.biometrics.face.xml \ frameworks/native/data/etc/android.hardware.faketouch.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.faketouch.xml \ frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \ 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 endif # Runtime Resource Overlays ifeq ($(LOCAL_PREFER_VENDOR_APEX),true) PRODUCT_PACKAGES += \ com.google.aosp_cf_phone.rros \ com.google.aosp_cf_slim.rros else PRODUCT_PACKAGES += \ cuttlefish_phone_overlay_frameworks_base_core \ slim_overlay_frameworks_base_core endif TARGET_BOARD_INFO_FILE ?= device/google/cuttlefish/shared/slim/android-info.txt