1#
2# Copyright (C) 2021 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# This makefile contains the system_ext partition contents for CTS on
18# GSI compliance testing. Only add something here for this purpose.
19$(call inherit-product, $(SRC_TARGET_DIR)/product/media_system_ext.mk)
20
21#  handheld packages
22PRODUCT_PACKAGES += \
23    Launcher3QuickStep \
24    Provision \
25    Settings \
26    StorageManager \
27    SystemUI
28
29#  telephony packages
30PRODUCT_PACKAGES += \
31    CarrierConfig
32
33# Add all of the packages used to support older/upgrading devices
34# These can be removed as we drop support for the older API levels
35PRODUCT_PACKAGES += \
36    $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29) \
37    $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_33) \
38    $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_34)
39
40# Install a copy of the debug policy to the system_ext partition, and allow
41# init-second-stage to load debug policy from system_ext.
42# This option is only meant to be set by compliance GSI targets.
43PRODUCT_INSTALL_DEBUG_POLICY_TO_SYSTEM_EXT := true
44PRODUCT_PACKAGES += system_ext_userdebug_plat_sepolicy.cil
45