blob: 8ca5d29eef1c4aa740b8a89001147ceb3fe35a08 [file] [log] [blame]
Joe Onorato22273e62012-07-23 18:20:07 -07001#
2# Copyright (C) 2012 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
Joe Onorato22273e62012-07-23 18:20:07 -070017PRODUCT_PACKAGES += \
18 20-dns.conf \
19 95-configured \
Joe Onorato22273e62012-07-23 18:20:07 -070020 am \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010021 android.hardware.cas@1.0-service \
22 android.hardware.media.omx@1.0-service \
23 android.hidl.base-V1.0-java \
24 android.hidl.manager-V1.0-java \
Joe Onorato22273e62012-07-23 18:20:07 -070025 android.policy \
Paul Duffine2819d82018-01-24 16:41:33 +000026 android.test.base \
Paul Duffinc45b7e32017-06-05 15:46:00 +010027 android.test.mock \
Joe Onorato22273e62012-07-23 18:20:07 -070028 android.test.runner \
Joe Onorato22273e62012-07-23 18:20:07 -070029 applypatch \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010030 appops \
31 app_process \
32 appwidget \
Andy Hungafcf77f2015-10-28 18:03:50 -070033 audioserver \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010034 BackupRestoreConfirmation \
35 bcc \
Joe Onorato002a6c72016-10-20 16:39:49 -070036 bit \
Jeff Sharkey1eb5eb12013-10-16 15:42:51 -070037 blkid \
Joe Onorato22273e62012-07-23 18:20:07 -070038 bmgr \
Chenbo Feng2b948a22018-02-09 15:17:22 -080039 bpfloader \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010040 bu \
Joe Onorato22273e62012-07-23 18:20:07 -070041 bugreport \
Felipe Leme90ab3232016-05-02 11:18:07 -070042 bugreportz \
Chien-Yu Chene677b1a2015-12-03 15:55:20 -080043 cameraserver \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010044 com.android.location.provider \
45 com.android.location.provider.xml \
Joe Onorato22273e62012-07-23 18:20:07 -070046 content \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010047 CtsShimPrebuilt \
48 CtsShimPrivPrebuilt \
Joe Onorato22273e62012-07-23 18:20:07 -070049 dnsmasq \
Anton Hansson3eea0792018-06-14 16:23:57 +010050 DownloadProvider \
Esteban Talaverab8ef1182014-09-11 17:52:08 +010051 dpm \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010052 e2fsck \
53 ExtServices \
54 ExtShared \
Joe Onorato22273e62012-07-23 18:20:07 -070055 framework \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010056 framework-res \
Christopher Tatead71d652017-01-13 13:54:21 -080057 framework-sysconfig.xml \
Joe Onorato22273e62012-07-23 18:20:07 -070058 fsck_msdos \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010059 gatekeeperd \
Michael Wright7371a7a2015-06-24 15:55:21 +010060 hid \
Anton Hansson3eea0792018-06-14 16:23:57 +010061 idmap \
Joe Onorato22273e62012-07-23 18:20:07 -070062 ime \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010063 ims-common \
Joe Onoratob9aaca52016-11-20 23:21:25 -080064 incident \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010065 incidentd \
Yi Jine3879e82017-07-31 11:51:16 -070066 incident_helper \
Joe Onoratob9aaca52016-11-20 23:21:25 -080067 incident_report \
Ying Wang8c7e74e2014-03-20 12:13:10 -070068 input \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010069 installd \
70 ip \
71 ip6tables \
72 iptables \
73 ip-up-vpn \
Joe Onorato22273e62012-07-23 18:20:07 -070074 javax.obex \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010075 keystore \
76 ld.config.txt \
Jiyong Park53acaea2018-05-29 16:29:24 +090077 ld.config.recovery.txt \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010078 ld.mc \
79 libaaudio \
Joe Onorato22273e62012-07-23 18:20:07 -070080 libandroid \
81 libandroid_runtime \
82 libandroid_servers \
83 libaudioeffect_jni \
84 libaudioflinger \
Eric Laurent08f90972014-05-21 08:04:50 -070085 libaudiopolicymanager \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010086 libaudiopolicyservice \
Joe Onorato22273e62012-07-23 18:20:07 -070087 libbundlewrapper \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010088 libcamera2ndk \
Joe Onorato22273e62012-07-23 18:20:07 -070089 libcamera_client \
90 libcameraservice \
Chong Zhangad3bb1b2017-03-16 12:35:14 -070091 libclearkeycasplugin \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010092 libdownmix \
93 libdrmclearkeyplugin \
94 libdrmframework \
95 libdrmframework_jni \
Anton Hanssonf42afaf2018-06-12 14:16:47 +010096 libdynproc \
Eric Laurentaaa85b92013-09-06 10:37:51 -070097 libeffectproxy \
Joe Onorato22273e62012-07-23 18:20:07 -070098 libeffects \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +010099 libfilterfw \
100 libgatekeeper \
Jeff Browna114a872013-07-12 16:52:38 -0700101 libinput \
102 libinputflinger \
Joe Onorato22273e62012-07-23 18:20:07 -0700103 libiprouteutil \
Joe Onorato22273e62012-07-23 18:20:07 -0700104 libjnigraphics \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100105 libkeystore \
Jean-Michel Trivi3211cb82013-09-10 09:41:06 -0700106 libldnhncr \
Joe Onorato22273e62012-07-23 18:20:07 -0700107 libmedia \
108 libmedia_jni \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100109 libmediandk \
Joe Onorato22273e62012-07-23 18:20:07 -0700110 libmediaplayerservice \
111 libmtp \
Sreeram Ramachandran61fa8d82014-05-12 11:51:29 -0700112 libnetd_client \
Joe Onorato22273e62012-07-23 18:20:07 -0700113 libnetlink \
114 libnetutils \
Anton Hansson3eea0792018-06-14 16:23:57 +0100115 libneuralnetworks \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100116 libOpenMAXAL \
117 libOpenSLES \
Svetoslav Ganov0e7533f2014-05-21 19:40:31 +0000118 libpdfium \
Eric Laurent5793ad82015-02-13 18:22:22 -0800119 libradio_metadata \
Joe Onorato22273e62012-07-23 18:20:07 -0700120 libreference-ril \
121 libreverbwrapper \
122 libril \
123 librtp_jni \
124 libsensorservice \
125 libskia \
Ricardo Garcia3b216992015-04-10 15:43:30 -0700126 libsonic \
Joe Onorato22273e62012-07-23 18:20:07 -0700127 libsonivox \
128 libsoundpool \
Eric Laurentb0baa272014-04-18 17:37:49 -0700129 libsoundtrigger \
130 libsoundtriggerservice \
Joe Onorato22273e62012-07-23 18:20:07 -0700131 libsqlite \
132 libstagefright \
133 libstagefright_amrnb_common \
134 libstagefright_avc_common \
135 libstagefright_enc_common \
136 libstagefright_foundation \
137 libstagefright_omx \
138 libstagefright_yuv \
Joe Onorato22273e62012-07-23 18:20:07 -0700139 libusbhost \
Joe Onorato22273e62012-07-23 18:20:07 -0700140 libvisualizer \
141 libvorbisidec \
Jesse Halla7ec71d2016-01-27 00:20:35 -0800142 libvulkan \
Vinit Deshapndeaf5ad492014-01-08 10:43:31 -0800143 libwifi-service \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100144 libwilhelm \
Jorim Jaggi3456f2d2016-12-15 16:50:36 -0800145 locksettings \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100146 logd \
Anton Hansson3eea0792018-06-14 16:23:57 +0100147 mdnsd \
Dianne Hackborn4acd27d2013-04-04 18:50:45 -0700148 media \
149 media_cmd \
Anton Hanssonf42afaf2018-06-12 14:16:47 +0100150 media_profiles_V1_0.dtd \
Jeff Tinker1fefb822016-02-12 09:00:49 -0800151 mediadrmserver \
Marco Nelissen469a9262015-09-25 15:02:06 -0700152 mediaextractor \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100153 mediametrics \
Anton Hansson3eea0792018-06-14 16:23:57 +0100154 MediaProvider \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100155 mediaserver \
156 mke2fs \
Joe Onorato22273e62012-07-23 18:20:07 -0700157 monkey \
158 mtpd \
159 ndc \
Joe Onorato22273e62012-07-23 18:20:07 -0700160 netd \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100161 org.apache.http.legacy \
Primiano Tucci90ebe5b2018-01-25 12:08:04 +0000162 perfetto \
Geremy Condra09d232e2013-02-22 19:37:38 +0000163 ping \
Lorenzo Colittic5bb87f2013-07-11 12:54:05 +0900164 ping6 \
Joe Onorato22273e62012-07-23 18:20:07 -0700165 platform.xml \
Joe Onorato22273e62012-07-23 18:20:07 -0700166 pm \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100167 pppd \
168 privapp-permissions-platform.xml \
Joe Onorato22273e62012-07-23 18:20:07 -0700169 racoon \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100170 resize2fs \
Joe Onorato22273e62012-07-23 18:20:07 -0700171 run-as \
172 schedtest \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100173 screencap \
Joe Onorato22273e62012-07-23 18:20:07 -0700174 sdcard \
Paul Crowley54a28652015-06-04 09:59:33 +0100175 secdiscard \
Anton Hanssonf42afaf2018-06-12 14:16:47 +0100176 SecureElement \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100177 sensorservice \
Joe Onorato22273e62012-07-23 18:20:07 -0700178 services \
Christopher Tatea3f11e62012-10-10 14:13:59 -0700179 settings \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100180 SettingsProvider \
Jeff Sharkeyaa438dc2015-02-23 10:06:56 -0800181 sgdisk \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100182 Shell \
Jeff Sharkeydea22722015-05-12 15:53:29 -0700183 sm \
David Chenc1f2d7a2017-12-19 18:35:22 -0800184 statsd \
Joe Onorato22273e62012-07-23 18:20:07 -0700185 svc \
Joe Onorato22273e62012-07-23 18:20:07 -0700186 tc \
Yorke Leea1e1d9c2015-06-03 13:57:33 -0700187 telecom \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100188 telephony-common \
Primiano Tucci90ebe5b2018-01-25 12:08:04 +0000189 traced \
190 traced_probes \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100191 tune2fs \
192 uiautomator \
193 uncrypt \
Joe Onorato22273e62012-07-23 18:20:07 -0700194 vdc \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100195 voip-common \
Torne (Richard Coles)b2391772012-10-31 17:10:36 +0000196 vold \
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100197 WallpaperBackup \
198 wificond \
199 wifi-service \
200 wm \
Dianne Hackborn1638ffb2013-02-15 16:35:35 -0800201
Anton Hanssonf42afaf2018-06-12 14:16:47 +0100202
203ifeq ($(TARGET_CORE_JARS),)
204$(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable)
205endif
206
207# The order matters
208PRODUCT_BOOT_JARS := \
209 $(TARGET_CORE_JARS) \
210 ext \
211 framework \
212 telephony-common \
213 voip-common \
214 ims-common \
215 android.hidl.base-V1.0-java \
216 android.hidl.manager-V1.0-java
Dianne Hackborn1638ffb2013-02-15 16:35:35 -0800217
Paul Duffin7e4be2c2018-01-24 14:43:00 +0000218# Add the compatibility library that is needed when org.apache.http.legacy
219# is removed from the bootclasspath.
220ifeq ($(REMOVE_OAHL_FROM_BCP),true)
221PRODUCT_PACKAGES += framework-oahl-backward-compatibility
Anton Hanssonf42afaf2018-06-12 14:16:47 +0100222PRODUCT_BOOT_JARS += framework-oahl-backward-compatibility
223else
224PRODUCT_BOOT_JARS += org.apache.http.legacy.impl
Paul Duffin7e4be2c2018-01-24 14:43:00 +0000225endif
226
Paul Duffine2819d82018-01-24 16:41:33 +0000227# Add the compatibility library that is needed when android.test.base
228# is removed from the bootclasspath.
229ifeq ($(REMOVE_ATB_FROM_BCP),true)
230PRODUCT_PACKAGES += framework-atb-backward-compatibility
Anton Hanssonf42afaf2018-06-12 14:16:47 +0100231PRODUCT_BOOT_JARS += framework-atb-backward-compatibility
232else
233PRODUCT_BOOT_JARS += android.test.base
Paul Duffine2819d82018-01-24 16:41:33 +0000234endif
235
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100236PRODUCT_COPY_FILES += system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc
Anton Hanssonf42afaf2018-06-12 14:16:47 +0100237PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote32
Pawin Vongmasaafa29152017-05-05 04:47:15 -0700238
Colin Cross1e280142016-10-27 15:35:36 -0700239# Packages included only for eng or userdebug builds, previously debug tagged
240PRODUCT_PACKAGES_DEBUG := \
Dan Willemsenaeaf4c22018-05-04 18:52:18 -0700241 iotop \
Mark Salyzyn719790f2017-08-08 14:24:55 -0700242 logpersist.start \
Dan Willemsena362bf42018-05-09 17:33:12 -0700243 micro_bench \
Colin Cross94187492017-05-01 14:37:23 -0700244 perfprofd \
Zach Riggle7d1f81a2017-10-17 13:50:16 -0500245 sqlite3 \
246 strace
Joe Onorato22273e62012-07-23 18:20:07 -0700247
Anton Hanssonf42afaf2018-06-12 14:16:47 +0100248# The set of packages whose code can be loaded by the system server.
249PRODUCT_SYSTEM_SERVER_APPS += \
250 SettingsProvider \
251 WallpaperBackup
252
Zach Riggle9323b7f2018-03-26 16:17:03 -0500253# Packages included only for eng/userdebug builds, when building with SANITIZE_TARGET=address
254PRODUCT_PACKAGES_DEBUG_ASAN :=
255
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100256PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
Mathieu Chartier37ba2d92017-08-11 14:43:53 -0700257 frameworks/base/config/preloaded-classes:system/etc/preloaded-classes)
Ying Wang9a9d1802014-11-13 15:19:12 -0800258
Jeff Haob454ee12017-08-02 16:45:49 -0700259# Note: it is acceptable to not have a dirty-image-objects file. In that case, the special bin
260# for known dirty objects in the image will be empty.
261PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
Mathieu Chartier37ba2d92017-08-11 14:43:53 -0700262 frameworks/base/config/dirty-image-objects:system/etc/dirty-image-objects)
Ying Wang9a9d1802014-11-13 15:19:12 -0800263
Anton Hansson9f7cc0d2018-06-11 14:59:19 +0100264$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
Mike Lockwooddaf5e222012-10-18 10:17:47 -0700265$(call inherit-product, $(SRC_TARGET_DIR)/product/embedded.mk)