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_64_bit_only.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 35OVERRIDE_TARGET_FLATTEN_APEX := true 36 37# Use a multilib setup (see fvpbase/BoardConfig.mk). 38FVP_MULTILIB_BUILD ?= true 39 40# The check would fail because there are no boot jars. 41SKIP_BOOT_JARS_CHECK ?= true 42 43PRODUCT_PACKAGES += \ 44 com.android.runtime \ 45 gdbserver \ 46 init_vendor \ 47 ip \ 48 ping \ 49 selinux_policy_nonsystem \ 50 51PRODUCT_HOST_PACKAGES += \ 52 bind_to_localhost 53 54PRODUCT_COPY_FILES += \ 55 device/generic/goldfish/fvpbase/fstab.fvpbase:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.fvpbase \ 56 device/generic/goldfish/fvpbase/fstab.qemu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qemu \ 57 device/generic/goldfish/fvpbase/fstab.initrd:$(TARGET_COPY_OUT_RAMDISK)/fstab.fvpbase \ 58 device/generic/goldfish/fvpbase/fstab.initrd:$(TARGET_COPY_OUT_RAMDISK)/fstab.qemu \ 59 device/generic/goldfish/fvpbase/init.fvpbase.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.fvpbase.rc \ 60 device/generic/goldfish/fvpbase/init.qemu.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qemu.rc \ 61 device/generic/goldfish/fvpbase/mini_network.rc:system/etc/init/mini_network.rc \ 62 device/generic/goldfish/fvpbase/mini_network.sh:/system/bin/mini_network.sh \ 63 device/generic/goldfish/fvpbase/required_images:required_images \ 64