1# 2# Copyright (C) 2020 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# 18# All components inherited here go to system image (same as GSI system) 19# 20$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 21 22PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed 23 24# 25# All components inherited here go to system_ext image (same as GSI system_ext) 26# 27$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 28$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 29 30# 31# All components inherited here go to product image (same as GSI product) 32# 33$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 34PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false 35 36# 37# FIXME: Set up Go defaults because we are currently limited (by a U-Boot bug) 38# to 512MB of RAM 39# 40$(call inherit-product, $(SRC_TARGET_DIR)/product/go_defaults_512.mk) 41PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \ 42 system/apex/com.android.tethering.inprocess.apex \ 43 system/apex/com.android.tethering.inprocess.capex \ 44 system/app/PlatformCaptivePortalLogin/PlatformCaptivePortalLogin.apk \ 45 system/priv-app/CellBroadcastServiceModulePlatform/CellBroadcastServiceModulePlatform.apk \ 46 system/priv-app/InProcessNetworkStack/InProcessNetworkStack.apk \ 47 system/priv-app/PlatformNetworkPermissionConfig/PlatformNetworkPermissionConfig.apk \ 48 49# 50# All components inherited here go to vendor image 51# 52$(call inherit-product, device/google/cuttlefish/shared/phone/device_vendor.mk) 53 54# 55# Special settings for the target 56# 57$(call inherit-product, device/google/cuttlefish/vsoc_arm_only/kernel.mk) 58$(call inherit-product, device/google/cuttlefish/vsoc_arm_only/bootloader.mk) 59 60# Exclude features that are not available on AOSP devices. 61PRODUCT_COPY_FILES += \ 62 frameworks/native/data/etc/aosp_excluded_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/aosp_excluded_hardware.xml 63 64PRODUCT_NAME := aosp_cf_arm_only_phone 65PRODUCT_DEVICE := vsoc_arm_only 66PRODUCT_MANUFACTURER := Google 67PRODUCT_MODEL := Cuttlefish arm phone 32-bit only 68 69PRODUCT_VENDOR_PROPERTIES += \ 70 ro.soc.manufacturer=$(PRODUCT_MANUFACTURER) \ 71 ro.soc.model=$(PRODUCT_DEVICE) 72