Home | History | Annotate | Download | only in build
      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 \
     21     BluetoothMidiService \
     22     bt-map-service \
     23     OneTimeInitializer \
     24     Provision \
     25     SystemUI \
     26     SystemUpdater
     27 
     28 PRODUCT_PACKAGES += \
     29     clatd \
     30     clatd.conf \
     31     pppd \
     32     screenrecord
     33 
     34 # This is for testing
     35 PRODUCT_PACKAGES +=
     36     EmbeddedKitchenSinkApp
     37 
     38 PRODUCT_COPY_FILES := \
     39     frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
     40     packages/services/Car/car_product/preloaded-classes-car:system/etc/preloaded-classes \
     41 
     42 PRODUCT_PROPERTY_OVERRIDES += \
     43     ro.carrier=unknown
     44 
     45 # Overlay for Google network and fused location providers
     46 $(call inherit-product, device/sample/products/location_overlay.mk)
     47 $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
     48 $(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk)
     49 $(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk)
     50 $(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk)
     51 $(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk)
     52 $(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
     53 $(call inherit-product-if-exists, external/naver-fonts/fonts.mk)
     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 += \
     82     vehicle_network_service \
     83     CarService \
     84     CarUiProvider \
     85     android.car \
     86     libvehiclenetwork-native \
     87     vns_policy.xml
     88 
     89 # Boot animation
     90 PRODUCT_COPY_FILES += \
     91     packages/services/Car/car_product/bootanimations/square_280/bootanimation.zip:system/media/bootanimation.zip
     92 
     93 PRODUCT_PROPERTY_OVERRIDES += \
     94     fmas.spkr_6ch=35,20,110 \
     95     fmas.spkr_2ch=35,25 \
     96     fmas.spkr_angles=10 \
     97     fmas.spkr_sgain=0 \
     98     media.aac_51_output_enabled=true
     99 
    100 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
    101 
    102 PRODUCT_BOOT_JARS += \
    103     android.car
    104 
    105