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 22PRODUCT_PACKAGES += \ 23 24 25# Device modules 26PRODUCT_PACKAGES += \ 27 egl.cfg \ 28 gralloc.goldfish \ 29 gralloc.goldfish.default \ 30 gralloc.ranchu \ 31 libGLESv1_CM_emulation \ 32 lib_renderControl_enc \ 33 libEGL_emulation \ 34 libGLES_android \ 35 libGLESv2_enc \ 36 libOpenglSystemCommon \ 37 libGLESv2_emulation \ 38 libGLESv1_enc \ 39 libEGL_swiftshader \ 40 libGLESv1_CM_swiftshader \ 41 libGLESv2_swiftshader \ 42 qemu-props \ 43 camera.goldfish \ 44 camera.goldfish.jpeg \ 45 camera.ranchu \ 46 camera.ranchu.jpeg \ 47 gatekeeper.ranchu \ 48 lights.goldfish \ 49 gps.goldfish \ 50 gps.ranchu \ 51 fingerprint.goldfish \ 52 sensors.goldfish \ 53 audio.primary.goldfish \ 54 audio.primary.goldfish_legacy \ 55 android.hardware.audio@2.0-service \ 56 android.hardware.wifi@1.0-service \ 57 vibrator.goldfish \ 58 power.goldfish \ 59 power.ranchu \ 60 fingerprint.ranchu \ 61 android.hardware.biometrics.fingerprint@2.1-service \ 62 sensors.ranchu \ 63 android.hardware.graphics.composer@2.1-impl \ 64 android.hardware.graphics.composer@2.1-service \ 65 android.hardware.graphics.allocator@2.0-service \ 66 android.hardware.graphics.allocator@2.0-impl \ 67 android.hardware.graphics.mapper@2.0-impl \ 68 hwcomposer.goldfish \ 69 hwcomposer.ranchu \ 70 sh_vendor \ 71 vintf \ 72 toybox_vendor \ 73 CarrierConfig \ 74 audio.primary.goldfish \ 75 audio.r_submix.default \ 76 local_time.default \ 77 SdkSetup 78 79PRODUCT_PACKAGES += \ 80 android.hardware.audio@2.0-impl \ 81 android.hardware.audio.effect@2.0-impl \ 82 android.hardware.broadcastradio@1.1-service \ 83 android.hardware.broadcastradio@1.0-impl \ 84 android.hardware.soundtrigger@2.0-impl 85 86PRODUCT_PACKAGES += \ 87 android.hardware.keymaster@3.0-impl \ 88 android.hardware.keymaster@3.0-service 89 90PRODUCT_PACKAGES += \ 91 android.hardware.keymaster@4.0-strongbox-service 92 93PRODUCT_PACKAGES += \ 94 android.hardware.gnss@1.0-service \ 95 android.hardware.gnss@1.0-impl 96 97PRODUCT_PACKAGES += \ 98 android.hardware.sensors@1.0-impl \ 99 android.hardware.sensors@1.0-service 100 101PRODUCT_PACKAGES += \ 102 android.hardware.drm@1.0-service \ 103 android.hardware.drm@1.0-impl 104 105PRODUCT_PACKAGES += \ 106 android.hardware.power@1.0-service \ 107 android.hardware.power@1.0-impl 108 109PRODUCT_PACKAGES += \ 110 camera.device@1.0-impl \ 111 android.hardware.camera.provider@2.4-service \ 112 android.hardware.camera.provider@2.4-impl \ 113 114PRODUCT_PACKAGES += \ 115 android.hardware.gatekeeper@1.0-impl \ 116 android.hardware.gatekeeper@1.0-service 117 118# need this for gles libraries to load properly 119# after moving to /vendor/lib/ 120PRODUCT_PACKAGES += \ 121 vndk-sp 122 123# WiFi 124PRODUCT_PACKAGES += \ 125 createns \ 126 dhcpclient \ 127 dhcpserver \ 128 execns \ 129 hostapd \ 130 ip \ 131 ipv6proxy \ 132 iw \ 133 wificond \ 134 wpa_supplicant \ 135 136PRODUCT_COPY_FILES += \ 137 device/generic/goldfish/data/etc/apns-conf.xml:data/misc/apns/apns-conf.xml \ 138 device/generic/goldfish/init.ranchu-core.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-core.sh \ 139 device/generic/goldfish/init.ranchu-net.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-net.sh \ 140 device/generic/goldfish/wifi/init.wifi.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.wifi.sh \ 141 device/generic/goldfish/init.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.ranchu.rc \ 142 device/generic/goldfish/fstab.ranchu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu \ 143 device/generic/goldfish/ueventd.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \ 144 device/generic/goldfish/input/goldfish_rotary.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/goldfish_rotary.idc \ 145 device/generic/goldfish/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml \ 146 device/generic/goldfish/data/etc/permissions/privapp-permissions-goldfish.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/privapp-permissions-goldfish.xml \ 147 device/generic/goldfish/data/etc/config.ini:config.ini \ 148 device/generic/goldfish/wifi/simulated_hostapd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/simulated_hostapd.conf \ 149 device/generic/goldfish/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf \ 150 device/generic/goldfish/wifi/WifiConfigStore.xml:data/misc/wifi/WifiConfigStore.xml \ 151 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ 152 device/generic/goldfish/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \ 153 device/generic/goldfish/camera/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ 154 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ 155 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ 156 device/generic/goldfish/camera/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ 157 device/generic/goldfish/camera/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ 158 device/generic/goldfish/camera/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ 159 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ 160 frameworks/native/data/etc/android.hardware.camera.autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.autofocus.xml \ 161 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ 162 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \ 163 frameworks/native/data/etc/android.software.autofill.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.autofill.xml \ 164 frameworks/av/media/libeffects/data/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \ 165 device/generic/goldfish/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf 166 167 168PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay 169 170PRODUCT_CHARACTERISTICS := emulator 171 172PRODUCT_FULL_TREBLE_OVERRIDE := true 173 174#watchdog tiggers reboot because location service is not 175#responding, disble it for now. 176#still keep it on internal master as it is still working 177#once it is fixed in aosp, remove this block of comment. 178#PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 179#config.disable_location=true 180 181# Enable Perfetto traced 182PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ 183 persist.traced.enable=1 184 185# enable Google-specific location features, 186# like NetworkLocationProvider and LocationCollector 187PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ 188 ro.com.google.locationfeatures=1 189 190# disable setupwizard 191PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ 192 ro.setupwizard.mode=DISABLED 193