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# Split selinux policy
33PRODUCT_FULL_TREBLE_OVERRIDE := true
34
35# Enable dynamic partition size
36PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
37
38# Needed by Pi newly launched device to pass VtsTrebleSysProp on MGSI
39PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
40
41# MGSI specific tasks on boot
42PRODUCT_PACKAGES += \
43    gsi_skip_mount.cfg \
44    init.gsi.rc \
45
46# Support additional P and Q VNDK packages
47PRODUCT_EXTRA_VNDK_VERSIONS := 30
48