Home | History | Annotate | Download | only in phone
      1 #
      2 # Copyright (C) 2017 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 
     17 DEVICE_MANIFEST_FILE += device/google/cuttlefish/shared/config/manifest.xml
     18 
     19 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
     20 $(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
     21 $(call inherit-product, device/google/cuttlefish/shared/device.mk)
     22 
     23 PRODUCT_CHARACTERISTICS := nosdcard
     24 
     25 PRODUCT_PROPERTY_OVERRIDES += \
     26     keyguard.no_require_sim=true \
     27     ro.cdma.home.operator.alpha=Android \
     28     ro.cdma.home.operator.numeric=302780 \
     29     vendor.rild.libpath=libcuttlefish-ril.so \
     30 
     31 PRODUCT_PACKAGES += \
     32     MmsService \
     33     Phone \
     34     PhoneService \
     35     Telecom \
     36     TeleService \
     37     libcuttlefish-ril \
     38     libcuttlefish-rild
     39 
     40 PRODUCT_COPY_FILES += \
     41     frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml
     42 
     43 # These flags are important for the GSI, but break auto
     44 PRODUCT_ENFORCE_RRO_TARGETS := framework-res
     45 PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS := device/google/cuttlefish/shared/overlay
     46 
     47 TARGET_USE_DYNAMIC_PARTITIONS ?= true
     48 ifeq ($(TARGET_USE_DYNAMIC_PARTITIONS),true)
     49   PRODUCT_USE_DYNAMIC_PARTITIONS := true
     50   TARGET_BUILD_SYSTEM_ROOT_IMAGE := false
     51 else
     52   TARGET_BUILD_SYSTEM_ROOT_IMAGE ?= true
     53 endif
     54