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# need this for gles libraries to load properly
25# after moving to /vendor/lib/
26PRODUCT_PACKAGES += \
27    vndk-sp
28
29DEVICE_PACKAGE_OVERLAYS := device/generic/goldfish/overlay
30
31PRODUCT_CHARACTERISTICS := emulator
32
33PRODUCT_FULL_TREBLE_OVERRIDE := true
34
35# goldfish vendor partition configurations
36$(call inherit-product-if-exists, device/generic/goldfish/vendor.mk)
37
38#watchdog tiggers reboot because location service is not
39#responding, disble it for now.
40#still keep it on internal master as it is still working
41#once it is fixed in aosp, remove this block of comment.
42#PRODUCT_VENDOR_PROPERTIES += \
43#config.disable_location=true
44
45# enable Google-specific location features,
46# like NetworkLocationProvider and LocationCollector
47PRODUCT_SYSTEM_EXT_PROPERTIES += \
48    ro.com.google.locationfeatures=1
49
50# disable setupwizard
51PRODUCT_SYSTEM_EXT_PROPERTIES += \
52    ro.setupwizard.mode?=DISABLED
53