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 | |
Keun-young Park | d42e3f7 | 2020-05-21 22:01:41 +0000 | [diff] [blame] | 19 | PRODUCT_PUBLIC_SEPOLICY_DIRS += packages/services/Car/car_product/sepolicy/public |
| 20 | PRODUCT_PRIVATE_SEPOLICY_DIRS += packages/services/Car/car_product/sepolicy/private |
Pavel Maltsev | 3af9b32 | 2018-05-07 12:38:10 -0700 | [diff] [blame] | 21 | |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 22 | PRODUCT_PACKAGES += \ |
| 23 | Bluetooth \ |
Danny Epstein | ad3a8c7 | 2021-02-16 16:40:20 -0800 | [diff] [blame] | 24 | CarActivityResolver \ |
Alex Stetson | 457fe41 | 2020-12-11 08:44:13 -0800 | [diff] [blame] | 25 | CarDeveloperOptions \ |
Alex Stetson | 89773b7 | 2021-02-23 14:36:47 -0800 | [diff] [blame] | 26 | CarSettingsIntelligence \ |
Yan Zhu | ca14087 | 2021-10-06 23:02:31 -0700 | [diff] [blame^] | 27 | CarManagedProvisioning \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 28 | OneTimeInitializer \ |
Felipe Leme | 8e3affe | 2020-10-12 18:52:51 -0700 | [diff] [blame] | 29 | CarProvision \ |
Keun young Park | 5bebf15 | 2020-06-16 15:34:00 -0700 | [diff] [blame] | 30 | StatementService \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 31 | SystemUpdater |
| 32 | |
Keun young Park | 5bebf15 | 2020-06-16 15:34:00 -0700 | [diff] [blame] | 33 | |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 34 | PRODUCT_PACKAGES += \ |
| 35 | clatd \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 36 | pppd \ |
| 37 | screenrecord |
| 38 | |
| 39 | # This is for testing |
Steve Paik | cf6a3eb | 2018-03-12 17:12:21 -0700 | [diff] [blame] | 40 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
Sam Hurst | ad00c6c | 2016-04-14 13:37:18 -0700 | [diff] [blame] | 41 | PRODUCT_PACKAGES += \ |
Enrico Granata | 3a1e626 | 2017-09-29 12:07:44 -0700 | [diff] [blame] | 42 | DefaultStorageMonitoringCompanionApp \ |
Antonio Cortes | d3974c9 | 2017-02-17 07:51:08 -0800 | [diff] [blame] | 43 | EmbeddedKitchenSinkApp \ |
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 \ |
Zhomart Mukhamejanov | 951569f | 2020-06-26 15:03:57 -0700 | [diff] [blame] | 46 | BugReportApp \ |
Serik Beketayev | 0254f0e | 2020-12-02 16:50:08 -0800 | [diff] [blame] | 47 | NetworkPreferenceApp \ |
Antonio Kantek | 6ee04d3 | 2021-01-05 20:21:57 -0800 | [diff] [blame] | 48 | SampleCustomInputService \ |
Grace Cheng | 1cf7047 | 2021-06-23 12:08:10 -0700 | [diff] [blame] | 49 | AdasLocationTestApp \ |
Steve Paik | cf6a3eb | 2018-03-12 17:12:21 -0700 | [diff] [blame] | 50 | |
Pavel Maltsev | 3af9b32 | 2018-05-07 12:38:10 -0700 | [diff] [blame] | 51 | # SEPolicy for test apps / services |
| 52 | BOARD_SEPOLICY_DIRS += packages/services/Car/car_product/sepolicy/test |
Steve Paik | cf6a3eb | 2018-03-12 17:12:21 -0700 | [diff] [blame] | 53 | endif |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 54 | |
Yuncheol Heo | 21cbb4d | 2021-06-04 18:08:22 -0700 | [diff] [blame] | 55 | # ClusterOsDouble is the testing app to test Cluster2 framework and it can handle Cluster VHAL |
| 56 | # and do some Cluster OS role. |
| 57 | ifeq ($(ENABLE_CLUSTER_OS_DOUBLE), true) |
| 58 | PRODUCT_PACKAGES += ClusterHomeSample ClusterOsDouble |
| 59 | else |
| 60 | # DirectRenderingCluster is the sample app for the old Cluster framework. |
| 61 | PRODUCT_PACKAGES += DirectRenderingCluster |
| 62 | endif # ENABLE_CLUSTER_OS_DOUBLE |
| 63 | |
Hongwei Wang | 980963c | 2019-01-18 14:58:52 -0800 | [diff] [blame] | 64 | PRODUCT_COPY_FILES += \ |
| 65 | 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] | 66 | |
| 67 | PRODUCT_PROPERTY_OVERRIDES += \ |
Ying Zheng | cae0425 | 2019-04-15 10:43:42 -0700 | [diff] [blame] | 68 | persist.bluetooth.enablenewavrcp=false \ |
Nicholas Sauer | 53dbf38 | 2019-05-02 13:26:45 -0700 | [diff] [blame] | 69 | ro.carrier=unknown |
| 70 | |
Nicholas Sauer | 53dbf38 | 2019-05-02 13:26:45 -0700 | [diff] [blame] | 71 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ |
Felipe Leme | 11b170d | 2019-08-08 16:57:55 -0700 | [diff] [blame] | 72 | config.disable_systemtextclassifier=true |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 73 | |
felipeal | aa5c6f2 | 2020-08-06 12:21:48 -0700 | [diff] [blame] | 74 | ### |
| 75 | ### Suggested values for multi-user properties - can be overridden |
| 76 | ### |
| 77 | |
| 78 | # Enable headless system user mode |
| 79 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ |
| 80 | ro.fw.mu.headless_system_user?=true |
| 81 | |
| 82 | # Enable user pre-creation |
| 83 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ |
| 84 | android.car.number_pre_created_users?=1 \ |
felipeal | 54c0b05 | 2020-09-11 12:37:40 -0700 | [diff] [blame] | 85 | android.car.number_pre_created_guests?=1 |
felipeal | aa5c6f2 | 2020-08-06 12:21:48 -0700 | [diff] [blame] | 86 | |
felipeal | aa5c6f2 | 2020-08-06 12:21:48 -0700 | [diff] [blame] | 87 | ### end of multi-user properties ### |
| 88 | |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 89 | # Overlay for Google network and fused location providers |
| 90 | $(call inherit-product, device/sample/products/location_overlay.mk) |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 91 | $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk) |
| 92 | $(call inherit-product, packages/services/Car/car_product/build/car_base.mk) |
| 93 | |
| 94 | # Overrides |
| 95 | PRODUCT_BRAND := generic |
| 96 | PRODUCT_DEVICE := generic |
| 97 | PRODUCT_NAME := generic_car_no_telephony |
| 98 | |
Gaurav Sarode | 414c7ef | 2020-03-26 10:29:13 -0700 | [diff] [blame] | 99 | PRODUCT_IS_AUTOMOTIVE := true |
| 100 | |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 101 | PRODUCT_PROPERTY_OVERRIDES := \ |
| 102 | ro.config.ringtone=Girtab.ogg \ |
| 103 | ro.config.notification_sound=Tethys.ogg \ |
| 104 | ro.config.alarm_alert=Oxygen.ogg \ |
| 105 | $(PRODUCT_PROPERTY_OVERRIDES) \ |
| 106 | |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 107 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 108 | keyguard.no_require_sim=true |
| 109 | |
| 110 | # Automotive specific packages |
| 111 | PRODUCT_PACKAGES += \ |
Priyank Singh | ab37e37 | 2019-03-25 13:35:16 -0700 | [diff] [blame] | 112 | CarFrameworkPackageStubs \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 113 | CarService \ |
Keun young Park | 4a660f9 | 2020-08-04 12:14:03 -0700 | [diff] [blame] | 114 | CarShell \ |
Rakesh Iyer | 05f88fc | 2016-10-20 02:24:48 -0700 | [diff] [blame] | 115 | CarDialerApp \ |
| 116 | CarRadioApp \ |
| 117 | OverviewApp \ |
Brad Stenning | 8f919fe | 2018-02-26 17:02:58 -0800 | [diff] [blame] | 118 | CarLauncher \ |
Brad Stenning | 8a2d2a2 | 2018-06-19 15:23:20 -0700 | [diff] [blame] | 119 | CarSystemUI \ |
Rakesh Iyer | 05f88fc | 2016-10-20 02:24:48 -0700 | [diff] [blame] | 120 | LocalMediaPlayer \ |
| 121 | CarMediaApp \ |
Srinivas Visvanathan | 5bd7e2b | 2017-03-09 05:42:37 -0800 | [diff] [blame] | 122 | CarMessengerApp \ |
Yabin Huang | 01be51c | 2021-04-27 14:28:06 -0700 | [diff] [blame] | 123 | CarHTMLViewer \ |
Rakesh Iyer | 05f88fc | 2016-10-20 02:24:48 -0700 | [diff] [blame] | 124 | CarHvacApp \ |
Rakesh Iyer | 95d5f7d | 2016-10-20 14:17:16 -0700 | [diff] [blame] | 125 | CarMapsPlaceholder \ |
Yao Chen | a04c60c | 2017-03-07 10:47:42 -0800 | [diff] [blame] | 126 | CarLatinIME \ |
Nicholas Sauer | bf4c687 | 2017-11-07 16:32:18 -0800 | [diff] [blame] | 127 | CarSettings \ |
Kevin Crossan | d428549 | 2016-11-28 18:40:43 -0800 | [diff] [blame] | 128 | CarUsbHandler \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 129 | android.car \ |
Steve Paik | 7d6c162 | 2018-02-09 11:52:13 -0800 | [diff] [blame] | 130 | car-frameworks-service \ |
Enrico Granata | e23f034 | 2017-10-23 17:17:52 -0700 | [diff] [blame] | 131 | com.android.car.procfsinspector \ |
Steve Paik | 7d6c162 | 2018-02-09 11:52:13 -0800 | [diff] [blame] | 132 | libcar-framework-service-jni \ |
Max Dashouk | 3b7e350 | 2021-08-13 17:54:51 +0000 | [diff] [blame] | 133 | ScriptExecutor \ |
Steve Paik | 7d6c162 | 2018-02-09 11:52:13 -0800 | [diff] [blame] | 134 | |
Alex Stetson | 8d9f67e | 2020-08-27 11:39:59 -0700 | [diff] [blame] | 135 | # RROs |
| 136 | PRODUCT_PACKAGES += \ |
| 137 | CarPermissionControllerRRO \ |
| 138 | |
Steve Paik | 7d6c162 | 2018-02-09 11:52:13 -0800 | [diff] [blame] | 139 | # System Server components |
Ulya Trafimovich | 14000f4 | 2020-01-20 13:51:26 +0000 | [diff] [blame] | 140 | # 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] | 141 | PRODUCT_SYSTEM_SERVER_JARS += car-frameworks-service |
Ulya Trafimovich | ce9c67a | 2020-03-27 12:29:03 +0000 | [diff] [blame] | 142 | # TODO: make the order optimal by appending 'car-frameworks-service' at the end |
| 143 | # after its dependency 'services'. Currently the order is violated because this |
| 144 | # makefile is included before AOSP makefile. |
| 145 | PRODUCT_BROKEN_SUBOPTIMAL_ORDER_OF_SYSTEM_SERVER_JARS := true |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 146 | |
| 147 | # Boot animation |
| 148 | PRODUCT_COPY_FILES += \ |
Kamaljeet Maini | a0993ea | 2019-01-01 01:05:36 +0000 | [diff] [blame] | 149 | 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] | 150 | |
Heemin Seog | 0171702 | 2019-07-02 12:57:17 -0700 | [diff] [blame] | 151 | PRODUCT_LOCALES := \ |
| 152 | en_US \ |
| 153 | af_ZA \ |
| 154 | am_ET \ |
| 155 | ar_EG ar_XB \ |
| 156 | as_IN \ |
| 157 | az_AZ \ |
| 158 | be_BY \ |
| 159 | bg_BG \ |
| 160 | bn_BD \ |
| 161 | bs_BA \ |
| 162 | ca_ES \ |
| 163 | cs_CZ \ |
| 164 | da_DK \ |
| 165 | de_DE \ |
| 166 | el_GR \ |
| 167 | en_AU en_CA en_GB en_IN en_XA \ |
| 168 | es_ES es_US \ |
| 169 | et_EE \ |
| 170 | eu_ES \ |
| 171 | fa_IR \ |
| 172 | fi_FI \ |
| 173 | fil_PH \ |
| 174 | fr_CA fr_FR \ |
| 175 | gl_ES \ |
| 176 | gu_IN \ |
| 177 | hi_IN \ |
| 178 | hr_HR \ |
| 179 | hu_HU \ |
| 180 | hy_AM \ |
| 181 | id_ID \ |
| 182 | is_IS \ |
| 183 | it_IT \ |
| 184 | iw_IL \ |
| 185 | ja_JP \ |
| 186 | ka_GE \ |
| 187 | kk_KZ \ |
| 188 | km_KH km_MH \ |
| 189 | kn_IN \ |
| 190 | ko_KR \ |
| 191 | ky_KG \ |
| 192 | lo_LA \ |
| 193 | lv_LV \ |
| 194 | lt_LT \ |
| 195 | mk_MK \ |
| 196 | ml_IN \ |
| 197 | mn_MN \ |
| 198 | mr_IN \ |
| 199 | ms_MY \ |
| 200 | my_MM \ |
| 201 | ne_NP \ |
| 202 | nl_NL \ |
| 203 | no_NO \ |
| 204 | or_IN \ |
| 205 | pa_IN \ |
| 206 | pl_PL \ |
| 207 | pt_BR pt_PT \ |
| 208 | ro_RO \ |
| 209 | ru_RU \ |
| 210 | si_LK \ |
| 211 | sk_SK \ |
| 212 | sl_SI \ |
| 213 | sq_AL \ |
| 214 | sr_RS \ |
| 215 | sv_SE \ |
| 216 | sw_TZ \ |
| 217 | ta_IN \ |
| 218 | te_IN \ |
| 219 | th_TH \ |
| 220 | tr_TR \ |
| 221 | uk_UA \ |
| 222 | ur_PK \ |
| 223 | uz_UZ \ |
| 224 | vi_VN \ |
| 225 | zh_CN zh_HK zh_TW \ |
| 226 | zu_ZA |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 227 | |
| 228 | PRODUCT_BOOT_JARS += \ |
| 229 | android.car |
| 230 | |
David Brazdil | 43231d9 | 2018-08-24 14:36:57 +0100 | [diff] [blame] | 231 | PRODUCT_HIDDENAPI_STUBS := \ |
Dean Harding | 877990f | 2019-04-02 13:57:49 -0700 | [diff] [blame] | 232 | android.car-stubs-dex |
David Brazdil | 43231d9 | 2018-08-24 14:36:57 +0100 | [diff] [blame] | 233 | |
| 234 | PRODUCT_HIDDENAPI_STUBS_SYSTEM := \ |
Dean Harding | 877990f | 2019-04-02 13:57:49 -0700 | [diff] [blame] | 235 | android.car-system-stubs-dex |
David Brazdil | 43231d9 | 2018-08-24 14:36:57 +0100 | [diff] [blame] | 236 | |
Selim Gurun | e402992 | 2018-12-12 17:18:43 -0800 | [diff] [blame] | 237 | PRODUCT_HIDDENAPI_STUBS_TEST := \ |
Dean Harding | 877990f | 2019-04-02 13:57:49 -0700 | [diff] [blame] | 238 | android.car-test-stubs-dex |
Selim Gurun | e402992 | 2018-12-12 17:18:43 -0800 | [diff] [blame] | 239 | |
Haoxiang Li | 3128388 | 2019-08-01 16:50:23 -0700 | [diff] [blame] | 240 | # Disable Prime Shader Cache in SurfaceFlinger to make it available faster |
| 241 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 242 | service.sf.prime_shader_cache=0 |