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 com.android.wifi \ 24 Home \ 25 BasicDreams \ 26 CaptivePortalLogin \ 27 CertInstaller \ 28 DocumentsUI \ 29 DownloadProviderUi \ 30 FusedLocation \ 31 InputDevices \ 32 KeyChain \ 33 Keyguard \ 34 LatinIME \ 35 Launcher2 \ 36 ManagedProvisioning \ 37 PacProcessor \ 38 PrintSpooler \ 39 ProxyHandler \ 40 Settings \ 41 SharedStorageBackup \ 42 VpnDialogs \ 43 MmsService \ 44 ExternalStorageProvider \ 45 atrace \ 46 cameraserver \ 47 libandroidfw \ 48 libaudioutils \ 49 libmdnssd \ 50 libnfc_ndef \ 51 libpowermanager \ 52 libspeexresampler \ 53 libvariablespeed \ 54 libwebrtc_audio_preprocessing \ 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 packages/services/Car/car_product/build/preinstalled-packages-product-car-base.xml:system/etc/sysconfig/preinstalled-packages-product-car-base.xml 74 75$(call inherit-product, $(SRC_TARGET_DIR)/product/core_minimal.mk) 76 77# Default dex optimization configurations 78PRODUCT_PROPERTY_OVERRIDES += \ 79 pm.dexopt.disable_bg_dexopt=true 80 81# Required init rc files for car 82PRODUCT_COPY_FILES += \ 83 packages/services/Car/car_product/init/init.bootstat.rc:system/etc/init/init.bootstat.car.rc \ 84 packages/services/Car/car_product/init/init.car.rc:system/etc/init/init.car.rc 85 86# Enable car watchdog 87include packages/services/Car/watchdog/product/carwatchdog.mk 88