Add a http performance test script based on wrk
[iec.git] / src / type3_AndroidCloud / anbox-master / products / anbox.mk
1 #
2 # Copyright (C) 2013 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 PRODUCT_PACKAGES += \
18         egl.cfg \
19         gralloc.goldfish \
20         libGLESv1_CM_emulation \
21         lib_renderControl_enc \
22         libEGL_emulation \
23         libGLES_android \
24         libGLESv2_enc \
25         libOpenglSystemCommon \
26         libGLESv2_emulation \
27         libGLESv1_enc \
28         qemu-props \
29         qemud \
30         camera.goldfish \
31         camera.goldfish.jpeg \
32         lights.goldfish \
33         gps.goldfish \
34         fingerprint.goldfish \
35         sensors.goldfish \
36         audio.primary.goldfish \
37         vibrator.goldfish \
38         power.goldfish \
39         fingerprintd
40
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
53
54 PRODUCT_CHARACTERISTICS := emulator
55
56 # Include drawables for all densities
57 PRODUCT_AAPT_CONFIG := normal
58
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
62
63 PRODUCT_PACKAGES += \
64         anboxd \
65         hwcomposer.anbox \
66         AnboxAppMgr
67
68 PRODUCT_PROPERTY_OVERRIDES += \
69         ro.hardware=goldfish \
70         ro.hardware.hwcomposer=anbox \
71         ro.kernel.qemu.gles=1 \
72         ro.kernel.qemu=1
73         ro.adb.qemud=1
74
75 # Disable any software key elements in the UI
76 PRODUCT_PROPERTY_OVERRIDES += \
77         qemu.hw.mainkeys=1
78
79 # Let everything know we're running inside a container
80 PRODUCT_PROPERTY_OVERRIDES += \
81         ro.anbox=1 \
82         ro.boot.container=1
83
84 # We don't want telephony support for now
85 PRODUCT_PROPERTY_OVERRIDES += \
86         ro.radio.noril=yes
87
88 # Disable boot-animation permanently
89 PRODUCT_PROPERTY_OVERRIDES += \
90         debug.sf.nobootanimation=1
91
92 DEVICE_PACKAGE_OVERLAYS += \
93         vendor/anbox/products/overlay
94
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)
98
99 PRODUCT_COPY_FILES += \
100         vendor/anbox/products/anbox.xml:system/etc/permissions/anbox.xml