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 | |
Pavel Maltsev | 3af9b32 | 2018-05-07 12:38:10 -0700 | [diff] [blame] | 19 | BOARD_PLAT_PUBLIC_SEPOLICY_DIR += packages/services/Car/car_product/sepolicy/public |
| 20 | BOARD_PLAT_PRIVATE_SEPOLICY_DIR += packages/services/Car/car_product/sepolicy/private |
| 21 | |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 22 | PRODUCT_PACKAGES += \ |
| 23 | Bluetooth \ |
Heemin Seog | be66bca | 2019-04-10 15:49:33 -0700 | [diff] [blame] | 24 | CarDeveloperOptions \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 25 | OneTimeInitializer \ |
| 26 | Provision \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 27 | SystemUpdater |
| 28 | |
| 29 | PRODUCT_PACKAGES += \ |
| 30 | clatd \ |
| 31 | clatd.conf \ |
| 32 | pppd \ |
| 33 | screenrecord |
| 34 | |
| 35 | # This is for testing |
Steve Paik | cf6a3eb | 2018-03-12 17:12:21 -0700 | [diff] [blame] | 36 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
Sam Hurst | ad00c6c | 2016-04-14 13:37:18 -0700 | [diff] [blame] | 37 | PRODUCT_PACKAGES += \ |
Enrico Granata | 3a1e626 | 2017-09-29 12:07:44 -0700 | [diff] [blame] | 38 | DefaultStorageMonitoringCompanionApp \ |
Antonio Cortes | d3974c9 | 2017-02-17 07:51:08 -0800 | [diff] [blame] | 39 | EmbeddedKitchenSinkApp \ |
Antonio Cortes | f41b088 | 2017-02-22 10:35:39 -0800 | [diff] [blame] | 40 | VmsPublisherClientSample \ |
Pavel Maltsev | 905968c | 2017-07-16 19:48:57 -0700 | [diff] [blame] | 41 | VmsSubscriberClientSample \ |
Peter Li | b64f88d | 2019-05-22 18:13:05 -0700 | [diff] [blame] | 42 | DirectRenderingCluster \ |
Serik Beketayev | aa1318b | 2018-07-17 09:48:39 -0700 | [diff] [blame] | 43 | GarageModeTestApp \ |
Steve Paik | cf6a3eb | 2018-03-12 17:12:21 -0700 | [diff] [blame] | 44 | |
Pavel Maltsev | 3af9b32 | 2018-05-07 12:38:10 -0700 | [diff] [blame] | 45 | # SEPolicy for test apps / services |
| 46 | BOARD_SEPOLICY_DIRS += packages/services/Car/car_product/sepolicy/test |
Steve Paik | cf6a3eb | 2018-03-12 17:12:21 -0700 | [diff] [blame] | 47 | endif |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 48 | |
Hongwei Wang | 980963c | 2019-01-18 14:58:52 -0800 | [diff] [blame] | 49 | PRODUCT_COPY_FILES += \ |
| 50 | frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 51 | |
| 52 | PRODUCT_PROPERTY_OVERRIDES += \ |
Ying Zheng | cae0425 | 2019-04-15 10:43:42 -0700 | [diff] [blame] | 53 | persist.bluetooth.enablenewavrcp=false \ |
Nicholas Sauer | 53dbf38 | 2019-05-02 13:26:45 -0700 | [diff] [blame] | 54 | ro.carrier=unknown |
| 55 | |
| 56 | # Enable headless user 0 |
| 57 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ |
| 58 | ro.fw.mu.headless_system_user=true \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 59 | |
| 60 | # Overlay for Google network and fused location providers |
| 61 | $(call inherit-product, device/sample/products/location_overlay.mk) |
| 62 | $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) |
| 63 | $(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk) |
| 64 | $(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk) |
| 65 | $(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk) |
| 66 | $(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk) |
| 67 | $(call inherit-product-if-exists, external/noto-fonts/fonts.mk) |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 68 | $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk) |
| 69 | $(call inherit-product-if-exists, external/hyphenation-patterns/patterns.mk) |
| 70 | $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) |
| 71 | $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk) |
| 72 | $(call inherit-product, packages/services/Car/car_product/build/car_base.mk) |
| 73 | |
| 74 | # Overrides |
| 75 | PRODUCT_BRAND := generic |
| 76 | PRODUCT_DEVICE := generic |
| 77 | PRODUCT_NAME := generic_car_no_telephony |
| 78 | |
| 79 | PRODUCT_PROPERTY_OVERRIDES := \ |
| 80 | ro.config.ringtone=Girtab.ogg \ |
| 81 | ro.config.notification_sound=Tethys.ogg \ |
| 82 | ro.config.alarm_alert=Oxygen.ogg \ |
| 83 | $(PRODUCT_PROPERTY_OVERRIDES) \ |
| 84 | |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 85 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 86 | keyguard.no_require_sim=true |
| 87 | |
| 88 | # Automotive specific packages |
| 89 | PRODUCT_PACKAGES += \ |
Priyank Singh | ab37e37 | 2019-03-25 13:35:16 -0700 | [diff] [blame] | 90 | CarFrameworkPackageStubs \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 91 | CarService \ |
Rakesh Iyer | 05f88fc | 2016-10-20 02:24:48 -0700 | [diff] [blame] | 92 | CarDialerApp \ |
| 93 | CarRadioApp \ |
| 94 | OverviewApp \ |
Brad Stenning | 8f919fe | 2018-02-26 17:02:58 -0800 | [diff] [blame] | 95 | CarLauncher \ |
Brad Stenning | 8a2d2a2 | 2018-06-19 15:23:20 -0700 | [diff] [blame] | 96 | CarSystemUI \ |
Rakesh Iyer | 05f88fc | 2016-10-20 02:24:48 -0700 | [diff] [blame] | 97 | LocalMediaPlayer \ |
| 98 | CarMediaApp \ |
Srinivas Visvanathan | 5bd7e2b | 2017-03-09 05:42:37 -0800 | [diff] [blame] | 99 | CarMessengerApp \ |
Rakesh Iyer | 05f88fc | 2016-10-20 02:24:48 -0700 | [diff] [blame] | 100 | CarHvacApp \ |
Rakesh Iyer | 95d5f7d | 2016-10-20 14:17:16 -0700 | [diff] [blame] | 101 | CarMapsPlaceholder \ |
Yao Chen | a04c60c | 2017-03-07 10:47:42 -0800 | [diff] [blame] | 102 | CarLatinIME \ |
Nicholas Sauer | bf4c687 | 2017-11-07 16:32:18 -0800 | [diff] [blame] | 103 | CarSettings \ |
Kevin Crossan | d428549 | 2016-11-28 18:40:43 -0800 | [diff] [blame] | 104 | CarUsbHandler \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 105 | android.car \ |
Steve Paik | 7d6c162 | 2018-02-09 11:52:13 -0800 | [diff] [blame] | 106 | car-frameworks-service \ |
Enrico Granata | e23f034 | 2017-10-23 17:17:52 -0700 | [diff] [blame] | 107 | com.android.car.procfsinspector \ |
Steve Paik | 7d6c162 | 2018-02-09 11:52:13 -0800 | [diff] [blame] | 108 | libcar-framework-service-jni \ |
| 109 | |
| 110 | # System Server components |
| 111 | PRODUCT_SYSTEM_SERVER_JARS += car-frameworks-service |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 112 | |
| 113 | # Boot animation |
| 114 | PRODUCT_COPY_FILES += \ |
Kamaljeet Maini | a0993ea | 2019-01-01 01:05:36 +0000 | [diff] [blame] | 115 | packages/services/Car/car_product/bootanimations/bootanimation-832.zip:system/media/bootanimation.zip |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 116 | |
Keun-young Park | 760fffb | 2019-02-11 17:43:00 -0800 | [diff] [blame] | 117 | PRODUCT_COPY_FILES += \ |
Huihong Luo | d609837 | 2019-02-19 16:19:00 -0800 | [diff] [blame] | 118 | packages/services/Car/car_product/init/init.bootstat.rc:system/etc/init/init.bootstat.car.rc \ |
Keun-young Park | 760fffb | 2019-02-11 17:43:00 -0800 | [diff] [blame] | 119 | packages/services/Car/car_product/init/init.car.rc:system/etc/init/init.car.rc |
| 120 | |
Heemin Seog | 0171702 | 2019-07-02 12:57:17 -0700 | [diff] [blame] | 121 | PRODUCT_LOCALES := \ |
| 122 | en_US \ |
| 123 | af_ZA \ |
| 124 | am_ET \ |
| 125 | ar_EG ar_XB \ |
| 126 | as_IN \ |
| 127 | az_AZ \ |
| 128 | be_BY \ |
| 129 | bg_BG \ |
| 130 | bn_BD \ |
| 131 | bs_BA \ |
| 132 | ca_ES \ |
| 133 | cs_CZ \ |
| 134 | da_DK \ |
| 135 | de_DE \ |
| 136 | el_GR \ |
| 137 | en_AU en_CA en_GB en_IN en_XA \ |
| 138 | es_ES es_US \ |
| 139 | et_EE \ |
| 140 | eu_ES \ |
| 141 | fa_IR \ |
| 142 | fi_FI \ |
| 143 | fil_PH \ |
| 144 | fr_CA fr_FR \ |
| 145 | gl_ES \ |
| 146 | gu_IN \ |
| 147 | hi_IN \ |
| 148 | hr_HR \ |
| 149 | hu_HU \ |
| 150 | hy_AM \ |
| 151 | id_ID \ |
| 152 | is_IS \ |
| 153 | it_IT \ |
| 154 | iw_IL \ |
| 155 | ja_JP \ |
| 156 | ka_GE \ |
| 157 | kk_KZ \ |
| 158 | km_KH km_MH \ |
| 159 | kn_IN \ |
| 160 | ko_KR \ |
| 161 | ky_KG \ |
| 162 | lo_LA \ |
| 163 | lv_LV \ |
| 164 | lt_LT \ |
| 165 | mk_MK \ |
| 166 | ml_IN \ |
| 167 | mn_MN \ |
| 168 | mr_IN \ |
| 169 | ms_MY \ |
| 170 | my_MM \ |
| 171 | ne_NP \ |
| 172 | nl_NL \ |
| 173 | no_NO \ |
| 174 | or_IN \ |
| 175 | pa_IN \ |
| 176 | pl_PL \ |
| 177 | pt_BR pt_PT \ |
| 178 | ro_RO \ |
| 179 | ru_RU \ |
| 180 | si_LK \ |
| 181 | sk_SK \ |
| 182 | sl_SI \ |
| 183 | sq_AL \ |
| 184 | sr_RS \ |
| 185 | sv_SE \ |
| 186 | sw_TZ \ |
| 187 | ta_IN \ |
| 188 | te_IN \ |
| 189 | th_TH \ |
| 190 | tr_TR \ |
| 191 | uk_UA \ |
| 192 | ur_PK \ |
| 193 | uz_UZ \ |
| 194 | vi_VN \ |
| 195 | zh_CN zh_HK zh_TW \ |
| 196 | zu_ZA |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 197 | |
Keun-young Park | be1cecb | 2016-04-18 18:56:37 -0700 | [diff] [blame] | 198 | # should add to BOOT_JARS only once |
| 199 | ifeq (,$(INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS)) |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 200 | PRODUCT_BOOT_JARS += \ |
| 201 | android.car |
| 202 | |
David Brazdil | 43231d9 | 2018-08-24 14:36:57 +0100 | [diff] [blame] | 203 | PRODUCT_HIDDENAPI_STUBS := \ |
Dean Harding | 877990f | 2019-04-02 13:57:49 -0700 | [diff] [blame] | 204 | android.car-stubs-dex |
David Brazdil | 43231d9 | 2018-08-24 14:36:57 +0100 | [diff] [blame] | 205 | |
| 206 | PRODUCT_HIDDENAPI_STUBS_SYSTEM := \ |
Dean Harding | 877990f | 2019-04-02 13:57:49 -0700 | [diff] [blame] | 207 | android.car-system-stubs-dex |
David Brazdil | 43231d9 | 2018-08-24 14:36:57 +0100 | [diff] [blame] | 208 | |
Selim Gurun | e402992 | 2018-12-12 17:18:43 -0800 | [diff] [blame] | 209 | PRODUCT_HIDDENAPI_STUBS_TEST := \ |
Dean Harding | 877990f | 2019-04-02 13:57:49 -0700 | [diff] [blame] | 210 | android.car-test-stubs-dex |
Selim Gurun | e402992 | 2018-12-12 17:18:43 -0800 | [diff] [blame] | 211 | |
Keun-young Park | be1cecb | 2016-04-18 18:56:37 -0700 | [diff] [blame] | 212 | INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS := yes |
| 213 | endif |
Haoxiang Li | 3128388 | 2019-08-01 16:50:23 -0700 | [diff] [blame^] | 214 | |
| 215 | # Disable Prime Shader Cache in SurfaceFlinger to make it available faster |
| 216 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 217 | service.sf.prime_shader_cache=0 |