Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 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 \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 21 | bt-map-service \ |
| 22 | OneTimeInitializer \ |
| 23 | Provision \ |
| 24 | SystemUI \ |
| 25 | SystemUpdater |
| 26 | |
| 27 | PRODUCT_PACKAGES += \ |
| 28 | clatd \ |
| 29 | clatd.conf \ |
| 30 | pppd \ |
| 31 | screenrecord |
| 32 | |
| 33 | # This is for testing |
Sam Hurst | ad00c6c | 2016-04-14 13:37:18 -0700 | [diff] [blame] | 34 | PRODUCT_PACKAGES += \ |
Antonio Cortes | d3974c9 | 2017-02-17 07:51:08 -0800 | [diff] [blame] | 35 | EmbeddedKitchenSinkApp \ |
Antonio Cortes | f41b088 | 2017-02-22 10:35:39 -0800 | [diff] [blame] | 36 | VmsPublisherClientSample \ |
| 37 | VmsSubscriberClientSample |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 38 | |
| 39 | PRODUCT_COPY_FILES := \ |
| 40 | frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \ |
| 41 | packages/services/Car/car_product/preloaded-classes-car:system/etc/preloaded-classes \ |
| 42 | |
| 43 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 44 | ro.carrier=unknown |
| 45 | |
| 46 | # Overlay for Google network and fused location providers |
| 47 | $(call inherit-product, device/sample/products/location_overlay.mk) |
| 48 | $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) |
| 49 | $(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk) |
| 50 | $(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk) |
| 51 | $(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk) |
| 52 | $(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk) |
| 53 | $(call inherit-product-if-exists, external/noto-fonts/fonts.mk) |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 54 | $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk) |
| 55 | $(call inherit-product-if-exists, external/hyphenation-patterns/patterns.mk) |
| 56 | $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) |
| 57 | $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk) |
| 58 | $(call inherit-product, packages/services/Car/car_product/build/car_base.mk) |
| 59 | |
| 60 | # Overrides |
| 61 | PRODUCT_BRAND := generic |
| 62 | PRODUCT_DEVICE := generic |
| 63 | PRODUCT_NAME := generic_car_no_telephony |
| 64 | |
| 65 | PRODUCT_PROPERTY_OVERRIDES := \ |
| 66 | ro.config.ringtone=Girtab.ogg \ |
| 67 | ro.config.notification_sound=Tethys.ogg \ |
| 68 | ro.config.alarm_alert=Oxygen.ogg \ |
| 69 | $(PRODUCT_PROPERTY_OVERRIDES) \ |
| 70 | |
| 71 | # SetupWizard requires internet access before continuing |
| 72 | # (hot sim or wifi not blocked by captive portal) |
| 73 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 74 | ro.setupwizard.require_network=any |
| 75 | |
| 76 | |
| 77 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 78 | keyguard.no_require_sim=true |
| 79 | |
| 80 | # Automotive specific packages |
| 81 | PRODUCT_PACKAGES += \ |
Vitalii Tomkiv | 901c024 | 2016-08-19 13:13:16 -0700 | [diff] [blame] | 82 | vehicle_monitor_service \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 83 | CarService \ |
| 84 | CarUiProvider \ |
Rakesh Iyer | 05f88fc | 2016-10-20 02:24:48 -0700 | [diff] [blame] | 85 | CarTrustAgentService \ |
| 86 | CarDialerApp \ |
| 87 | CarRadioApp \ |
| 88 | OverviewApp \ |
| 89 | CarLensPickerApp \ |
| 90 | LocalMediaPlayer \ |
| 91 | CarMediaApp \ |
| 92 | Stream \ |
| 93 | CarHvacApp \ |
Rakesh Iyer | 95d5f7d | 2016-10-20 14:17:16 -0700 | [diff] [blame] | 94 | CarMapsPlaceholder \ |
Yao Chen | a04c60c | 2017-03-07 10:47:42 -0800 | [diff] [blame^] | 95 | CarLatinIME \ |
Kevin Crossan | d428549 | 2016-11-28 18:40:43 -0800 | [diff] [blame] | 96 | CarUsbHandler \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 97 | android.car \ |
Vitalii Tomkiv | 901c024 | 2016-08-19 13:13:16 -0700 | [diff] [blame] | 98 | libvehiclemonitor-native \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 99 | |
| 100 | # Boot animation |
| 101 | PRODUCT_COPY_FILES += \ |
| 102 | packages/services/Car/car_product/bootanimations/square_280/bootanimation.zip:system/media/bootanimation.zip |
| 103 | |
| 104 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 105 | fmas.spkr_6ch=35,20,110 \ |
| 106 | fmas.spkr_2ch=35,25 \ |
| 107 | fmas.spkr_angles=10 \ |
| 108 | fmas.spkr_sgain=0 \ |
| 109 | media.aac_51_output_enabled=true |
| 110 | |
| 111 | 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 |
| 112 | |
Keun-young Park | be1cecb | 2016-04-18 18:56:37 -0700 | [diff] [blame] | 113 | # should add to BOOT_JARS only once |
| 114 | ifeq (,$(INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS)) |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 115 | PRODUCT_BOOT_JARS += \ |
| 116 | android.car |
| 117 | |
Keun-young Park | be1cecb | 2016-04-18 18:56:37 -0700 | [diff] [blame] | 118 | INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS := yes |
| 119 | endif |