1# 2# Copyright 2020 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# Makefile for the system-only partial build of aosp_redfin. 18# Used for creating a merged Vendor Freeze device. 19 20PRODUCT_VENDOR_FREEZE_SYSTEM_BUILD := true 21 22# Include VNDK v30, needed by the Android 11 vendor half. 23PRODUCT_EXTRA_VNDK_VERSIONS = 30 24 25# Include a product compatibility matrix file that includes older HALs provided 26# by the Android 11 vendor half. This is needed because check_vintf fails for 27# any "unused" HALs in the device manifest that aren't found in the framework 28# compatibility matrix. 29PRODUCT_PACKAGES += redfin_product_compatibility_matrix.R.5.xml 30 31# Disable building certain non-system partitions in this build. 32PRODUCT_BUILD_BOOT_IMAGE := false 33PRODUCT_BUILD_RAMDISK_IMAGE := false 34PRODUCT_BUILD_RECOVERY_IMAGE := false 35PRODUCT_BUILD_VBMETA_IMAGE := false 36PRODUCT_BUILD_VENDOR_IMAGE := false 37PRODUCT_BUILD_VENDOR_BOOT_IMAGE := false 38 39$(call inherit-product, device/google/redfin/aosp_redfin.mk) 40 41PRODUCT_NAME := aosp_redfin_vf 42