blob: 6fdd02a2865748da1ffa390f107793994a7422c5 [file] [log] [blame]
Sam Hurstace80182016-03-18 09:42:02 -07001#
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
Cole Faustc9d5f542020-09-01 11:19:03 -070020ifeq ($(DISABLE_CAR_PRODUCT_CONFIG_OVERLAY),)
Guobin Zhangd1033c32017-08-25 15:54:48 +080021PRODUCT_PACKAGE_OVERLAYS += packages/services/Car/car_product/overlay
Cole Faustc9d5f542020-09-01 11:19:03 -070022endif
23
24ifeq ($(DISABLE_CAR_PRODUCT_VISUAL_OVERLAY),)
25PRODUCT_PACKAGE_OVERLAYS += packages/services/Car/car_product/overlay-visual
26endif
Sam Hurstace80182016-03-18 09:42:02 -070027
Calvin Huang45d71fe2020-07-16 15:48:48 -070028PRODUCT_COPY_FILES += \
29 packages/services/Car/car_product/build/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \
30
Sam Hurstace80182016-03-18 09:42:02 -070031PRODUCT_PACKAGES += \
Roshan Piusa2354e32019-11-21 10:23:19 -080032 com.android.wifi \
Sam Hurstace80182016-03-18 09:42:02 -070033 Home \
34 BasicDreams \
35 CaptivePortalLogin \
36 CertInstaller \
Sam Hurstace80182016-03-18 09:42:02 -070037 DocumentsUI \
38 DownloadProviderUi \
39 FusedLocation \
40 InputDevices \
41 KeyChain \
42 Keyguard \
43 LatinIME \
44 Launcher2 \
45 ManagedProvisioning \
Sam Hurstace80182016-03-18 09:42:02 -070046 PacProcessor \
Sam Hurstace80182016-03-18 09:42:02 -070047 PrintSpooler \
48 ProxyHandler \
49 Settings \
50 SharedStorageBackup \
51 VpnDialogs \
52 MmsService \
53 ExternalStorageProvider \
54 atrace \
Patrik Fimml703b84c2018-11-21 15:39:13 +010055 cameraserver \
Sam Hurstace80182016-03-18 09:42:02 -070056 libandroidfw \
Sam Hurstace80182016-03-18 09:42:02 -070057 libaudioutils \
Sam Hurstace80182016-03-18 09:42:02 -070058 libmdnssd \
59 libnfc_ndef \
60 libpowermanager \
61 libspeexresampler \
Sam Hurstace80182016-03-18 09:42:02 -070062 libvariablespeed \
63 libwebrtc_audio_preprocessing \
Pavel Maltsev0d07c762016-11-03 16:40:15 -070064 A2dpSinkService \
Selim Gurunc4d7c012019-05-13 20:27:22 -070065 PackageInstaller \
66 car-bugreportd \
Pavel Maltsev2cc76d02017-02-14 12:28:33 -080067
Scott Randolphda289be2017-03-30 14:30:34 -070068# EVS resources
Scott Randolphda289be2017-03-30 14:30:34 -070069PRODUCT_PACKAGES += android.automotive.evs.manager@1.0
Scott Randolph4a232ac2017-05-31 12:19:46 -070070# The following packages, or their vendor specific equivalents should be include in the device.mk
Scott Randolph2060b452017-10-17 18:48:29 +010071#PRODUCT_PACKAGES += evs_app
Scott Randolph4a232ac2017-05-31 12:19:46 -070072#PRODUCT_PACKAGES += evs_app_default_resources
73#PRODUCT_PACKAGES += android.hardware.automotive.evs@1.0-service
Scott Randolphda289be2017-03-30 14:30:34 -070074
Bryan Eyler77096de2017-05-24 13:50:51 -070075# Device running Android is a car
76PRODUCT_COPY_FILES += \
77 frameworks/native/data/etc/android.hardware.type.automotive.xml:system/etc/permissions/android.hardware.type.automotive.xml
78
Lujiang Xuec66ccf42017-09-07 09:26:13 -070079# Default permission grant exceptions
80PRODUCT_COPY_FILES += \
Felipe Leme707a4192019-10-22 11:16:36 -070081 packages/services/Car/car_product/build/default-car-permissions.xml:system/etc/default-permissions/default-car-permissions.xml \
82 packages/services/Car/car_product/build/preinstalled-packages-product-car-base.xml:system/etc/sysconfig/preinstalled-packages-product-car-base.xml
Lujiang Xuec66ccf42017-09-07 09:26:13 -070083
Sam Hurstace80182016-03-18 09:42:02 -070084$(call inherit-product, $(SRC_TARGET_DIR)/product/core_minimal.mk)
85
Eric Jeong889fca02019-10-28 20:28:37 -070086# Default dex optimization configurations
87PRODUCT_PROPERTY_OVERRIDES += \
88 pm.dexopt.disable_bg_dexopt=true
Eric Jeong0bea43a2019-11-15 14:30:45 -080089
90# Required init rc files for car
91PRODUCT_COPY_FILES += \
92 packages/services/Car/car_product/init/init.bootstat.rc:system/etc/init/init.bootstat.car.rc \
93 packages/services/Car/car_product/init/init.car.rc:system/etc/init/init.car.rc
Eric Jeong674dfcc2020-01-23 15:29:58 -080094
95# Enable car watchdog
96include packages/services/Car/watchdog/product/carwatchdog.mk