• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2022 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
22PRODUCT_COPY_FILES += \
23    frameworks/native/data/etc/android.software.backup.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.backup.xml \
24    frameworks/native/data/etc/android.software.connectionservice.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.connectionservice.xml \
25    frameworks/native/data/etc/android.software.device_admin.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_admin.xml \
26    frameworks/native/data/etc/wearable_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/wearable_core_hardware.xml \
27
28$(call inherit-product, device/google/cuttlefish/shared/device.mk)
29
30PRODUCT_VENDOR_PROPERTIES += \
31    keyguard.no_require_sim=true \
32    ro.cdma.home.operator.alpha=Android \
33    ro.cdma.home.operator.numeric=302780 \
34    ro.com.android.dataroaming=true \
35    ro.telephony.default_network=9 \
36
37TARGET_USES_CF_RILD ?= true
38ifeq ($(TARGET_USES_CF_RILD),true)
39$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk)
40PRODUCT_PACKAGES += \
41    libcuttlefish-ril-2 \
42    libcuttlefish-rild
43endif
44
45PRODUCT_COPY_FILES += \
46    frameworks/native/data/etc/android.hardware.audio.output.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.output.xml \
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.location.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.xml \
49    frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
50    frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
51
52# Runtime Resource Overlays
53PRODUCT_PACKAGES += \
54    cuttlefish_phone_overlay_frameworks_base_core \
55    cuttlefish_wear_overlay_frameworks_base_core \
56    cuttlefish_wear_overlay_settings_provider \
57
58PRODUCT_CHARACTERISTICS := nosdcard,watch
59
60TARGET_BOARD_INFO_FILE ?= device/google/cuttlefish/shared/wear/android-info.txt
61