forked from HiKey960-Car/android_device_linaro_hikey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hikey960_car.mk
69 lines (55 loc) · 2.25 KB
/
hikey960_car.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
$(call inherit-product, device/linaro/hikey/hikey960.mk)
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/linaro/hikey/bluetooth_car
$(call inherit-product, device/linaro/hikey/car.mk)
PRODUCT_PACKAGE_OVERLAYS := device/linaro/hikey/overlay_car
PRODUCT_PACKAGES += vehicle.default \
CarSettings \
Launcher3 \
tinymix \
tinypcminfo \
tinyhostless \
# Steering wheel interface daemon
PRODUCT_PACKAGES += \
swid \
camd \
RBCarSettings
# Build HiKey960 USB primary audio HAL
PRODUCT_PACKAGES += audio.primary.hikey960
# Build HiKey960 lights HAL
PRODUCT_PACKAGES += \
lights.hikey960 \
# Build generic USB GPS HAL
PRODUCT_PACKAGES += gps.hikey960 \
gps.conf \
u-blox.conf
PRODUCT_COPY_FILES += \
device/generic/car/common/bootanimations/bootanimation-832.zip:system/media/bootanimation.zip \
device/generic/car/common/android.hardware.dummy.xml:system/etc/permissions/handheld_core_hardware.xml \
packages/services/Car/car_product/init/init.bootstat.rc:root/init.bootstat.rc
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.type.automotive.xml:system/etc/permissions/android.hardware.type.automotive.xml \
frameworks/native/data/etc/android.hardware.screen.landscape.xml:system/etc/permissions/android.hardware.screen.landscape.xml
PRODUCT_COPY_FILES += \
device/linaro/hikey/usbaudio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml
PRODUCT_COPY_FILES += \
device/linaro/hikey/broadcastradio/android.hardware.broadcastradio.xml:system/etc/permissions/android.hardware.broadcastradio.xml
#
# Overrides
PRODUCT_NAME := hikey960_car
PRODUCT_DEVICE := hikey960
PRODUCT_BRAND := Android
PRODUCT_MODEL := AOSP CAR on hikey960
PRODUCT_PROPERTY_OVERRIDES += \
android.car.drawer.unlimited=true \
service.adb.tcp.port=5555
# Add car related sepolicy.
BOARD_SEPOLICY_DIRS += \
device/generic/car/common/sepolicy \
packages/services/Car/car_product/sepolicy