From e550f1c8ce684372aacc8f872dc4072ec98cecfa Mon Sep 17 00:00:00 2001 From: dd3boh Date: Mon, 25 Sep 2017 14:03:50 +0200 Subject: camera: Fork camera provider 2.4 and camera device 1.0 from hardware/interfaces/camera camera/device/1.0/default -> camera/zuk camera/provider/2.4/default -> camera/provider Signed-off-by: dd3boh --- camera/provider/Android.bp | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 camera/provider/Android.bp (limited to 'camera/provider/Android.bp') diff --git a/camera/provider/Android.bp b/camera/provider/Android.bp new file mode 100644 index 0000000..d897fc7 --- /dev/null +++ b/camera/provider/Android.bp @@ -0,0 +1,49 @@ +cc_library_shared { + name: "android.hardware.camera.provider@2.4-impl", + defaults: ["hidl_defaults"], + proprietary: true, + relative_install_path: "hw", + srcs: ["CameraProvider.cpp"], + shared_libs: [ + "libhidlbase", + "libhidltransport", + "libutils", + "libcutils", + "android.hardware.camera.device@1.0", + "android.hardware.camera.device@3.2", + "camera.device@1.0-impl", + "camera.device@3.2-impl", + "android.hardware.camera.provider@2.4", + "android.hardware.camera.common@1.0", + "android.hardware.graphics.mapper@2.0", + "android.hidl.allocator@1.0", + "android.hidl.memory@1.0", + "liblog", + "libhardware", + "libcamera_metadata" + ], + static_libs: [ + "android.hardware.camera.common@1.0-helper" + ] +} + +cc_binary { + name: "android.hardware.camera.provider@2.4-service", + defaults: ["hidl_defaults"], + proprietary: true, + relative_install_path: "hw", + srcs: ["service.cpp"], + compile_multilib: "32", + init_rc: ["android.hardware.camera.provider@2.4-service.rc"], + shared_libs: [ + "libhidlbase", + "libhidltransport", + "libbinder", + "liblog", + "libutils", + "android.hardware.camera.device@1.0", + "android.hardware.camera.device@3.2", + "android.hardware.camera.provider@2.4", + "android.hardware.camera.common@1.0", + ], +} -- cgit v1.2.3