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