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# Device modules
22PRODUCT_PACKAGES += \
23    CarrierConfig \
24
25# need this for gles libraries to load properly
26# after moving to /vendor/lib/
27PRODUCT_PACKAGES += \
28    vndk-sp
29
30# WiFi: system side
31PRODUCT_PACKAGES += \
32	ip \
33	iw \
34	wificond \
35
36
37PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay
38
39PRODUCT_CHARACTERISTICS := emulator
40
41PRODUCT_FULL_TREBLE_OVERRIDE := true
42
43# goldfish vendor partition configurations
44$(call inherit-product-if-exists, device/generic/goldfish/vendor.mk)
45
46#watchdog tiggers reboot because location service is not
47#responding, disble it for now.
48#still keep it on internal master as it is still working
49#once it is fixed in aosp, remove this block of comment.
50#PRODUCT_VENDOR_PROPERTIES += \
51#config.disable_location=true
52
53# Enable Perfetto traced
54# There is a stable property API for this prop so we can move it to /product.
55# https://android-review.googlesource.com/c/platform/system/libsysprop/+/952375
56PRODUCT_PRODUCT_PROPERTIES += \
57    persist.traced.enable=1
58
59# enable Google-specific location features,
60# like NetworkLocationProvider and LocationCollector
61PRODUCT_SYSTEM_EXT_PROPERTIES += \
62    ro.com.google.locationfeatures=1
63
64# disable setupwizard
65PRODUCT_SYSTEM_EXT_PROPERTIES += \
66    ro.setupwizard.mode=DISABLED
67