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