1#
2# Copyright (C) 2016 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# Base platform for car builds
18# car packages should be added to car.mk instead of here
19
20PRODUCT_PACKAGE_OVERLAYS += packages/services/Car/car_product/overlay
21
22PRODUCT_PACKAGES += \
23    Home \
24    BasicDreams \
25    CaptivePortalLogin \
26    CertInstaller \
27    DocumentsUI \
28    DownloadProviderUi \
29    FusedLocation \
30    InputDevices \
31    KeyChain \
32    Keyguard \
33    LatinIME \
34    Launcher2 \
35    ManagedProvisioning \
36    PacProcessor \
37    PrintSpooler \
38    ProxyHandler \
39    Settings \
40    SharedStorageBackup \
41    VpnDialogs \
42    MmsService \
43    ExternalStorageProvider \
44    atrace \
45    cameraserver \
46    libandroidfw \
47    libaudioutils \
48    libmdnssd \
49    libnfc_ndef \
50    libpowermanager \
51    libspeexresampler \
52    libvariablespeed \
53    libwebrtc_audio_preprocessing \
54    wifi-service \
55    A2dpSinkService \
56    PackageInstaller \
57    car-bugreportd \
58
59# EVS resources
60PRODUCT_PACKAGES += android.automotive.evs.manager@1.0
61# The following packages, or their vendor specific equivalents should be include in the device.mk
62#PRODUCT_PACKAGES += evs_app
63#PRODUCT_PACKAGES += evs_app_default_resources
64#PRODUCT_PACKAGES += android.hardware.automotive.evs@1.0-service
65
66# Device running Android is a car
67PRODUCT_COPY_FILES += \
68    frameworks/native/data/etc/android.hardware.type.automotive.xml:system/etc/permissions/android.hardware.type.automotive.xml
69
70# Default permission grant exceptions
71PRODUCT_COPY_FILES += \
72    packages/services/Car/car_product/build/default-car-permissions.xml:system/etc/default-permissions/default-car-permissions.xml
73
74$(call inherit-product, $(SRC_TARGET_DIR)/product/core_minimal.mk)
75
76# Default dex optimization configurations
77PRODUCT_PROPERTY_OVERRIDES += \
78     pm.dexopt.disable_bg_dexopt=true
79