summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Mahaveer <vishalm@ti.com>2017-08-24 09:58:06 -0500
committerVishal Mahaveer <vishalm@ti.com>2017-08-28 05:41:04 -0500
commit1acce155fa3d1c5925e474ecc66ba28e05f368a2 (patch)
treea3fc84e52c7ba789a2802060d35b7d8ab896fa69
parentf810a40129c73f1a8499cbca967cfa1a77a219c3 (diff)
downloadjacinto6evm-1acce155fa3d1c5925e474ecc66ba28e05f368a2.tar.gz
jacinto6evm: initial changes for automotive configuration
Initial changes to switch device definition to automotive. Change-Id: Ifef7519abe65883c37a7387e43288d9241f9e9e6 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r--BoardConfig.mk1
-rw-r--r--device.mk10
-rw-r--r--full_jacinto6evm.mk1
3 files changed, 12 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 8ea2b0b..e6faad4 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -81,6 +81,7 @@ endif
BOARD_SEPOLICY_DIRS += \
device/ti/jacinto6evm/sepolicy \
+ packages/services/Car/car_product/sepolicy
# lidbrm driver
BOARD_GPU_DRIVERS := omapdrm
diff --git a/device.mk b/device.mk
index 62e2ffb..258ed86 100644
--- a/device.mk
+++ b/device.mk
@@ -24,6 +24,7 @@ LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_PACKAGES += \
+ vehicle.default \
android.hardware.wifi@1.0-service \
android.hardware.graphics.allocator@2.0-impl \
android.hardware.graphics.allocator@2.0-service \
@@ -51,6 +52,7 @@ PRODUCT_COPY_FILES := \
device/ti/jacinto6evm/media_codecs_performance.xml:system/etc/media_codecs_performance.xml \
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
+ frameworks/native/data/etc/android.hardware.type.automotive.xml:system/etc/permissions/android.hardware.type.automotive.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
@@ -92,6 +94,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_CHARACTERISTICS := tablet,nosdcard
+PRODUCT_PACKAGE_OVERLAYS := packages/services/Car/car_product/overlay
+
DEVICE_PACKAGE_OVERLAYS := \
device/ti/jacinto6evm/overlay
@@ -160,6 +164,12 @@ PRODUCT_PACKAGES += Launcher3 \
PRODUCT_PROPERTY_OVERRIDES += \
media.aac_51_output_enabled=true
+PRODUCT_PROPERTY_OVERRIDES += \
+ android.car.drawer.unlimited=true \
+ android.car.hvac.demo=true \
+ com.android.car.radio.demo=true \
+ com.android.car.radio.demo.dual=true
+
#$(call inherit-product, frameworks/native/build/tablet-7in-hdpi-1024-dalvik-heap.mk)
$(call inherit-product-if-exists, hardware/ti/dra7xx/jacinto6.mk)
#$(call inherit-product-if-exists, hardware/ti/wpan/ti-wpan-products.mk)
diff --git a/full_jacinto6evm.mk b/full_jacinto6evm.mk
index 67aa650..9823b87 100644
--- a/full_jacinto6evm.mk
+++ b/full_jacinto6evm.mk
@@ -23,6 +23,7 @@
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
+$(call inherit-product, packages/services/Car/car_product/build/car.mk)
$(call inherit-product, device/ti/jacinto6evm/device.mk)
PRODUCT_NAME := full_jacinto6evm