SzuWei Lin | 78b8dd6 | 2017-06-06 16:54:57 +0800 | [diff] [blame] | 1 | # |
| 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 |
| 18 | PRODUCT_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. |
| 24 | PRODUCT_PACKAGES := \ |
SzuWei Lin | 56d68a5 | 2017-06-09 18:23:47 +0800 | [diff] [blame] | 25 | android.frameworks.displayservice@1.0 \ |
SzuWei Lin | 78b8dd6 | 2017-06-06 16:54:57 +0800 | [diff] [blame] | 26 | 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 Lin | 56d68a5 | 2017-06-09 18:23:47 +0800 | [diff] [blame] | 33 | 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 Lin | 78b8dd6 | 2017-06-06 16:54:57 +0800 | [diff] [blame] | 37 | 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 Lin | 56d68a5 | 2017-06-09 18:23:47 +0800 | [diff] [blame] | 45 | android.hardware.camera.metadata@3.2 \ |
SzuWei Lin | 78b8dd6 | 2017-06-06 16:54:57 +0800 | [diff] [blame] | 46 | 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. |
| 96 | PRODUCT_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 Lin | 56d68a5 | 2017-06-09 18:23:47 +0800 | [diff] [blame] | 124 | liblzma \ |
SzuWei Lin | 78b8dd6 | 2017-06-06 16:54:57 +0800 | [diff] [blame] | 125 | 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 Lin | 56d68a5 | 2017-06-09 18:23:47 +0800 | [diff] [blame] | 162 | libyuv \ |
SzuWei Lin | 78b8dd6 | 2017-06-06 16:54:57 +0800 | [diff] [blame] | 163 | libziparchive \ |
| 164 | |
| 165 | # VNDK-SP: |
| 166 | PRODUCT_PACKAGES += \ |
| 167 | vndk-sp \ |
| 168 | |
SzuWei Lin | 56d68a5 | 2017-06-09 18:23:47 +0800 | [diff] [blame] | 169 | # LL-VNDK: |
| 170 | PRODUCT_PACKAGES += \ |
| 171 | libandroid_net \ |
| 172 | libc \ |
| 173 | libdl \ |
| 174 | liblog \ |
| 175 | libm \ |
| 176 | libstdc++ \ |
| 177 | libvndksupport \ |
| 178 | libz \ |
| 179 | |
| 180 | # SP-NDK: |
| 181 | PRODUCT_PACKAGES += \ |
| 182 | libEGL \ |
| 183 | libGLESv1_CM \ |
| 184 | libGLESv2 \ |
| 185 | libGLESv3 \ |
| 186 | libnativewindow \ |
| 187 | libsync \ |
| 188 | libvulkan \ |
| 189 | |
SzuWei Lin | 78b8dd6 | 2017-06-06 16:54:57 +0800 | [diff] [blame] | 190 | PRODUCT_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 |
| 195 | PRODUCT_PACKAGES += \ |
| 196 | wificond \ |
| 197 | |
| 198 | # Audio: |
| 199 | USE_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. |
| 202 | PRODUCT_COPY_FILES += \ |
Isaac Chen | 924e705 | 2017-06-12 18:56:50 +0800 | [diff] [blame] | 203 | 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 Lin | 78b8dd6 | 2017-06-06 16:54:57 +0800 | [diff] [blame] | 205 | 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 Lin | fbac119 | 2017-06-19 17:21:47 +0800 | [diff] [blame] | 209 | # 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. |
| 212 | PRODUCT_PACKAGES += \ |
| 213 | audio.a2dp.default |
| 214 | |
SzuWei Lin | 78b8dd6 | 2017-06-06 16:54:57 +0800 | [diff] [blame] | 215 | # May need to review why the followings are needed in generic system image. |
Isaac Chen | 924e705 | 2017-06-12 18:56:50 +0800 | [diff] [blame] | 216 | PRODUCT_COPY_FILES += \ |
SzuWei Lin | 78b8dd6 | 2017-06-06 16:54:57 +0800 | [diff] [blame] | 217 | device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml |
| 218 | |