1# 2# Copyright 2020 Arm Ltd. All rights reserved. 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$(call inherit-product, $(LOCAL_PATH)/minimal_system.mk) 18 19$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) 20 21$(call inherit-product, $(SRC_TARGET_DIR)/product/core_no_zygote.mk) 22 23PRODUCT_NAME := fvp_mini 24PRODUCT_DEVICE := fvpbase 25PRODUCT_BRAND := Android 26PRODUCT_MODEL := AOSP on FVP 27PRODUCT_SOONG_NAMESPACES += device/generic/goldfish 28 29PRODUCT_SHIPPING_API_LEVEL := 29 30PRODUCT_USE_DYNAMIC_PARTITIONS := true 31PRODUCT_FULL_TREBLE_OVERRIDE := true 32PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false 33PRODUCT_BUILD_BOOT_IMAGE := true 34 35# Use a multilib setup (see fvpbase/BoardConfig.mk). 36FVP_MULTILIB_BUILD ?= true 37 38# The check would fail because there are no boot jars. 39SKIP_BOOT_JARS_CHECK ?= true 40 41PRODUCT_PACKAGES += \ 42 com.android.runtime \ 43 init_vendor \ 44 ip \ 45 ping \ 46 selinux_policy_nonsystem \ 47 48PRODUCT_HOST_PACKAGES += \ 49 bind_to_localhost 50 51PRODUCT_COPY_FILES += \ 52 device/generic/goldfish/fvpbase/fstab.fvpbase:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.fvpbase \ 53 device/generic/goldfish/fvpbase/fstab.qemu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qemu \ 54 device/generic/goldfish/fvpbase/fstab.initrd:$(TARGET_COPY_OUT_RAMDISK)/fstab.fvpbase \ 55 device/generic/goldfish/fvpbase/fstab.initrd:$(TARGET_COPY_OUT_RAMDISK)/fstab.qemu \ 56 device/generic/goldfish/fvpbase/init.fvpbase.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.fvpbase.rc \ 57 device/generic/goldfish/fvpbase/init.qemu.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qemu.rc \ 58 device/generic/goldfish/fvpbase/mini_network.rc:system/etc/init/mini_network.rc \ 59 device/generic/goldfish/fvpbase/mini_network.sh:/system/bin/mini_network.sh \ 60 device/generic/goldfish/fvpbase/required_images:required_images \ 61