1# 2# Copyright (C) 2022 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 makefile comprises the minimal system_ext partition content for an 18# automotive device. 19$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 20 21ifneq ($(TARGET_NO_TELEPHONY), true) 22$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 23endif 24 25# Window Extensions 26$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk) 27 28PRODUCT_PACKAGES += \ 29 CarDeveloperOptions \ 30 CarProvision \ 31 CarSystemUI \ 32 33PRODUCT_PACKAGES_DEBUG += \ 34 BugReportApp \ 35 36# Default dex optimization configurations 37PRODUCT_SYSTEM_EXT_PROPERTIES += \ 38 dalvik.vm.dex2oat-cpu-set=0,1 \ 39 dalvik.vm.dex2oat-threads=2 \ 40 pm.dexopt.disable_bg_dexopt=false \ 41 pm.dexopt.downgrade_after_inactive_days=10 \ 42 43# Disable Prime Shader Cache in SurfaceFlinger to make it available faster 44PRODUCT_SYSTEM_EXT_PROPERTIES += \ 45 service.sf.prime_shader_cache=0 46 47# More configurations for AOSP cars 48PRODUCT_SYSTEM_EXT_PROPERTIES += \ 49 keyguard.no_require_sim=true \ 50 ro.carrier=unknown \ 51 ro.com.android.dataroaming?=true \ 52 ro.hardware.type=automotive \ 53