blob: 76ee01514fb421aa6db522d5c7e13c91dfdeb9ef [file] [log] [blame]
SzuWei Lin78b8dd62017-06-06 16:54:57 +08001#
2# Copyright (C) 2017 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# Split selinux policy
18PRODUCT_FULL_TREBLE_OVERRIDE := true
19
20# HAL interfaces:
21# Some of HAL interface libraries are automatically added by the dependencies
22# from the framework. However, we list them all here to make it explicit and
23# prevent possible mistake.
24PRODUCT_PACKAGES := \
SzuWei Lin56d68a52017-06-09 18:23:47 +080025 android.frameworks.displayservice@1.0 \
SzuWei Lin78b8dd62017-06-06 16:54:57 +080026 android.frameworks.schedulerservice@1.0 \
27 android.frameworks.sensorservice@1.0 \
28 android.frameworks.vr.composer@1.0 \
29 android.hardware.audio@2.0 \
30 android.hardware.audio.common@2.0 \
31 android.hardware.audio.common@2.0-util \
32 android.hardware.audio.effect@2.0 \
SzuWei Lin56d68a52017-06-09 18:23:47 +080033 android.hardware.automotive.evs@1.0 \
34 android.hardware.automotive.vehicle@2.0 \
35 android.hardware.automotive.vehicle@2.0-manager-lib-shared \
36 android.hardware.automotive.vehicle@2.1 \
SzuWei Lin78b8dd62017-06-06 16:54:57 +080037 android.hardware.biometrics.fingerprint@2.1 \
38 android.hardware.bluetooth@1.0 \
39 android.hardware.boot@1.0 \
40 android.hardware.broadcastradio@1.0 \
41 android.hardware.broadcastradio@1.1 \
42 android.hardware.camera.common@1.0 \
43 android.hardware.camera.device@1.0 \
44 android.hardware.camera.device@3.2 \
SzuWei Lin56d68a52017-06-09 18:23:47 +080045 android.hardware.camera.metadata@3.2 \
SzuWei Lin78b8dd62017-06-06 16:54:57 +080046 android.hardware.camera.provider@2.4 \
47 android.hardware.configstore-utils \
48 android.hardware.configstore@1.0 \
49 android.hardware.configstore@1.1 \
50 android.hardware.contexthub@1.0 \
51 android.hardware.drm@1.0 \
52 android.hardware.dumpstate@1.0 \
53 android.hardware.gatekeeper@1.0 \
54 android.hardware.gnss@1.0 \
55 android.hardware.graphics.allocator@2.0 \
56 android.hardware.graphics.bufferqueue@1.0 \
57 android.hardware.graphics.common@1.0 \
58 android.hardware.graphics.composer@2.1 \
59 android.hardware.graphics.mapper@2.0 \
60 android.hardware.health@1.0 \
61 android.hardware.ir@1.0 \
62 android.hardware.keymaster@3.0 \
63 android.hardware.light@2.0 \
64 android.hardware.media@1.0 \
65 android.hardware.media.omx@1.0-utils \
66 android.hardware.media.omx@1.0 \
67 android.hardware.memtrack@1.0 \
68 android.hardware.nfc@1.0 \
69 android.hardware.oemlock@1.0 \
70 android.hardware.power@1.0 \
71 android.hardware.radio@1.0 \
72 android.hardware.radio.deprecated@1.0 \
73 android.hardware.sensors@1.0 \
74 android.hardware.soundtrigger@2.0 \
75 android.hardware.thermal@1.0 \
76 android.hardware.tv.cec@1.0 \
77 android.hardware.tv.input@1.0 \
78 android.hardware.usb@1.0 \
79 android.hardware.usb@1.1 \
80 android.hardware.vibrator@1.0 \
81 android.hardware.vr@1.0 \
82 android.hardware.weaver@1.0 \
83 android.hardware.wifi@1.0 \
84 android.hardware.wifi.supplicant@1.0 \
85 android.hidl.allocator@1.0 \
86 android.hidl.manager@1.0 \
87 android.hidl.memory@1.0 \
88 android.hidl.token@1.0 \
89 android.system.wifi.keystore@1.0 \
90
91# VNDK:
92# Some VNDK shared objects are automatically included indirectly.
93# We list them all here to make it explicit and prevent possible mistakes.
94# An example of one such mistake was libcurl, which is included in A/B
95# devices because of update_engine, but not in non-A/B devices.
96PRODUCT_PACKAGES += \
97 libaudioroute \
98 libaudioutils \
99 libbinder \
100 libcamera_metadata \
101 libcap \
102 libcrypto \
103 libcrypto_utils \
104 libcups \
105 libcurl \
106 libdiskconfig \
107 libdumpstateutil \
108 libevent \
109 libexif \
110 libexpat \
111 libfmq \
112 libgatekeeper \
113 libgui \
114 libhardware_legacy \
115 libhidlmemory \
116 libicui18n \
117 libicuuc \
118 libjpeg \
119 libkeymaster1 \
120 libkeymaster_messages \
121 libldacBT_abr \
122 libldacBT_enc \
123 liblz4 \
SzuWei Lin56d68a52017-06-09 18:23:47 +0800124 liblzma \
SzuWei Lin78b8dd62017-06-06 16:54:57 +0800125 libmdnssd \
126 libmemtrack \
127 libmemunreachable \
128 libmetricslogger \
129 libminijail \
130 libnetutils \
131 libnl \
132 libopus \
133 libpagemap \
134 libpcap \
135 libpcre2 \
136 libpcrecpp \
137 libpdfium \
138 libpiex \
139 libpower \
140 libprocessgroup \
141 libprocinfo \
142 libprotobuf-cpp-full \
143 libprotobuf-cpp-lite \
144 libradio_metadata \
145 libsoftkeymasterdevice \
146 libsonic \
147 libsonivox \
148 libspeexresampler \
149 libsqlite \
150 libssl \
151 libsuspend \
152 libsysutils \
153 libtinyalsa \
154 libtinyxml2 \
155 libui \
156 libusbhost \
157 libvixl-arm \
158 libvixl-arm64 \
159 libvorbisidec \
160 libwebrtc_audio_preprocessing \
161 libxml2 \
SzuWei Lin56d68a52017-06-09 18:23:47 +0800162 libyuv \
SzuWei Lin78b8dd62017-06-06 16:54:57 +0800163 libziparchive \
164
165# VNDK-SP:
166PRODUCT_PACKAGES += \
167 vndk-sp \
168
SzuWei Lin56d68a52017-06-09 18:23:47 +0800169# LL-VNDK:
170PRODUCT_PACKAGES += \
171 libandroid_net \
172 libc \
173 libdl \
174 liblog \
175 libm \
176 libstdc++ \
177 libvndksupport \
178 libz \
179
180# SP-NDK:
181PRODUCT_PACKAGES += \
182 libEGL \
183 libGLESv1_CM \
184 libGLESv2 \
185 libGLESv3 \
186 libnativewindow \
187 libsync \
188 libvulkan \
189
SzuWei Lin78b8dd62017-06-06 16:54:57 +0800190PRODUCT_SYSTEM_VERITY_PARTITION := /dev/block/bootdevice/by-name/system
191
192# Wifi:
193# Wifi HAL (android.hardware.wifi@1.0-service, wpa_supplicant,
194# and wpa_supplicant.conf) is not here. They are in vendor.img
195PRODUCT_PACKAGES += \
196 wificond \
197
198# Audio:
199USE_XML_AUDIO_POLICY_CONF := 1
200# The following policy XML files are used as fallback for
201# vendors/devices not using XML to configure audio policy.
202PRODUCT_COPY_FILES += \
Isaac Chen924e7052017-06-12 18:56:50 +0800203 frameworks/av/services/audiopolicy/config/audio_policy_configuration_generic.xml:system/etc/audio_policy_configuration.xml \
204 frameworks/av/services/audiopolicy/config/primary_audio_policy_configuration.xml:system/etc/primary_audio_policy_configuration.xml \
SzuWei Lin78b8dd62017-06-06 16:54:57 +0800205 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:system/etc/r_submix_audio_policy_configuration.xml \
206 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:system/etc/audio_policy_volumes.xml \
207 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:system/etc/default_volume_tables.xml \
208
SzuWei Linfbac1192017-06-19 17:21:47 +0800209# Bluetooth:
210# audio.a2dp.default is a system module. Generic system image includes
211# audio.a2dp.default to support A2DP if board has the capability.
212PRODUCT_PACKAGES += \
213 audio.a2dp.default
214
SzuWei Lin78b8dd62017-06-06 16:54:57 +0800215# May need to review why the followings are needed in generic system image.
Isaac Chen924e7052017-06-12 18:56:50 +0800216PRODUCT_COPY_FILES += \
SzuWei Lin78b8dd62017-06-06 16:54:57 +0800217 device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml
218