1# 2# Copyright (C) 2019 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# The makefile contains the special settings for MGSI. 19# This makefile is used for the products/targets to release MGSI. 20# 21# For example: 22# - MGSI contains skip_mount.cfg to skip mounting prodcut paritition 23# - MGSI contains more VNDK packages to support old version vendors 24# - etc. 25# 26 27# Exclude all files under system/product and system/system_ext 28PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \ 29 system/product/% \ 30 system/system_ext/% 31 32# apex is not available before Q 33# Properties set in system (here) take precedence over those in vendor. 34PRODUCT_PRODUCT_PROPERTIES += \ 35 ro.apex.updatable=false 36 37# Split selinux policy 38PRODUCT_FULL_TREBLE_OVERRIDE := true 39 40# Enable dynamic partition size 41PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true 42 43# Needed by Pi newly launched device to pass VtsTrebleSysProp on MGSI 44PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true 45 46# MGSI specific tasks on boot 47PRODUCT_PACKAGES += \ 48 gsi_skip_mount.cfg \ 49 init.gsi.rc \ 50 51# Support additional P and Q VNDK packages 52PRODUCT_EXTRA_VNDK_VERSIONS := 28 29 53