diff --git a/camera/provider/2.4/default/Android.bp b/camera/provider/2.4/default/Android.bp index 31c5fdd997..ae24d78143 100644 --- a/camera/provider/2.4/default/Android.bp +++ b/camera/provider/2.4/default/Android.bp @@ -61,6 +61,30 @@ cc_binary { ], } + +cc_binary { + name: "android.hardware.camera.provider@2.4-service_64", + defaults: ["hidl_defaults"], + proprietary: true, + relative_install_path: "hw", + srcs: ["service.cpp"], + compile_multilib: "64", + init_rc: ["android.hardware.camera.provider@2.4-service_64.rc"], + shared_libs: [ + "libhidlbase", + "libhidltransport", + "libbinder", + "liblog", + "libutils", + "android.hardware.camera.device@1.0", + "android.hardware.camera.device@3.2", + "android.hardware.camera.device@3.3", + "android.hardware.camera.device@3.4", + "android.hardware.camera.provider@2.4", + "android.hardware.camera.common@1.0", + ], +} + cc_binary { name: "android.hardware.camera.provider@2.4-external-service", defaults: ["hidl_defaults"], diff --git a/camera/provider/2.4/default/android.hardware.camera.provider@2.4-service_64.rc b/camera/provider/2.4/default/android.hardware.camera.provider@2.4-service_64.rc new file mode 100644 index 0000000000..4c721ecb88 --- /dev/null +++ b/camera/provider/2.4/default/android.hardware.camera.provider@2.4-service_64.rc @@ -0,0 +1,7 @@ +service vendor.camera-provider-2-4 /vendor/bin/hw/android.hardware.camera.provider@2.4-service_64 + class hal + user cameraserver + group audio camera input drmrpc + ioprio rt 4 + capabilities SYS_NICE + writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks