},
}
-cc_binary {
- name: "android.hardware.camera.provider-service.samsung",
+cc_defaults {
+ name: "camera_service_aidl_defaults.samsung",
defaults: [
"extra_id_defaults",
"samsung_camera3_defaults"
],
- init_rc: ["android.hardware.camera.provider-service.samsung.rc"],
vintf_fragments: ["android.hardware.camera.provider-service.samsung.xml"],
vendor: true,
relative_install_path: "hw",
"libhardware_headers.camera3_samsung",
],
}
+
+cc_binary {
+ name: "android.hardware.camera.provider-service_32.samsung",
+ defaults: ["camera_service_aidl_defaults.samsung"],
+ compile_multilib: "32",
+ init_rc: ["android.hardware.camera.provider-service_32.samsung.rc"],
+}
+
+cc_binary {
+ name: "android.hardware.camera.provider-service.samsung",
+ defaults: ["camera_service_aidl_defaults.samsung"],
+ init_rc: ["android.hardware.camera.provider-service.samsung.rc"],
+}
--- /dev/null
+service vendor.camera.provider /vendor/bin/hw/android.hardware.camera.provider-service_32.samsung
+ interface aidl android.hardware.camera.provider.ICameraProvider/internal/0
+ class hal
+ user cameraserver
+ group audio camera input drmrpc usb
+ ioprio rt 4
+ capabilities SYS_NICE
+ task_profiles CameraServiceCapacity MaxPerformance