1# 2# Copyright (C) 2023 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# arm64 (64-bit only) page size agnostic target for Cuttlefish 19# 20 21# 22# All components inherited here go to system image (same as GSI system) 23# 24$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) 25$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 26 27PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed 28 29# 30# All components inherited here go to system_ext image (same as GSI system_ext) 31# 32$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 33$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 34 35# 36# All components inherited here go to product image (same as GSI product) 37# 38$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 39 40# 41# All components inherited here go to vendor image 42# 43$(call inherit-product, device/google/cuttlefish/shared/phone/device_vendor.mk) 44 45# Nested virtualization support 46$(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk) 47 48# 49# Special settings for the target 50# 51$(call inherit-product, device/google/cuttlefish/vsoc_arm64/bootloader.mk) 52 53# Exclude features that are not available on AOSP devices. 54PRODUCT_COPY_FILES += \ 55 frameworks/native/data/etc/aosp_excluded_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/aosp_excluded_hardware.xml 56 57PRODUCT_NAME := aosp_cf_arm64_phone_pgagnostic 58PRODUCT_DEVICE := vsoc_arm64_pgagnostic 59PRODUCT_MANUFACTURER := Google 60PRODUCT_MODEL := Cuttlefish arm64 phone 64-bit only pgagnostic 61PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 16384 62PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true 63 64PRODUCT_VENDOR_PROPERTIES += \ 65 ro.soc.manufacturer=$(PRODUCT_MANUFACTURER) \ 66 ro.soc.model=$(PRODUCT_DEVICE) 67 68PRODUCT_16K_DEVELOPER_OPTION := true 69