2 # Copyright (C) 2013 The Android Open-Source Project
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
20 libGLESv1_CM_emulation \
21 lib_renderControl_enc \
25 libOpenglSystemCommon \
31 camera.goldfish.jpeg \
34 fingerprint.goldfish \
36 audio.primary.goldfish \
41 PRODUCT_COPY_FILES += \
42 vendor/anbox/android/fstab.goldfish:root/fstab.goldfish \
43 vendor/anbox/android/init.goldfish.rc:root/init.goldfish.rc \
44 vendor/anbox/android/init.goldfish.sh:system/etc/init.goldfish.sh \
45 vendor/anbox/android/ueventd.goldfish.rc:root/ueventd.goldfish.rc \
46 vendor/anbox/android/media/media_profiles.xml:system/etc/media_profiles.xml \
47 vendor/anbox/android/media/media_codecs.xml:system/etc/media_codecs.xml \
48 vendor/anbox/android/media/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
49 vendor/anbox/android/media/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \
50 vendor/anbox/android/media/media_codecs_google_tv.xml:system/etc/media_codecs_google_tv.xml \
51 vendor/anbox/android/media/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
52 hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf
54 PRODUCT_CHARACTERISTICS := emulator
56 # Include drawables for all densities
57 PRODUCT_AAPT_CONFIG := normal
59 PRODUCT_COPY_FILES += \
60 vendor/anbox/scripts/anbox-init.sh:root/anbox-init.sh \
61 vendor/anbox/products/anbox.xml:system/etc/permissions/anbox.xml
68 PRODUCT_PROPERTY_OVERRIDES += \
69 ro.hardware=goldfish \
70 ro.hardware.hwcomposer=anbox \
71 ro.kernel.qemu.gles=1 \
75 # Disable any software key elements in the UI
76 PRODUCT_PROPERTY_OVERRIDES += \
79 # Let everything know we're running inside a container
80 PRODUCT_PROPERTY_OVERRIDES += \
84 # We don't want telephony support for now
85 PRODUCT_PROPERTY_OVERRIDES += \
88 # Disable boot-animation permanently
89 PRODUCT_PROPERTY_OVERRIDES += \
90 debug.sf.nobootanimation=1
92 DEVICE_PACKAGE_OVERLAYS += \
93 vendor/anbox/products/overlay
95 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
96 # Extend heap size we use for dalvik/art runtime
97 $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
99 PRODUCT_COPY_FILES += \
100 vendor/anbox/products/anbox.xml:system/etc/permissions/anbox.xml