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# 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, device/google/cuttlefish/shared/wear/aosp_system.mk) 22 23# Cuttlefish uses A/B with system_b preopt, so we must install these 24PRODUCT_PACKAGES += \ 25 cppreopts.sh \ 26 otapreopt_script \ 27 28# Hacks to boot with basic AOSP system apps 29PRODUCT_PACKAGES += \ 30 Contacts \ 31 Launcher3QuickStep \ 32 Provision \ 33 Settings \ 34 StorageManager \ 35 SystemUI \ 36 37PRODUCT_COPY_FILES += \ 38 frameworks/native/data/etc/android.software.app_widgets.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.app_widgets.xml \ 39 40# 41# All components inherited here go to system_ext image 42# 43$(call inherit-product, device/google/cuttlefish/shared/wear/aosp_system_ext.mk) 44 45# 46# All components inherited here go to product image 47# 48$(call inherit-product, device/google/cuttlefish/shared/wear/aosp_product.mk) 49 50# 51# All components inherited here go to vendor image 52# 53$(call inherit-product, device/google/cuttlefish/shared/wear/aosp_vendor.mk) 54$(call inherit-product, device/google/cuttlefish/shared/wear/device_vendor.mk) 55 56# 57# Special settings for the target 58# 59$(call inherit-product, device/google/cuttlefish/vsoc_x86_64/bootloader.mk) 60 61# Exclude features that are not available on AOSP devices. 62PRODUCT_COPY_FILES += \ 63 frameworks/native/data/etc/aosp_excluded_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/aosp_excluded_hardware.xml \ 64 65PRODUCT_NAME := aosp_cf_x86_64_wear 66PRODUCT_DEVICE := vsoc_x86_64_only 67PRODUCT_MANUFACTURER := Google 68PRODUCT_MODEL := Cuttlefish x86 wearable 64-bit only 69 70PRODUCT_VENDOR_PROPERTIES += \ 71 ro.soc.manufacturer=$(PRODUCT_MANUFACTURER) \ 72 ro.soc.model=$(PRODUCT_DEVICE) 73