1#
2# Copyright (C) 2018 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# Base modules and settings for recovery.
18PRODUCT_PACKAGES += \
19    adbd.recovery \
20    android.hardware.health@2.0-impl-default.recovery \
21    build_flag_vendor \
22    cgroups.recovery.json \
23    charger.recovery \
24    init_second_stage.recovery \
25    ld.config.recovery.txt \
26    linker.recovery \
27    otacerts.recovery \
28    recovery \
29    servicemanager.recovery \
30    shell_and_utilities_recovery \
31    watchdogd.recovery \
32
33PRODUCT_VENDOR_PROPERTIES += \
34    ro.recovery.usb.vid?=18D1 \
35    ro.recovery.usb.adb.pid?=D001 \
36    ro.recovery.usb.fastboot.pid?=4EE0 \
37
38# These had been pulled in via init_second_stage.recovery, but may not be needed.
39PRODUCT_HOST_PACKAGES += \
40    e2fsdroid \
41    mke2fs \
42    sload_f2fs \
43    make_f2fs \
44
45PRODUCT_HOST_PACKAGES += \
46    icu-data_host_i18n_apex
47
48# Base modules and settings for the vendor partition.
49PRODUCT_PACKAGES += \
50    com.android.hardware.cas \
51    boringssl_self_test_vendor \
52    dumpsys_vendor \
53    fs_config_files_nonsystem \
54    fs_config_dirs_nonsystem \
55    gralloc.default \
56    group_odm \
57    group_vendor \
58    init_vendor \
59    libbundlewrapper \
60    libclearkeycasplugin \
61    libdownmix \
62    libdrmclearkeyplugin \
63    libdynproc \
64    libeffectproxy \
65    libeffects \
66    libhapticgenerator \
67    libldnhncr \
68    libreference-ril \
69    libreverbwrapper \
70    libril \
71    libvisualizer \
72    passwd_odm \
73    passwd_vendor \
74    selinux_policy_nonsystem \
75    shell_and_utilities_vendor \
76
77# Base modules when shipping api level is less than or equal to 34
78PRODUCT_PACKAGES_SHIPPING_API_LEVEL_34 += \
79     android.hidl.memory@1.0-impl.vendor \
80
81# OMX not supported for 64bit_only builds
82# Only supported when SHIPPING_API_LEVEL is less than or equal to 33
83ifneq ($(TARGET_SUPPORTS_OMX_SERVICE),false)
84    PRODUCT_PACKAGES_SHIPPING_API_LEVEL_33 += \
85        android.hardware.media.omx@1.0-service \
86
87endif
88
89# Base modules when shipping api level is less than or equal to 33
90PRODUCT_PACKAGES_SHIPPING_API_LEVEL_33 += \
91    android.hardware.cas@1.2-service \
92
93# Base modules when shipping api level is less than or equal to 29
94PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29 += \
95    android.hardware.configstore@1.1-service \
96    vndservice \
97    vndservicemanager \
98
99# VINTF data for vendor image
100PRODUCT_PACKAGES += \
101    vendor_compatibility_matrix.xml \
102
103# Base modules and settings for the debug ramdisk, which is then packed
104# into a boot-debug.img and a vendor_boot-debug.img.
105PRODUCT_PACKAGES += \
106    adb_debug.prop \
107    userdebug_plat_sepolicy.cil
108