blob: 752a34bd126d3fbe6e8095331889dd069cd4ef8a [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
17# Base modules (will move elsewhere, previously user tagged)
18PRODUCT_PACKAGES += \
19 20-dns.conf \
20 95-configured \
Jiyong Park6ac30d52018-05-02 15:29:56 +090021 org.apache.http.legacy \
Svet Ganovacc52962014-07-20 22:58:24 -070022 appwidget \
Adam Lesinski02bbd642014-10-08 10:53:59 -070023 appops \
Joe Onorato22273e62012-07-23 18:20:07 -070024 am \
25 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 \
29 app_process \
30 applypatch \
Andy Hungafcf77f2015-10-28 18:03:50 -070031 audioserver \
Joe Onorato002a6c72016-10-20 16:39:49 -070032 bit \
Jeff Sharkey1eb5eb12013-10-16 15:42:51 -070033 blkid \
Joe Onorato22273e62012-07-23 18:20:07 -070034 bmgr \
Chenbo Feng2b948a22018-02-09 15:17:22 -080035 bpfloader \
Joe Onorato22273e62012-07-23 18:20:07 -070036 bugreport \
Felipe Leme90ab3232016-05-02 11:18:07 -070037 bugreportz \
Chien-Yu Chene677b1a2015-12-03 15:55:20 -080038 cameraserver \
Joe Onorato22273e62012-07-23 18:20:07 -070039 content \
Joe Onorato22273e62012-07-23 18:20:07 -070040 dnsmasq \
Esteban Talaverab8ef1182014-09-11 17:52:08 +010041 dpm \
Joe Onorato22273e62012-07-23 18:20:07 -070042 framework \
Christopher Tatead71d652017-01-13 13:54:21 -080043 framework-sysconfig.xml \
Joe Onorato22273e62012-07-23 18:20:07 -070044 fsck_msdos \
Michael Wright7371a7a2015-06-24 15:55:21 +010045 hid \
Joe Onorato22273e62012-07-23 18:20:07 -070046 ime \
Joe Onoratob9aaca52016-11-20 23:21:25 -080047 incidentd \
48 incident \
Yi Jine3879e82017-07-31 11:51:16 -070049 incident_helper \
Joe Onoratob9aaca52016-11-20 23:21:25 -080050 incident_report \
Ying Wang8c7e74e2014-03-20 12:13:10 -070051 input \
Joe Onorato22273e62012-07-23 18:20:07 -070052 javax.obex \
Joe Onorato22273e62012-07-23 18:20:07 -070053 libandroid \
54 libandroid_runtime \
55 libandroid_servers \
56 libaudioeffect_jni \
57 libaudioflinger \
Eric Laurent08f90972014-05-21 08:04:50 -070058 libaudiopolicyservice \
59 libaudiopolicymanager \
Joe Onorato22273e62012-07-23 18:20:07 -070060 libbundlewrapper \
Joe Onorato22273e62012-07-23 18:20:07 -070061 libcamera_client \
62 libcameraservice \
Yin-Chia Yeh821375c2016-01-27 00:13:51 +000063 libcamera2ndk \
Edwin Wongdbb3d2e2014-07-23 18:46:57 -070064 libdrmclearkeyplugin \
rago7657f5e2018-02-05 09:25:49 -080065 libdynproc \
Chong Zhangad3bb1b2017-03-16 12:35:14 -070066 libclearkeycasplugin \
Eric Laurentaaa85b92013-09-06 10:37:51 -070067 libeffectproxy \
Joe Onorato22273e62012-07-23 18:20:07 -070068 libeffects \
Jeff Browna114a872013-07-12 16:52:38 -070069 libinput \
70 libinputflinger \
Joe Onorato22273e62012-07-23 18:20:07 -070071 libiprouteutil \
Joe Onorato22273e62012-07-23 18:20:07 -070072 libjnigraphics \
Jean-Michel Trivi3211cb82013-09-10 09:41:06 -070073 libldnhncr \
Joe Onorato22273e62012-07-23 18:20:07 -070074 libmedia \
75 libmedia_jni \
76 libmediaplayerservice \
77 libmtp \
Sreeram Ramachandran61fa8d82014-05-12 11:51:29 -070078 libnetd_client \
Joe Onorato22273e62012-07-23 18:20:07 -070079 libnetlink \
80 libnetutils \
Svetoslav Ganov0e7533f2014-05-21 19:40:31 +000081 libpdfium \
Eric Laurent5793ad82015-02-13 18:22:22 -080082 libradio_metadata \
Joe Onorato22273e62012-07-23 18:20:07 -070083 libreference-ril \
84 libreverbwrapper \
85 libril \
86 librtp_jni \
87 libsensorservice \
88 libskia \
Ricardo Garcia3b216992015-04-10 15:43:30 -070089 libsonic \
Joe Onorato22273e62012-07-23 18:20:07 -070090 libsonivox \
91 libsoundpool \
Eric Laurentb0baa272014-04-18 17:37:49 -070092 libsoundtrigger \
93 libsoundtriggerservice \
Joe Onorato22273e62012-07-23 18:20:07 -070094 libsqlite \
95 libstagefright \
96 libstagefright_amrnb_common \
97 libstagefright_avc_common \
98 libstagefright_enc_common \
99 libstagefright_foundation \
100 libstagefright_omx \
101 libstagefright_yuv \
Joe Onorato22273e62012-07-23 18:20:07 -0700102 libusbhost \
Joe Onorato22273e62012-07-23 18:20:07 -0700103 libvisualizer \
104 libvorbisidec \
Marco Nelissen863c9e92014-04-08 09:18:14 -0700105 libmediandk \
Jesse Halla7ec71d2016-01-27 00:20:35 -0800106 libvulkan \
Mukesh Agrawal6fb9e802018-01-10 22:42:16 +0000107 libwifi-service \
Jorim Jaggi3456f2d2016-12-15 16:50:36 -0800108 locksettings \
Dianne Hackborn4acd27d2013-04-04 18:50:45 -0700109 media \
110 media_cmd \
Jeff Tinker1fefb822016-02-12 09:00:49 -0800111 mediadrmserver \
Joe Onorato22273e62012-07-23 18:20:07 -0700112 mediaserver \
Ray Essick32e3c4b2017-01-23 12:04:17 -0800113 mediametrics \
Marco Nelissen469a9262015-09-25 15:02:06 -0700114 mediaextractor \
Joe Onorato22273e62012-07-23 18:20:07 -0700115 monkey \
116 mtpd \
117 ndc \
Joe Onorato22273e62012-07-23 18:20:07 -0700118 netd \
Primiano Tucci90ebe5b2018-01-25 12:08:04 +0000119 perfetto \
Geremy Condra09d232e2013-02-22 19:37:38 +0000120 ping \
Lorenzo Colittic5bb87f2013-07-11 12:54:05 +0900121 ping6 \
Joe Onorato22273e62012-07-23 18:20:07 -0700122 platform.xml \
Fyodor Kupolovb2b0ef72016-11-16 10:47:04 -0800123 privapp-permissions-platform.xml \
Joe Onorato22273e62012-07-23 18:20:07 -0700124 pppd \
125 pm \
126 racoon \
127 run-as \
128 schedtest \
Joe Onorato22273e62012-07-23 18:20:07 -0700129 sdcard \
Paul Crowley54a28652015-06-04 09:59:33 +0100130 secdiscard \
Joe Onorato22273e62012-07-23 18:20:07 -0700131 services \
Christopher Tatea3f11e62012-10-10 14:13:59 -0700132 settings \
Jeff Sharkeyaa438dc2015-02-23 10:06:56 -0800133 sgdisk \
Jeff Sharkeydea22722015-05-12 15:53:29 -0700134 sm \
David Chenc1f2d7a2017-12-19 18:35:22 -0800135 statsd \
Joe Onorato22273e62012-07-23 18:20:07 -0700136 svc \
Joe Onorato22273e62012-07-23 18:20:07 -0700137 tc \
Yorke Leea1e1d9c2015-06-03 13:57:33 -0700138 telecom \
Primiano Tucci90ebe5b2018-01-25 12:08:04 +0000139 traced \
140 traced_probes \
Joe Onorato22273e62012-07-23 18:20:07 -0700141 vdc \
Torne (Richard Coles)b2391772012-10-31 17:10:36 +0000142 vold \
Dianne Hackborn1638ffb2013-02-15 16:35:35 -0800143 wm
144
Paul Duffin7e4be2c2018-01-24 14:43:00 +0000145# Add the compatibility library that is needed when org.apache.http.legacy
146# is removed from the bootclasspath.
147ifeq ($(REMOVE_OAHL_FROM_BCP),true)
148PRODUCT_PACKAGES += framework-oahl-backward-compatibility
149endif
150
Paul Duffine2819d82018-01-24 16:41:33 +0000151# Add the compatibility library that is needed when android.test.base
152# is removed from the bootclasspath.
153ifeq ($(REMOVE_ATB_FROM_BCP),true)
154PRODUCT_PACKAGES += framework-atb-backward-compatibility
155endif
156
Pawin Vongmasa022cf532017-03-17 04:07:05 -0700157# Essential HAL modules
158PRODUCT_PACKAGES += \
Chong Zhang3abc30b2017-05-16 18:31:19 -0700159 android.hardware.cas@1.0-service \
Pawin Vongmasa022cf532017-03-17 04:07:05 -0700160 android.hardware.media.omx@1.0-service
161
Pawin Vongmasaafa29152017-05-05 04:47:15 -0700162# XML schema files
163PRODUCT_PACKAGES += \
164 media_profiles_V1_0.dtd
165
Colin Cross1e280142016-10-27 15:35:36 -0700166# Packages included only for eng or userdebug builds, previously debug tagged
167PRODUCT_PACKAGES_DEBUG := \
Dan Willemsenaeaf4c22018-05-04 18:52:18 -0700168 iotop \
Mark Salyzyn719790f2017-08-08 14:24:55 -0700169 logpersist.start \
Dan Willemsena362bf42018-05-09 17:33:12 -0700170 micro_bench \
Colin Cross94187492017-05-01 14:37:23 -0700171 perfprofd \
Zach Riggle7d1f81a2017-10-17 13:50:16 -0500172 sqlite3 \
Zach Riggle3a26f802018-04-03 15:19:44 -0500173 strace \
174 sanitizer-status
Joe Onorato22273e62012-07-23 18:20:07 -0700175
Zach Riggle9323b7f2018-03-26 16:17:03 -0500176# Packages included only for eng/userdebug builds, when building with SANITIZE_TARGET=address
Zach Riggle7725c102018-04-03 15:25:09 -0500177PRODUCT_PACKAGES_DEBUG_ASAN := \
178 fuzz \
179 honggfuzz
Zach Riggle9323b7f2018-03-26 16:17:03 -0500180
Ying Wang3424e692014-11-17 11:01:18 -0800181PRODUCT_COPY_FILES := $(call add-to-product-copy-files-if-exists,\
Mathieu Chartier37ba2d92017-08-11 14:43:53 -0700182 frameworks/base/config/preloaded-classes:system/etc/preloaded-classes)
Ying Wang9a9d1802014-11-13 15:19:12 -0800183
Jeff Hao865d54c2017-08-02 16:45:49 -0700184# Note: it is acceptable to not have a dirty-image-objects file. In that case, the special bin
185# for known dirty objects in the image will be empty.
186PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
Mathieu Chartier37ba2d92017-08-11 14:43:53 -0700187 frameworks/base/config/dirty-image-objects:system/etc/dirty-image-objects)
Ying Wang9a9d1802014-11-13 15:19:12 -0800188
Mike Lockwooddaf5e222012-10-18 10:17:47 -0700189$(call inherit-product, $(SRC_TARGET_DIR)/product/embedded.mk)