Emilian Peev | e18057b | 2017-11-13 16:03:44 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2017 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | cc_library_headers { |
| 18 | name: "camera.device@3.4-impl_headers", |
| 19 | vendor: true, |
Yin-Chia Yeh | 1903059 | 2017-10-19 17:30:11 -0700 | [diff] [blame] | 20 | export_include_dirs: ["include/device_v3_4_impl"] |
| 21 | } |
| 22 | |
| 23 | cc_library_headers { |
| 24 | name: "camera.device@3.4-external-impl_headers", |
| 25 | vendor: true, |
| 26 | export_include_dirs: ["include/ext_device_v3_4_impl"] |
Emilian Peev | e18057b | 2017-11-13 16:03:44 +0000 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | cc_library_shared { |
| 30 | name: "camera.device@3.4-impl", |
| 31 | defaults: ["hidl_defaults"], |
| 32 | proprietary: true, |
| 33 | vendor: true, |
| 34 | srcs: [ |
| 35 | "CameraDevice.cpp", |
| 36 | "CameraDeviceSession.cpp", |
Yuriy Romanenko | e932f1b | 2018-01-19 16:12:00 -0800 | [diff] [blame] | 37 | "convert.cpp" |
Emilian Peev | e18057b | 2017-11-13 16:03:44 +0000 | [diff] [blame] | 38 | ], |
| 39 | shared_libs: [ |
| 40 | "libhidlbase", |
| 41 | "libhidltransport", |
| 42 | "libutils", |
| 43 | "libcutils", |
| 44 | "camera.device@3.2-impl", |
| 45 | "camera.device@3.3-impl", |
| 46 | "android.hardware.camera.device@3.2", |
| 47 | "android.hardware.camera.device@3.3", |
| 48 | "android.hardware.camera.device@3.4", |
| 49 | "android.hardware.camera.provider@2.4", |
| 50 | "android.hardware.graphics.mapper@2.0", |
| 51 | "liblog", |
| 52 | "libhardware", |
| 53 | "libcamera_metadata", |
| 54 | "libfmq", |
| 55 | ], |
| 56 | static_libs: [ |
| 57 | "android.hardware.camera.common@1.0-helper", |
| 58 | ], |
| 59 | local_include_dirs: ["include/device_v3_4_impl"], |
| 60 | export_shared_lib_headers: [ |
| 61 | "libfmq", |
| 62 | ], |
| 63 | } |
Yin-Chia Yeh | 1903059 | 2017-10-19 17:30:11 -0700 | [diff] [blame] | 64 | |
| 65 | cc_library_shared { |
| 66 | name: "camera.device@3.4-external-impl", |
| 67 | defaults: ["hidl_defaults"], |
| 68 | proprietary: true, |
| 69 | vendor: true, |
| 70 | srcs: [ |
| 71 | "ExternalCameraDevice.cpp", |
| 72 | "ExternalCameraDeviceSession.cpp" |
| 73 | ], |
| 74 | shared_libs: [ |
| 75 | "libhidlbase", |
| 76 | "libhidltransport", |
| 77 | "libutils", |
| 78 | "libcutils", |
| 79 | "camera.device@3.2-impl", |
| 80 | "camera.device@3.3-impl", |
| 81 | "android.hardware.camera.device@3.2", |
| 82 | "android.hardware.camera.device@3.3", |
| 83 | "android.hardware.camera.device@3.4", |
| 84 | "android.hardware.camera.provider@2.4", |
| 85 | "android.hardware.graphics.mapper@2.0", |
| 86 | "liblog", |
| 87 | "libhardware", |
| 88 | "libcamera_metadata", |
| 89 | "libfmq", |
| 90 | "libsync", |
| 91 | "libyuv", |
Yuriy Romanenko | e932f1b | 2018-01-19 16:12:00 -0800 | [diff] [blame] | 92 | "libjpeg", |
| 93 | "libexif", |
Yin-Chia Yeh | 1903059 | 2017-10-19 17:30:11 -0700 | [diff] [blame] | 94 | ], |
| 95 | static_libs: [ |
| 96 | "android.hardware.camera.common@1.0-helper", |
| 97 | ], |
| 98 | local_include_dirs: ["include/ext_device_v3_4_impl"], |
| 99 | export_shared_lib_headers: [ |
| 100 | "libfmq", |
| 101 | ], |
| 102 | } |