Debian Codegraph @

target/product/mainline_system.mk

raw
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 # This makefile is the basis of a generic system image for a handheld device.
18 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system.mk)
19 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system.mk)
20 $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk)
21 # Enable updating of APEXes
22 $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
23 # Add adb keys to debuggable AOSP builds (if they exist)
24 $(call inherit-product-if-exists, vendor/google/security/adb/vendor_key.mk)
25
26 # Shared java libs
27 PRODUCT_PACKAGES += \
28 com.android.nfc_extras \
29
30 # Applications
31 PRODUCT_PACKAGES += \
32 LiveWallpapersPicker \
33 PartnerBookmarksProvider \
34 PresencePolling \
35 RcsService \
36 SafetyRegulatoryInfo \
37 Stk \
38 Tag \
39 TimeZoneUpdater \
40
41 # Binaries
42 PRODUCT_PACKAGES += llkd
43
44 # OTA support
45 PRODUCT_PACKAGES += \
46 recovery-refresh \
47 update_engine \
48 update_verifier \
49
50 # Wrapped net utils for /vendor access.
51 PRODUCT_PACKAGES += netutils-wrapper-1.0
52
53 # Charger images
54 PRODUCT_PACKAGES += charger_res_images
55
56 # system_other support
57 PRODUCT_PACKAGES += \
58 cppreopts.sh \
59 otapreopt_script \
60
61 # Bluetooth libraries
62 PRODUCT_PACKAGES += \
63 audio.a2dp.default \
64 audio.hearing_aid.default \
65
66 # For ringtones that rely on forward lock encryption
67 PRODUCT_PACKAGES += libfwdlockengine
68
69 # System libraries commonly depended on by things on the product partition.
70 # This list will be pruned periodically.
71 PRODUCT_PACKAGES += \
72 [email protected] \
73 [email protected] \
74 [email protected] \
75 [email protected] \
76 [email protected] \
77 [email protected] \
78 [email protected] \
79 [email protected] \
80 libaudio-resampler \
81 libdrm \
82 liblogwrap \
83 liblz4 \
84 libminui \
85 libnl \
86 libprotobuf-cpp-full \
87
88 # Camera service uses 'libdepthphoto' for adding dynamic depth
89 # metadata inside depth jpegs.
90 PRODUCT_PACKAGES += \
91 libdepthphoto \
92
93 PRODUCT_PACKAGES_DEBUG += \
94 avbctl \
95 bootctl \
96 tinyplay \
97 tinycap \
98 tinymix \
99 tinypcminfo \
100 update_engine_client \
101
102 PRODUCT_HOST_PACKAGES += \
103 tinyplay
104
105 # Enable stats logging in LMKD
106 TARGET_LMKD_STATS_LOG := true
107
108 # Enable dynamic partition size
109 PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
110
111 PRODUCT_NAME := mainline_system
112 PRODUCT_BRAND := generic
113
114 _base_mk_whitelist :=
115
116 _my_whitelist := $(_base_mk_whitelist)
117
118 # For mainline, system.img should be mounted at /, so we include ROOT here.
119 _my_paths := \
120 $(TARGET_COPY_OUT_ROOT)/ \
121 $(TARGET_COPY_OUT_SYSTEM)/ \
122
123 $(call require-artifacts-in-path, $(_my_paths), $(_my_whitelist))