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 # Common make file for all car builds 18 19 PRODUCT_PACKAGES += \ 20 Bluetooth \ 21 OneTimeInitializer \ 22 Provision \ 23 SystemUI \ 24 SystemUpdater 25 26 PRODUCT_PACKAGES += \ 27 clatd \ 28 clatd.conf \ 29 pppd \ 30 screenrecord 31 32 # This is for testing 33 PRODUCT_PACKAGES += \ 34 EmbeddedKitchenSinkApp \ 35 VmsPublisherClientSample \ 36 VmsSubscriberClientSample \ 37 android.car.cluster.loggingrenderer \ 38 DirectRenderingClusterSample \ 39 40 PRODUCT_COPY_FILES := \ 41 frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \ 42 packages/services/Car/car_product/preloaded-classes-car:system/etc/preloaded-classes \ 43 44 PRODUCT_PROPERTY_OVERRIDES += \ 45 ro.carrier=unknown 46 47 # Overlay for Google network and fused location providers 48 $(call inherit-product, device/sample/products/location_overlay.mk) 49 $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) 50 $(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk) 51 $(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk) 52 $(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk) 53 $(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk) 54 $(call inherit-product-if-exists, external/noto-fonts/fonts.mk) 55 $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk) 56 $(call inherit-product-if-exists, external/hyphenation-patterns/patterns.mk) 57 $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) 58 $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk) 59 $(call inherit-product, packages/services/Car/car_product/build/car_base.mk) 60 61 # Overrides 62 PRODUCT_BRAND := generic 63 PRODUCT_DEVICE := generic 64 PRODUCT_NAME := generic_car_no_telephony 65 66 PRODUCT_PROPERTY_OVERRIDES := \ 67 ro.config.ringtone=Girtab.ogg \ 68 ro.config.notification_sound=Tethys.ogg \ 69 ro.config.alarm_alert=Oxygen.ogg \ 70 $(PRODUCT_PROPERTY_OVERRIDES) \ 71 72 PRODUCT_PROPERTY_OVERRIDES += \ 73 keyguard.no_require_sim=true 74 75 # Automotive specific packages 76 PRODUCT_PACKAGES += \ 77 vehicle_monitor_service \ 78 CarService \ 79 CarTrustAgentService \ 80 CarDialerApp \ 81 CarRadioApp \ 82 OverviewApp \ 83 CarLensPickerApp \ 84 LocalMediaPlayer \ 85 CarMediaApp \ 86 CarMessengerApp \ 87 CarHvacApp \ 88 CarMapsPlaceholder \ 89 CarLatinIME \ 90 CarUsbHandler \ 91 android.car \ 92 libvehiclemonitor-native \ 93 94 # Boot animation 95 PRODUCT_COPY_FILES += \ 96 packages/services/Car/car_product/bootanimations/bootanimation-832.zip:system/media/bootanimation.zip 97 98 PRODUCT_PROPERTY_OVERRIDES += \ 99 fmas.spkr_6ch=35,20,110 \ 100 fmas.spkr_2ch=35,25 \ 101 fmas.spkr_angles=10 \ 102 fmas.spkr_sgain=0 \ 103 media.aac_51_output_enabled=true 104 105 PRODUCT_LOCALES := en_US af_ZA am_ET ar_EG bg_BG bn_BD ca_ES cs_CZ da_DK de_DE el_GR en_AU en_GB en_IN es_ES es_US et_EE eu_ES fa_IR fi_FI fr_CA fr_FR gl_ES hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_IT iw_IL ja_JP ka_GE km_KH ko_KR ky_KG lo_LA lt_LT lv_LV km_MH kn_IN mn_MN ml_IN mk_MK mr_IN ms_MY my_MM ne_NP nb_NO nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA vi_VN zh_CN zh_HK zh_TW zu_ZA en_XA ar_XB 106 107 # should add to BOOT_JARS only once 108 ifeq (,$(INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS)) 109 PRODUCT_BOOT_JARS += \ 110 android.car 111 112 INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS := yes 113 endif 114