diff options
author | dd3boh <dade.garberi@gmail.com> | 2017-09-25 15:37:23 +0200 |
---|---|---|
committer | dd3boh <dade.garberi@gmail.com> | 2017-10-31 12:34:43 +0100 |
commit | 3436cf7ae9bd7c48d20073e39f99b54747b09c44 (patch) | |
tree | c1ddd5f8f330d062016092479afe3e283dbb3c47 | |
parent | 71e05106fe851e64668bb28f13dd840771600934 (diff) |
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 <dade.garberi@gmail.com>
-rw-r--r-- | Android.bp | 10 | ||||
-rw-r--r-- | camera/provider/Android.bp | 1 | ||||
-rw-r--r-- | camera/zuk/Android.bp | 1 |
3 files changed, 10 insertions, 2 deletions
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", |