Debian Codegraph @

target/product/emulator_vendor.mk

raw
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 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk)
22 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk)
23
24 # TODO(b/123495142): these files should be clean up
25 PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST := \
26 system/bin/vintf \
27 system/etc/permissions/android.software.verified_boot.xml \
28 system/etc/permissions/privapp-permissions-goldfish.xml \
29 system/lib/egl/libGLES_android.so \
30 system/lib64/egl/libGLES_android.so \
31 system/priv-app/SdkSetup/SdkSetup.apk \
32
33 # Device modules
34 PRODUCT_PACKAGES += \
35 libGLES_android \
36 vintf \
37
38 # need this for gles libraries to load properly
39 # after moving to /vendor/lib/
40 PRODUCT_PACKAGES += \
41 vndk-sp
42
43 PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay
44
45 PRODUCT_CHARACTERISTICS := emulator
46
47 PRODUCT_FULL_TREBLE_OVERRIDE := true
48
49 # goldfish vendor partition configurations
50 $(call inherit-product-if-exists, device/generic/goldfish/vendor.mk)
51
52 #watchdog tiggers reboot because location service is not
53 #responding, disble it for now.
54 #still keep it on internal master as it is still working
55 #once it is fixed in aosp, remove this block of comment.
56 #PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
57 #config.disable_location=true
58
59 # Enable Perfetto traced
60 PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
61 persist.traced.enable=1
62
63 # enable Google-specific location features,
64 # like NetworkLocationProvider and LocationCollector
65 PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
66 ro.com.google.locationfeatures=1
67
68 # disable setupwizard
69 PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
70 ro.setupwizard.mode=DISABLED