From 3436cf7ae9bd7c48d20073e39f99b54747b09c44 Mon Sep 17 00:00:00 2001 From: dd3boh Date: Mon, 25 Sep 2017 15:37:23 +0200 Subject: z2_plus: Last edits to make camera working Thanks @erfanoabdi, I actually love him not <3 Well, I didn't explained before about this so let's explain now: this necesity came up from the fact that LOS abandoned a patch (TARGET_USES_NON_TREBLE_CAMERA) that we needed and thanks to which camera started working for us, so we came up doing this directly because is the easiest way at all instead of making a camera wrapper or something like this, and we will keep this until it's needed to, and I don't have any problems in keeping it forever working perfectly. Signed-off-by: dd3boh --- Android.bp | 10 ++++++++++ camera/provider/Android.bp | 1 - camera/zuk/Android.bp | 1 - 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 Android.bp diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..75419ec --- /dev/null +++ b/Android.bp @@ -0,0 +1,10 @@ +subdirs = [ + "camera" +] + +cc_defaults { + cflags: [ + "-Wall", + "-Werror", + ], +} diff --git a/camera/provider/Android.bp b/camera/provider/Android.bp index 5f086f3..5261010 100644 --- a/camera/provider/Android.bp +++ b/camera/provider/Android.bp @@ -1,6 +1,5 @@ cc_library_shared { name: "android.hardware.camera.provider@2.4-impl.zuk", - defaults: ["hidl_defaults"], proprietary: true, relative_install_path: "hw", srcs: ["CameraProvider.cpp"], diff --git a/camera/zuk/Android.bp b/camera/zuk/Android.bp index d7f8aad..a2cbd40 100644 --- a/camera/zuk/Android.bp +++ b/camera/zuk/Android.bp @@ -1,6 +1,5 @@ cc_library_shared { name: "camera.device@1.0-impl.zuk", - defaults: ["hidl_defaults"], proprietary: true, srcs: [ "CameraDevice.cpp", -- cgit v1.2.3