1#
2# Copyright (C) 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
17include $(SRC_TARGET_DIR)/product/gsi_release.mk
18
19PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
20    system/etc/init/init.legacy-gsi.rc \
21    system/etc/init/gsi/init.vndk-27.rc \
22    system/etc/ld.config.vndk_lite.txt \
23
24# Legacy GSI support additional O-MR1 interface
25PRODUCT_EXTRA_VNDK_VERSIONS += 27
26
27# Support for the O-MR1 devices
28PRODUCT_COPY_FILES += \
29    build/make/target/product/gsi/init.legacy-gsi.rc:system/etc/init/init.legacy-gsi.rc \
30    build/make/target/product/gsi/init.vndk-27.rc:system/etc/init/gsi/init.vndk-27.rc
31
32# Namespace configuration file for non-enforcing VNDK
33PRODUCT_PACKAGES += \
34    ld.config.vndk_lite.txt
35
36# Legacy GSI relax the compatible property checking
37PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := false
38