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 \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 24 | OneTimeInitializer \ |
| 25 | Provision \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 26 | SystemUpdater |
| 27 | |
| 28 | PRODUCT_PACKAGES += \ |
| 29 | clatd \ |
| 30 | clatd.conf \ |
| 31 | pppd \ |
| 32 | screenrecord |
| 33 | |
| 34 | # This is for testing |
Steve Paik | cf6a3eb | 2018-03-12 17:12:21 -0700 | [diff] [blame] | 35 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
Sam Hurst | ad00c6c | 2016-04-14 13:37:18 -0700 | [diff] [blame] | 36 | PRODUCT_PACKAGES += \ |
Enrico Granata | 3a1e626 | 2017-09-29 12:07:44 -0700 | [diff] [blame] | 37 | DefaultStorageMonitoringCompanionApp \ |
Antonio Cortes | d3974c9 | 2017-02-17 07:51:08 -0800 | [diff] [blame] | 38 | EmbeddedKitchenSinkApp \ |
Antonio Cortes | f41b088 | 2017-02-22 10:35:39 -0800 | [diff] [blame] | 39 | VmsPublisherClientSample \ |
Pavel Maltsev | 905968c | 2017-07-16 19:48:57 -0700 | [diff] [blame] | 40 | VmsSubscriberClientSample \ |
| 41 | android.car.cluster.loggingrenderer \ |
| 42 | DirectRenderingClusterSample \ |
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 += \ |
Joseph Pirozzo | bdb2ef7 | 2018-04-19 15:32:30 -0700 | [diff] [blame] | 53 | ro.carrier=unknown \ |
| 54 | persist.bluetooth.enablenewavrcp=false |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 55 | |
| 56 | # Overlay for Google network and fused location providers |
| 57 | $(call inherit-product, device/sample/products/location_overlay.mk) |
| 58 | $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) |
| 59 | $(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk) |
| 60 | $(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk) |
| 61 | $(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk) |
| 62 | $(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk) |
| 63 | $(call inherit-product-if-exists, external/noto-fonts/fonts.mk) |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 64 | $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk) |
| 65 | $(call inherit-product-if-exists, external/hyphenation-patterns/patterns.mk) |
| 66 | $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) |
| 67 | $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk) |
| 68 | $(call inherit-product, packages/services/Car/car_product/build/car_base.mk) |
| 69 | |
| 70 | # Overrides |
| 71 | PRODUCT_BRAND := generic |
| 72 | PRODUCT_DEVICE := generic |
| 73 | PRODUCT_NAME := generic_car_no_telephony |
| 74 | |
| 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 \ |
Adora Zhang | 001ebbc | 2018-06-20 13:43:55 -0700 | [diff] [blame] | 96 | CarNotification \ |
Rakesh Iyer | 05f88fc | 2016-10-20 02:24:48 -0700 | [diff] [blame] | 97 | CarHvacApp \ |
Rakesh Iyer | 95d5f7d | 2016-10-20 14:17:16 -0700 | [diff] [blame] | 98 | CarMapsPlaceholder \ |
Yao Chen | a04c60c | 2017-03-07 10:47:42 -0800 | [diff] [blame] | 99 | CarLatinIME \ |
Nicholas Sauer | bf4c687 | 2017-11-07 16:32:18 -0800 | [diff] [blame] | 100 | CarSettings \ |
Kevin Crossan | d428549 | 2016-11-28 18:40:43 -0800 | [diff] [blame] | 101 | CarUsbHandler \ |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 102 | android.car \ |
Steve Paik | 7d6c162 | 2018-02-09 11:52:13 -0800 | [diff] [blame] | 103 | car-frameworks-service \ |
Enrico Granata | e23f034 | 2017-10-23 17:17:52 -0700 | [diff] [blame] | 104 | com.android.car.procfsinspector \ |
Steve Paik | 7d6c162 | 2018-02-09 11:52:13 -0800 | [diff] [blame] | 105 | libcar-framework-service-jni \ |
| 106 | |
| 107 | # System Server components |
| 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 | |
Keun-young Park | 760fffb | 2019-02-11 17:43:00 -0800 | [diff] [blame] | 114 | PRODUCT_COPY_FILES += \ |
| 115 | packages/services/Car/car_product/init/init.car.rc:system/etc/init/init.car.rc |
| 116 | |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 117 | 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 |
| 118 | |
Keun-young Park | be1cecb | 2016-04-18 18:56:37 -0700 | [diff] [blame] | 119 | # should add to BOOT_JARS only once |
| 120 | ifeq (,$(INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS)) |
Sam Hurst | ace8018 | 2016-03-18 09:42:02 -0700 | [diff] [blame] | 121 | PRODUCT_BOOT_JARS += \ |
| 122 | android.car |
| 123 | |
David Brazdil | 43231d9 | 2018-08-24 14:36:57 +0100 | [diff] [blame] | 124 | PRODUCT_HIDDENAPI_STUBS := \ |
| 125 | android.car-stubs |
| 126 | |
| 127 | PRODUCT_HIDDENAPI_STUBS_SYSTEM := \ |
| 128 | android.car-system-stubs |
| 129 | |
Selim Gurun | e402992 | 2018-12-12 17:18:43 -0800 | [diff] [blame] | 130 | PRODUCT_HIDDENAPI_STUBS_TEST := \ |
| 131 | android.car-test-stubs |
| 132 | |
Keun-young Park | be1cecb | 2016-04-18 18:56:37 -0700 | [diff] [blame] | 133 | INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS := yes |
| 134 | endif |