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 17# 18# All components inherited here go to system image 19# 20$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) 21$(call inherit-product, packages/services/Car/car_product/build/car_generic_system.mk) 22 23# FIXME: generic_system.mk sets 'PRODUCT_ENFORCE_RRO_TARGETS := *' 24# but this breaks phone_car. So undo it here. 25PRODUCT_ENFORCE_RRO_TARGETS := frameworks-res 26 27PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := true 28 29# HSUM is currently incompatible with telephony. 30# TODO(b/283853205): Properly disable telephony using per-partition makefile. 31TARGET_NO_TELEPHONY := true 32 33# 34# All components inherited here go to system_ext image 35# 36$(call inherit-product, packages/services/Car/car_product/build/car_system_ext.mk) 37 38# 39# All components inherited here go to product image 40# 41$(call inherit-product, packages/services/Car/car_product/build/car_product.mk) 42 43# 44# All components inherited here go to vendor image 45# 46$(call inherit-product, device/google/cuttlefish/shared/auto/device_vendor.mk) 47 48# 49# Special settings for the target 50# 51$(call inherit-product, device/google/cuttlefish/vsoc_x86_64/kernel.mk) 52$(call inherit-product, device/google/cuttlefish/vsoc_x86_64/bootloader.mk) 53 54# Exclude features that are not available on AOSP devices. 55PRODUCT_COPY_FILES += \ 56 frameworks/native/data/etc/aosp_excluded_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/aosp_excluded_hardware.xml 57 58PRODUCT_NAME := aosp_cf_x86_64_only_auto 59PRODUCT_DEVICE := vsoc_x86_64_only 60PRODUCT_MANUFACTURER := Google 61PRODUCT_MODEL := Cuttlefish x86_64 auto 64-bit only 62 63PRODUCT_VENDOR_PROPERTIES += \ 64 ro.soc.manufacturer=$(PRODUCT_MANUFACTURER) \ 65 ro.soc.model=$(PRODUCT_DEVICE) 66