Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include vhal only for cfc #1316

Open
wants to merge 1 commit into
base: celadon/r/mr0/stable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
From 8fbc303f1bb9e9d4f101d4af69669a01ce4ed359 Mon Sep 17 00:00:00 2001
From: gkdeepa <[email protected]>
Date: Tue, 24 Aug 2021 08:04:00 +0530
Subject: [PATCH] Include VHAL for camera

legacy hal inclusion
properties declaration
product package inclusion for libs

Tracked-On:OAM-99722
Signed-off-by: gkdeepa [email protected]
---
groups/camera-ext/ext-camera-only/product.mk | 17 +++++++++++++++--
groups/device-specific/caas_cfc/manifest.xml | 1 +
2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/groups/camera-ext/ext-camera-only/product.mk b/groups/camera-ext/ext-camera-only/product.mk
index 815464c..84cb4ad 100644
--- a/groups/camera-ext/ext-camera-only/product.mk
+++ b/groups/camera-ext/ext-camera-only/product.mk
@@ -5,9 +5,22 @@ PRODUCT_COPY_FILES += \

# External camera service
PRODUCT_PACKAGES += [email protected] \
+ [email protected]_64 \
[email protected]
+#VHAL camera
+PRODUCT_PACKAGES += camera.$(TARGET_BOARD_PLATFORM) \
+ camera.$(TARGET_BOARD_PLATFORM).jpeg

+PRODUCT_PROPERTY_OVERRIDES += ro.vendor.remote.sf.fake_camera ="both" \
+ ro.vendor.camera.in_frame_format.h264=false \
+ ro.vendor.camera.in_frame_format.i420=true \
+ ro.vendor.camera.decode.vaapi=false \
+ ro.vendor.remote.sf.back_camera_hal= \
+ ro.vendor.remote.sf.front_camera_hal= \
+ ro.vendor.camera.transference="VSOCK" \
+ vendor.camera.external="VHAL"
+#removing not required apps
# Only include test apps in eng or userdebug builds.
-PRODUCT_PACKAGES_DEBUG += TestingCamera
+#PRODUCT_PACKAGES_DEBUG += TestingCamera

-PRODUCT_PACKAGES += MultiCameraApp
+#PRODUCT_PACKAGES += MultiCameraApp
diff --git a/groups/device-specific/caas_cfc/manifest.xml b/groups/device-specific/caas_cfc/manifest.xml
index 499945f..5a41ab8 100644
--- a/groups/device-specific/caas_cfc/manifest.xml
+++ b/groups/device-specific/caas_cfc/manifest.xml
@@ -149,6 +149,7 @@
<interface>
<name>ICameraProvider</name>
<instance>external/0</instance>
+ <instance>legacy/0</instance>
</interface>
</hal>
<hal format="hidl">
--
2.17.1

Loading