1 # 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 # This file is included by other product makefiles to add all the 18 # emulator-related modules to PRODUCT_PACKAGES. 19 # 20 21 # Host modules 22 PRODUCT_PACKAGES += \ 23 24 25 # Device modules 26 PRODUCT_PACKAGES += \ 27 egl.cfg \ 28 gralloc.goldfish \ 29 gralloc.ranchu \ 30 libGLESv1_CM_emulation \ 31 lib_renderControl_enc \ 32 libEGL_emulation \ 33 libGLES_android \ 34 libGLESv2_enc \ 35 libOpenglSystemCommon \ 36 libGLESv2_emulation \ 37 libGLESv1_enc \ 38 qemu-props \ 39 camera.goldfish \ 40 camera.goldfish.jpeg \ 41 camera.ranchu \ 42 camera.ranchu.jpeg \ 43 keystore.goldfish \ 44 keystore.ranchu \ 45 gatekeeper.ranchu \ 46 lights.goldfish \ 47 gps.goldfish \ 48 gps.ranchu \ 49 fingerprint.goldfish \ 50 sensors.goldfish \ 51 audio.primary.goldfish \ 52 audio.primary.goldfish_legacy \ 53 android.hardware.audio@2.0-service \ 54 vibrator.goldfish \ 55 power.goldfish \ 56 power.ranchu \ 57 fingerprint.ranchu \ 58 android.hardware.biometrics.fingerprint@2.1-service \ 59 sensors.ranchu \ 60 android.hardware.graphics.composer@2.1-impl \ 61 android.hardware.graphics.composer@2.1-service \ 62 android.hardware.graphics.allocator@2.0-service \ 63 android.hardware.graphics.allocator@2.0-impl \ 64 android.hardware.graphics.mapper@2.0-impl \ 65 hwcomposer.goldfish \ 66 hwcomposer.ranchu \ 67 sh_vendor \ 68 vintf \ 69 toybox_vendor \ 70 CarrierConfig 71 72 PRODUCT_PACKAGES += \ 73 android.hardware.audio@2.0-impl \ 74 android.hardware.audio.effect@2.0-impl \ 75 android.hardware.broadcastradio@1.0-impl \ 76 android.hardware.soundtrigger@2.0-impl 77 78 PRODUCT_PACKAGES += \ 79 android.hardware.keymaster@3.0-impl \ 80 android.hardware.keymaster@3.0-service 81 82 PRODUCT_PACKAGES += \ 83 android.hardware.gnss@1.0-service \ 84 android.hardware.gnss@1.0-impl 85 86 PRODUCT_PACKAGES += \ 87 android.hardware.sensors@1.0-impl \ 88 android.hardware.sensors@1.0-service 89 90 PRODUCT_PACKAGES += \ 91 android.hardware.drm@1.0-service \ 92 android.hardware.drm@1.0-impl 93 94 PRODUCT_PACKAGES += \ 95 android.hardware.power@1.0-service \ 96 android.hardware.power@1.0-impl 97 98 PRODUCT_PACKAGES += \ 99 camera.device@1.0-impl \ 100 android.hardware.camera.provider@2.4-service \ 101 android.hardware.camera.provider@2.4-impl \ 102 103 PRODUCT_PACKAGES += \ 104 android.hardware.gatekeeper@1.0-impl \ 105 android.hardware.gatekeeper@1.0-service 106 107 # need this for gles libraries to load properly 108 # after moving to /vendor/lib/ 109 PRODUCT_PACKAGES += \ 110 android.hardware.renderscript@1.0.vndk-sp\ 111 android.hardware.graphics.allocator@2.0.vndk-sp\ 112 android.hardware.graphics.mapper@2.0.vndk-sp\ 113 android.hardware.graphics.common@1.0.vndk-sp\ 114 libhwbinder.vndk-sp\ 115 libbase.vndk-sp\ 116 libcutils.vndk-sp\ 117 libhardware.vndk-sp\ 118 libhidlbase.vndk-sp\ 119 libhidltransport.vndk-sp\ 120 libutils.vndk-sp\ 121 libc++.vndk-sp\ 122 libRS_internal.vndk-sp\ 123 libRSDriver.vndk-sp\ 124 libRSCpuRef.vndk-sp\ 125 libbcinfo.vndk-sp\ 126 libblas.vndk-sp\ 127 libft2.vndk-sp\ 128 libpng.vndk-sp\ 129 libcompiler_rt.vndk-sp\ 130 libbacktrace.vndk-sp\ 131 libunwind.vndk-sp\ 132 liblzma.vndk-sp\ 133 libz.vndk-sp\ 134 135 136 PRODUCT_COPY_FILES += \ 137 device/generic/goldfish/init.ranchu-core.sh:vendor/bin/init.ranchu-core.sh \ 138 device/generic/goldfish/init.ranchu-net.sh:vendor/bin/init.ranchu-net.sh \ 139 device/generic/goldfish/init.ranchu.rc:root/init.ranchu.rc \ 140 device/generic/goldfish/fstab.ranchu:root/fstab.ranchu \ 141 device/generic/goldfish/fstab.ranchu.early:root/fstab.ranchu.early \ 142 device/generic/goldfish/ueventd.ranchu.rc:root/ueventd.ranchu.rc \ 143 device/generic/goldfish/input/goldfish_rotary.idc:system/usr/idc/goldfish_rotary.idc \ 144 device/generic/goldfish/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml \ 145 device/generic/goldfish/data/etc/permissions/privapp-permissions-goldfish.xml:system/etc/permissions/privapp-permissions-goldfish.xml \ 146 device/generic/goldfish/data/etc/config.ini:config.ini \ 147 frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml 148 149 PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay 150 151 PRODUCT_CHARACTERISTICS := emulator 152 153 PRODUCT_FULL_TREBLE_OVERRIDE := true 154