• 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 the system partition.
18PRODUCT_PACKAGES += \
19    adbd_system_api \
20    am \
21    android.hidl.allocator@1.0-service \
22    android.hidl.base-V1.0-java \
23    android.hidl.manager-V1.0-java \
24    android.hidl.memory@1.0-impl \
25    android.hidl.memory@1.0-impl.vendor \
26    android.system.suspend@1.0-service \
27    android.test.base \
28    android.test.mock \
29    android.test.runner \
30    apexd \
31    appops \
32    app_process \
33    appwidget \
34    atrace \
35    audioserver \
36    BackupRestoreConfirmation \
37    bcc \
38    blank_screen \
39    blkid \
40    service-blobstore \
41    bmgr \
42    bootanimation \
43    bootstat \
44    boringssl_self_test \
45    bpfloader \
46    bu \
47    bugreport \
48    bugreportz \
49    cgroups.json \
50    charger \
51    cmd \
52    com.android.adbd \
53    com.android.conscrypt \
54    com.android.extservices \
55    com.android.i18n \
56    com.android.ipsec \
57    com.android.location.provider \
58    com.android.media \
59    com.android.media.swcodec \
60    com.android.mediaprovider \
61    com.android.os.statsd \
62    com.android.permission \
63    com.android.resolv \
64    com.android.neuralnetworks \
65    com.android.sdkext \
66    com.android.tethering \
67    com.android.tzdata \
68    com.android.wifi \
69    ContactsProvider \
70    content \
71    crash_dump \
72    CtsShimPrebuilt \
73    CtsShimPrivPrebuilt \
74    debuggerd\
75    device_config \
76    dmctl \
77    dnsmasq \
78    DownloadProvider \
79    dpm \
80    dumpstate \
81    dumpsys \
82    DynamicSystemInstallationService \
83    e2fsck \
84    ExtShared \
85    flags_health_check \
86    framework-minus-apex \
87    framework-res \
88    framework-sysconfig.xml \
89    fsck_msdos \
90    fsverity-release-cert-der \
91    fs_config_files_system \
92    fs_config_dirs_system \
93    group_system \
94    gsid \
95    gsi_tool \
96    heapprofd \
97    heapprofd_client \
98    gatekeeperd \
99    gpuservice \
100    hid \
101    hwservicemanager \
102    idmap2 \
103    idmap2d \
104    ime \
105    ims-common \
106    incident \
107    incidentd \
108    incident_helper \
109    incident-helper-cmd \
110    init.environ.rc \
111    init_system \
112    input \
113    installd \
114    iorapd \
115    ip \
116    iptables \
117    ip-up-vpn \
118    javax.obex \
119    service-jobscheduler \
120    keystore \
121    credstore \
122    ld.mc \
123    libaaudio \
124    libamidi \
125    libandroid \
126    libandroidfw \
127    libandroid_runtime \
128    libandroid_servers \
129    libartpalette-system \
130    libaudioeffect_jni \
131    libbinder \
132    libbinder_ndk \
133    libc.bootstrap \
134    libcamera2ndk \
135    libcutils \
136    libdl.bootstrap \
137    libdl_android.bootstrap \
138    libdrmframework \
139    libdrmframework_jni \
140    libEGL \
141    libETC1 \
142    libfdtrack \
143    libFFTEm \
144    libfilterfw \
145    libgatekeeper \
146    libGLESv1_CM \
147    libGLESv2 \
148    libGLESv3 \
149    libgui \
150    libhardware \
151    libhardware_legacy \
152    libinput \
153    libinputflinger \
154    libiprouteutil \
155    libjnigraphics \
156    libjpeg \
157    liblog \
158    libm.bootstrap \
159    libmdnssd \
160    libmedia \
161    libmedia_jni \
162    libmediandk \
163    libmtp \
164    libnetd_client \
165    libnetlink \
166    libnetutils \
167    libneuralnetworks_packageinfo \
168    libOpenMAXAL \
169    libOpenSLES \
170    libpdfium \
171    libpower \
172    libpowermanager \
173    libradio_metadata \
174    librtp_jni \
175    libsensorservice \
176    libsfplugin_ccodec \
177    libskia \
178    libsonic \
179    libsonivox \
180    libsoundpool \
181    libspeexresampler \
182    libsqlite \
183    libstagefright \
184    libstagefright_foundation \
185    libstagefright_omx \
186    libstdc++ \
187    libsurfaceflinger \
188    libsysutils \
189    libui \
190    libusbhost \
191    libutils \
192    libvulkan \
193    libwilhelm \
194    linker \
195    linkerconfig \
196    lmkd \
197    LocalTransport \
198    locksettings \
199    logcat \
200    logd \
201    lpdump \
202    lshal \
203    mdnsd \
204    mediacodec.policy \
205    mediaextractor \
206    mediametrics \
207    media_profiles_V1_0.dtd \
208    MediaProviderLegacy \
209    mediaserver \
210    mke2fs \
211    monkey \
212    mtpd \
213    ndc \
214    netd \
215    NetworkStack \
216    org.apache.http.legacy \
217    otacerts \
218    PackageInstaller \
219    passwd_system \
220    perfetto \
221    ping \
222    ping6 \
223    platform.xml \
224    pm \
225    pppd \
226    preinstalled-packages-platform.xml \
227    privapp-permissions-platform.xml \
228    racoon \
229    recovery-persist \
230    resize2fs \
231    rss_hwm_reset \
232    run-as \
233    sanitizer.libraries.txt \
234    schedtest \
235    screencap \
236    sdcard \
237    secdiscard \
238    SecureElement \
239    selinux_policy_system \
240    sensorservice \
241    service \
242    servicemanager \
243    services \
244    settings \
245    SettingsProvider \
246    sgdisk \
247    Shell \
248    shell_and_utilities_system \
249    sm \
250    snapshotctl \
251    SoundPicker \
252    storaged \
253    surfaceflinger \
254    svc \
255    task_profiles.json \
256    tc \
257    telecom \
258    telephony-common \
259    tombstoned \
260    traced \
261    traced_probes \
262    tune2fs \
263    tzdatacheck \
264    uiautomator \
265    uncrypt \
266    usbd \
267    vdc \
268    viewcompiler \
269    voip-common \
270    vold \
271    WallpaperBackup \
272    watchdogd \
273    wificond \
274    wifi.rc \
275    wm \
276
277# VINTF data for system image
278PRODUCT_PACKAGES += \
279    system_manifest.xml \
280    system_compatibility_matrix.xml \
281
282# Host tools to install
283PRODUCT_HOST_PACKAGES += \
284    BugReport \
285    adb \
286    art-tools \
287    atest \
288    bcc \
289    bit \
290    e2fsck \
291    fastboot \
292    flags_health_check \
293    icu-data_host_i18n_apex \
294    icu_tzdata.dat_host_tzdata_apex \
295    idmap2 \
296    incident_report \
297    ld.mc \
298    lpdump \
299    mdnsd \
300    minigzip \
301    mke2fs \
302    resize2fs \
303    sgdisk \
304    sqlite3 \
305    tinyplay \
306    tune2fs \
307    tzdatacheck \
308    unwind_info \
309    unwind_reg_info \
310    unwind_symbols \
311    viewcompiler \
312    tzdata_host \
313    tzdata_host_tzdata_apex \
314    tzlookup.xml_host_tzdata_apex \
315    tz_version_host \
316    tz_version_host_tzdata_apex \
317
318ifeq ($(ART_APEX_JARS),)
319$(error ART_APEX_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable)
320endif
321
322# The order matters for runtime class lookup performance.
323PRODUCT_BOOT_JARS := \
324    $(ART_APEX_JARS) \
325    framework-minus-apex \
326    ext \
327    telephony-common \
328    voip-common \
329    ims-common
330
331PRODUCT_UPDATABLE_BOOT_JARS := \
332    com.android.conscrypt:conscrypt \
333    com.android.media:updatable-media \
334    com.android.mediaprovider:framework-mediaprovider \
335    com.android.os.statsd:framework-statsd \
336    com.android.permission:framework-permission \
337    com.android.sdkext:framework-sdkextensions \
338    com.android.wifi:framework-wifi \
339    com.android.tethering:framework-tethering
340
341PRODUCT_COPY_FILES += \
342    system/core/rootdir/init.usb.rc:system/etc/init/hw/init.usb.rc \
343    system/core/rootdir/init.usb.configfs.rc:system/etc/init/hw/init.usb.configfs.rc \
344    system/core/rootdir/etc/hosts:system/etc/hosts
345
346# Add the compatibility library that is needed when android.test.base
347# is removed from the bootclasspath.
348# Default to excluding android.test.base from the bootclasspath.
349ifneq ($(REMOVE_ATB_FROM_BCP),false)
350PRODUCT_PACKAGES += framework-atb-backward-compatibility
351PRODUCT_BOOT_JARS += framework-atb-backward-compatibility
352else
353PRODUCT_BOOT_JARS += android.test.base
354endif
355
356PRODUCT_COPY_FILES += system/core/rootdir/init.zygote32.rc:system/etc/init/hw/init.zygote32.rc
357PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote32
358
359PRODUCT_SYSTEM_DEFAULT_PROPERTIES += debug.atrace.tags.enableflags=0
360PRODUCT_SYSTEM_DEFAULT_PROPERTIES += persist.traced.enable=1
361
362# Packages included only for eng or userdebug builds, previously debug tagged
363PRODUCT_PACKAGES_DEBUG := \
364    adb_keys \
365    arping \
366    gdbserver \
367    idlcli \
368    init-debug.rc \
369    iotop \
370    iperf3 \
371    iw \
372    logpersist.start \
373    logtagd.rc \
374    procrank \
375    remount \
376    showmap \
377    sqlite3 \
378    ss \
379    start_with_lockagent \
380    strace \
381    su \
382    sanitizer-status \
383    tracepath \
384    tracepath6 \
385    traceroute6 \
386    unwind_info \
387    unwind_reg_info \
388    unwind_symbols \
389
390# The set of packages whose code can be loaded by the system server.
391PRODUCT_SYSTEM_SERVER_APPS += \
392    SettingsProvider \
393    WallpaperBackup
394
395# Packages included only for eng/userdebug builds, when building with SANITIZE_TARGET=address
396PRODUCT_PACKAGES_DEBUG_ASAN := \
397    fuzz \
398    honggfuzz
399
400PRODUCT_PACKAGES_DEBUG_JAVA_COVERAGE := \
401    libdumpcoverage
402
403PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
404    frameworks/base/config/preloaded-classes:system/etc/preloaded-classes)
405
406# Note: it is acceptable to not have a dirty-image-objects file. In that case, the special bin
407#       for known dirty objects in the image will be empty.
408PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
409    frameworks/base/config/dirty-image-objects:system/etc/dirty-image-objects)
410
411$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
412