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