blob: d10ea49951714ae202bbc91370c0869a9cdd2f01 [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 \
Joe Onorato22273e62012-07-23 18:20:07 -070064 libdl \
Edwin Wongdbb3d2e2014-07-23 18:46:57 -070065 libdrmclearkeyplugin \
rago7657f5e2018-02-05 09:25:49 -080066 libdynproc \
Chong Zhangad3bb1b2017-03-16 12:35:14 -070067 libclearkeycasplugin \
Eric Laurentaaa85b92013-09-06 10:37:51 -070068 libeffectproxy \
Joe Onorato22273e62012-07-23 18:20:07 -070069 libeffects \
Jeff Browna114a872013-07-12 16:52:38 -070070 libinput \
71 libinputflinger \
Joe Onorato22273e62012-07-23 18:20:07 -070072 libiprouteutil \
Joe Onorato22273e62012-07-23 18:20:07 -070073 libjnigraphics \
Jean-Michel Trivi3211cb82013-09-10 09:41:06 -070074 libldnhncr \
Joe Onorato22273e62012-07-23 18:20:07 -070075 libmedia \
76 libmedia_jni \
77 libmediaplayerservice \
78 libmtp \
Sreeram Ramachandran61fa8d82014-05-12 11:51:29 -070079 libnetd_client \
Joe Onorato22273e62012-07-23 18:20:07 -070080 libnetlink \
81 libnetutils \
Svetoslav Ganov0e7533f2014-05-21 19:40:31 +000082 libpdfium \
Eric Laurent5793ad82015-02-13 18:22:22 -080083 libradio_metadata \
Joe Onorato22273e62012-07-23 18:20:07 -070084 libreference-ril \
85 libreverbwrapper \
86 libril \
87 librtp_jni \
88 libsensorservice \
89 libskia \
Ricardo Garcia3b216992015-04-10 15:43:30 -070090 libsonic \
Joe Onorato22273e62012-07-23 18:20:07 -070091 libsonivox \
92 libsoundpool \
Eric Laurentb0baa272014-04-18 17:37:49 -070093 libsoundtrigger \
94 libsoundtriggerservice \
Joe Onorato22273e62012-07-23 18:20:07 -070095 libsqlite \
96 libstagefright \
97 libstagefright_amrnb_common \
98 libstagefright_avc_common \
99 libstagefright_enc_common \
100 libstagefright_foundation \
101 libstagefright_omx \
102 libstagefright_yuv \
Joe Onorato22273e62012-07-23 18:20:07 -0700103 libusbhost \
104 libutils \
105 libvisualizer \
106 libvorbisidec \
Marco Nelissen863c9e92014-04-08 09:18:14 -0700107 libmediandk \
Jesse Halla7ec71d2016-01-27 00:20:35 -0800108 libvulkan \
Mukesh Agrawal6fb9e802018-01-10 22:42:16 +0000109 libwifi-service \
Jorim Jaggi3456f2d2016-12-15 16:50:36 -0800110 locksettings \
Dianne Hackborn4acd27d2013-04-04 18:50:45 -0700111 media \
112 media_cmd \
Jeff Tinker1fefb822016-02-12 09:00:49 -0800113 mediadrmserver \
Joe Onorato22273e62012-07-23 18:20:07 -0700114 mediaserver \
Ray Essick32e3c4b2017-01-23 12:04:17 -0800115 mediametrics \
Marco Nelissen469a9262015-09-25 15:02:06 -0700116 mediaextractor \
Joe Onorato22273e62012-07-23 18:20:07 -0700117 monkey \
118 mtpd \
119 ndc \
Joe Onorato22273e62012-07-23 18:20:07 -0700120 netd \
Primiano Tucci90ebe5b2018-01-25 12:08:04 +0000121 perfetto \
Geremy Condra09d232e2013-02-22 19:37:38 +0000122 ping \
Lorenzo Colittic5bb87f2013-07-11 12:54:05 +0900123 ping6 \
Joe Onorato22273e62012-07-23 18:20:07 -0700124 platform.xml \
Fyodor Kupolovb2b0ef72016-11-16 10:47:04 -0800125 privapp-permissions-platform.xml \
Joe Onorato22273e62012-07-23 18:20:07 -0700126 pppd \
127 pm \
128 racoon \
129 run-as \
130 schedtest \
Joe Onorato22273e62012-07-23 18:20:07 -0700131 sdcard \
Paul Crowley54a28652015-06-04 09:59:33 +0100132 secdiscard \
Joe Onorato22273e62012-07-23 18:20:07 -0700133 services \
Christopher Tatea3f11e62012-10-10 14:13:59 -0700134 settings \
Jeff Sharkeyaa438dc2015-02-23 10:06:56 -0800135 sgdisk \
Jeff Sharkeydea22722015-05-12 15:53:29 -0700136 sm \
David Chenc1f2d7a2017-12-19 18:35:22 -0800137 statsd \
Joe Onorato22273e62012-07-23 18:20:07 -0700138 svc \
Joe Onorato22273e62012-07-23 18:20:07 -0700139 tc \
Yorke Leea1e1d9c2015-06-03 13:57:33 -0700140 telecom \
Primiano Tucci90ebe5b2018-01-25 12:08:04 +0000141 traced \
142 traced_probes \
Joe Onorato22273e62012-07-23 18:20:07 -0700143 vdc \
Torne (Richard Coles)b2391772012-10-31 17:10:36 +0000144 vold \
Dianne Hackborn1638ffb2013-02-15 16:35:35 -0800145 wm
146
Paul Duffin7e4be2c2018-01-24 14:43:00 +0000147# Add the compatibility library that is needed when org.apache.http.legacy
148# is removed from the bootclasspath.
149ifeq ($(REMOVE_OAHL_FROM_BCP),true)
150PRODUCT_PACKAGES += framework-oahl-backward-compatibility
151endif
152
Paul Duffine2819d82018-01-24 16:41:33 +0000153# Add the compatibility library that is needed when android.test.base
154# is removed from the bootclasspath.
155ifeq ($(REMOVE_ATB_FROM_BCP),true)
156PRODUCT_PACKAGES += framework-atb-backward-compatibility
157endif
158
Pawin Vongmasa022cf532017-03-17 04:07:05 -0700159# Essential HAL modules
160PRODUCT_PACKAGES += \
Chong Zhang3abc30b2017-05-16 18:31:19 -0700161 android.hardware.cas@1.0-service \
Pawin Vongmasa022cf532017-03-17 04:07:05 -0700162 android.hardware.media.omx@1.0-service
163
Pawin Vongmasaafa29152017-05-05 04:47:15 -0700164# XML schema files
165PRODUCT_PACKAGES += \
166 media_profiles_V1_0.dtd
167
Colin Cross1e280142016-10-27 15:35:36 -0700168# Packages included only for eng or userdebug builds, previously debug tagged
169PRODUCT_PACKAGES_DEBUG := \
Dan Willemsenaeaf4c22018-05-04 18:52:18 -0700170 iotop \
Mark Salyzyn719790f2017-08-08 14:24:55 -0700171 logpersist.start \
Dan Willemsena362bf42018-05-09 17:33:12 -0700172 micro_bench \
Colin Cross94187492017-05-01 14:37:23 -0700173 perfprofd \
Zach Riggle7d1f81a2017-10-17 13:50:16 -0500174 sqlite3 \
Zach Riggle3a26f802018-04-03 15:19:44 -0500175 strace \
176 sanitizer-status
Joe Onorato22273e62012-07-23 18:20:07 -0700177
Zach Riggle9323b7f2018-03-26 16:17:03 -0500178# Packages included only for eng/userdebug builds, when building with SANITIZE_TARGET=address
Zach Riggle7725c102018-04-03 15:25:09 -0500179PRODUCT_PACKAGES_DEBUG_ASAN := \
180 fuzz \
181 honggfuzz
Zach Riggle9323b7f2018-03-26 16:17:03 -0500182
Ying Wang3424e692014-11-17 11:01:18 -0800183PRODUCT_COPY_FILES := $(call add-to-product-copy-files-if-exists,\
Mathieu Chartier37ba2d92017-08-11 14:43:53 -0700184 frameworks/base/config/preloaded-classes:system/etc/preloaded-classes)
Ying Wang9a9d1802014-11-13 15:19:12 -0800185
Jeff Hao865d54c2017-08-02 16:45:49 -0700186# Note: it is acceptable to not have a dirty-image-objects file. In that case, the special bin
187# for known dirty objects in the image will be empty.
188PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
Mathieu Chartier37ba2d92017-08-11 14:43:53 -0700189 frameworks/base/config/dirty-image-objects:system/etc/dirty-image-objects)
Ying Wang9a9d1802014-11-13 15:19:12 -0800190
Mike Lockwooddaf5e222012-10-18 10:17:47 -0700191$(call inherit-product, $(SRC_TARGET_DIR)/product/embedded.mk)