blob: 3f7aa067c56c41c6577bc33c6aa4233cc5bc1789 [file] [log] [blame]
Jesse Hall229b1372012-11-28 09:53:20 -08001#
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
Ying Wang4781e302013-03-07 17:58:32 -080018# emulator-related modules to PRODUCT_PACKAGES.
Jesse Hall229b1372012-11-28 09:53:20 -080019#
20
Ying Wang4781e302013-03-07 17:58:32 -080021# Host modules
Jesse Hall229b1372012-11-28 09:53:20 -080022PRODUCT_PACKAGES += \
Xavier Ducrohet51e303a2014-04-01 12:13:58 -070023
Ying Wang962d06e2013-02-28 16:39:32 -080024
Ying Wang4781e302013-03-07 17:58:32 -080025# Device modules
Ying Wang962d06e2013-02-28 16:39:32 -080026PRODUCT_PACKAGES += \
27 egl.cfg \
Ying Wang962d06e2013-02-28 16:39:32 -080028 gralloc.goldfish \
Lingfeng Yang8bed4d02017-08-11 01:17:39 -070029 gralloc.goldfish.default \
Miroslav Tisma173615d2015-09-23 12:53:41 +020030 gralloc.ranchu \
Ying Wang962d06e2013-02-28 16:39:32 -080031 libGLESv1_CM_emulation \
32 lib_renderControl_enc \
33 libEGL_emulation \
Ying Wange9482552014-04-15 14:42:27 -070034 libGLES_android \
Ying Wang962d06e2013-02-28 16:39:32 -080035 libGLESv2_enc \
36 libOpenglSystemCommon \
37 libGLESv2_emulation \
38 libGLESv1_enc \
Lingfeng Yang8bed4d02017-08-11 01:17:39 -070039 libEGL_swiftshader \
40 libGLESv1_CM_swiftshader \
41 libGLESv2_swiftshader \
Ying Wang962d06e2013-02-28 16:39:32 -080042 qemu-props \
Ying Wang962d06e2013-02-28 16:39:32 -080043 camera.goldfish \
keunyoungd9b0e802013-03-12 16:28:37 -070044 camera.goldfish.jpeg \
Lingfeng Yangaae222f2015-11-17 15:42:23 -080045 camera.ranchu \
46 camera.ranchu.jpeg \
bohucb0bebb2017-05-26 10:26:15 -070047 keystore.goldfish \
48 keystore.ranchu \
49 gatekeeper.ranchu \
Ying Wang962d06e2013-02-28 16:39:32 -080050 lights.goldfish \
51 gps.goldfish \
Chaoren Lin72fb8462015-11-17 18:55:33 -080052 gps.ranchu \
bohua2005ae2015-03-26 10:14:38 -070053 fingerprint.goldfish \
Eric Frohnhoefer0214b3f2013-12-26 23:02:34 -050054 sensors.goldfish \
Christoffer Dalla60edd12014-10-27 19:53:24 +010055 audio.primary.goldfish \
Joshua Lang207a88b2016-07-22 18:26:56 -070056 audio.primary.goldfish_legacy \
Joshua Lang149363c2017-01-19 18:49:08 -080057 android.hardware.audio@2.0-service \
Christoffer Dalla60edd12014-10-27 19:53:24 +010058 vibrator.goldfish \
Christoffer Dallb5381362014-12-21 21:17:45 +010059 power.goldfish \
Lingfeng Yangd2fc2422017-05-01 14:21:59 -070060 power.ranchu \
bohua2005ae2015-03-26 10:14:38 -070061 fingerprint.ranchu \
bohu390e1722017-01-18 12:20:29 -080062 android.hardware.biometrics.fingerprint@2.1-service \
Lingfeng Yangad1a1ac2017-03-16 12:26:56 -070063 sensors.ranchu \
Lingfeng Yang450cd0b2017-03-17 10:47:19 -070064 android.hardware.graphics.composer@2.1-impl \
bohud665b022017-07-03 22:01:38 -070065 android.hardware.graphics.composer@2.1-service \
66 android.hardware.graphics.allocator@2.0-service \
67 android.hardware.graphics.allocator@2.0-impl \
68 android.hardware.graphics.mapper@2.0-impl \
69 hwcomposer.goldfish \
70 hwcomposer.ranchu \
bohucb0bebb2017-05-26 10:26:15 -070071 sh_vendor \
bohud665b022017-07-03 22:01:38 -070072 vintf \
bohucb0bebb2017-05-26 10:26:15 -070073 toybox_vendor \
bohud665b022017-07-03 22:01:38 -070074 CarrierConfig
Ying Wang4781e302013-03-07 17:58:32 -080075
Joshua Lang149363c2017-01-19 18:49:08 -080076PRODUCT_PACKAGES += \
77 android.hardware.audio@2.0-impl \
78 android.hardware.audio.effect@2.0-impl \
79 android.hardware.broadcastradio@1.0-impl \
80 android.hardware.soundtrigger@2.0-impl
81
Joshua Lang1e123c12017-01-25 13:27:02 -080082PRODUCT_PACKAGES += \
bohucb0bebb2017-05-26 10:26:15 -070083 android.hardware.keymaster@3.0-impl \
84 android.hardware.keymaster@3.0-service
Joshua Lang1e123c12017-01-25 13:27:02 -080085
bohu318905f2017-03-06 16:15:59 -080086PRODUCT_PACKAGES += \
bohu71548592017-03-08 16:27:56 -080087 android.hardware.gnss@1.0-service \
88 android.hardware.gnss@1.0-impl
89
90PRODUCT_PACKAGES += \
bohucb0bebb2017-05-26 10:26:15 -070091 android.hardware.sensors@1.0-impl \
92 android.hardware.sensors@1.0-service
93
94PRODUCT_PACKAGES += \
95 android.hardware.drm@1.0-service \
96 android.hardware.drm@1.0-impl
bohu318905f2017-03-06 16:15:59 -080097
Lingfeng Yangd2fc2422017-05-01 14:21:59 -070098PRODUCT_PACKAGES += \
99 android.hardware.power@1.0-service \
100 android.hardware.power@1.0-impl
101
bohucb0bebb2017-05-26 10:26:15 -0700102PRODUCT_PACKAGES += \
103 camera.device@1.0-impl \
104 android.hardware.camera.provider@2.4-service \
105 android.hardware.camera.provider@2.4-impl \
106
107PRODUCT_PACKAGES += \
108 android.hardware.gatekeeper@1.0-impl \
109 android.hardware.gatekeeper@1.0-service
110
111# need this for gles libraries to load properly
112# after moving to /vendor/lib/
113PRODUCT_PACKAGES += \
Justin Yun83c8f782017-10-25 21:02:42 +0900114 vndk-sp
Eino-Ville Talvala3665e642017-01-24 12:17:25 -0800115
Ken Sumrallf151d372013-02-28 19:19:10 -0800116PRODUCT_COPY_FILES += \
bohud665b022017-07-03 22:01:38 -0700117 device/generic/goldfish/init.ranchu-core.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-core.sh \
118 device/generic/goldfish/init.ranchu-net.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-net.sh \
Isaac Chen4cf3e652018-03-21 10:40:44 +0800119 device/generic/goldfish/init.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.ranchu.rc \
120 device/generic/goldfish/fstab.ranchu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu \
121 device/generic/goldfish/ueventd.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \
Isaac Chen2b063ee2017-10-19 18:04:23 +0800122 device/generic/goldfish/input/goldfish_rotary.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/goldfish_rotary.idc \
bohud665b022017-07-03 22:01:38 -0700123 device/generic/goldfish/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml \
Isaac Chen2b063ee2017-10-19 18:04:23 +0800124 device/generic/goldfish/data/etc/permissions/privapp-permissions-goldfish.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/privapp-permissions-goldfish.xml \
bohucb0bebb2017-05-26 10:26:15 -0700125 device/generic/goldfish/data/etc/config.ini:config.ini \
Isaac Chen2b063ee2017-10-19 18:04:23 +0800126 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml
Jim Kaye206fb062016-01-11 15:37:22 -0800127
Prathmesh Prabhu8f8c9cb2016-03-04 13:43:04 -0800128PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay
129
Jim Kaye206fb062016-01-11 15:37:22 -0800130PRODUCT_CHARACTERISTICS := emulator
bohucb0bebb2017-05-26 10:26:15 -0700131
132PRODUCT_FULL_TREBLE_OVERRIDE := true
bohu680ab2e2017-12-13 21:29:26 -0800133
134
135#watchdog tiggers reboot because location service is not
136#responding, disble it for now
137PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
138config.disable_location=true