Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2018 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 | |
Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame^] | 17 | package { |
| 18 | // See: http://go/android-license-faq |
| 19 | // A large-scale-change added 'default_applicable_licenses' to import |
| 20 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 21 | // to get the below license kinds: |
| 22 | // SPDX-license-identifier-Apache-2.0 |
| 23 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 24 | } |
| 25 | |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 26 | cc_library_headers { |
| 27 | name: "camera.device@3.5-impl_headers", |
| 28 | vendor: true, |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 29 | export_include_dirs: ["include/device_v3_5_impl"], |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 30 | } |
| 31 | |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 32 | cc_library_headers { |
| 33 | name: "camera.device@3.5-external-impl_headers", |
| 34 | vendor: true, |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 35 | export_include_dirs: ["include/ext_device_v3_5_impl"], |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 36 | } |
| 37 | |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 38 | cc_library_shared { |
| 39 | name: "camera.device@3.5-impl", |
| 40 | defaults: ["hidl_defaults"], |
| 41 | proprietary: true, |
| 42 | vendor: true, |
| 43 | srcs: [ |
| 44 | "CameraDevice.cpp", |
Yin-Chia Yeh | 6a6fe0f | 2018-09-06 15:38:34 -0700 | [diff] [blame] | 45 | "CameraDeviceSession.cpp", |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 46 | ], |
| 47 | shared_libs: [ |
| 48 | "libhidlbase", |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 49 | "libutils", |
| 50 | "libcutils", |
| 51 | "camera.device@3.2-impl", |
| 52 | "camera.device@3.3-impl", |
| 53 | "camera.device@3.4-impl", |
| 54 | "android.hardware.camera.device@3.2", |
| 55 | "android.hardware.camera.device@3.3", |
| 56 | "android.hardware.camera.device@3.4", |
| 57 | "android.hardware.camera.device@3.5", |
| 58 | "android.hardware.camera.provider@2.4", |
| 59 | "android.hardware.graphics.mapper@2.0", |
Shuzhen Wang | 915115e | 2019-05-10 12:07:14 -0700 | [diff] [blame] | 60 | "android.hardware.graphics.mapper@3.0", |
Marissa Wall | a51eb93 | 2019-06-21 09:13:35 -0700 | [diff] [blame] | 61 | "android.hardware.graphics.mapper@4.0", |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 62 | "liblog", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 63 | "libgralloctypes", |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 64 | "libhardware", |
| 65 | "libcamera_metadata", |
| 66 | ], |
| 67 | static_libs: [ |
| 68 | "android.hardware.camera.common@1.0-helper", |
| 69 | ], |
| 70 | local_include_dirs: ["include/device_v3_5_impl"], |
| 71 | } |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 72 | |
| 73 | cc_library_shared { |
| 74 | name: "camera.device@3.5-external-impl", |
| 75 | defaults: ["hidl_defaults"], |
| 76 | proprietary: true, |
| 77 | vendor: true, |
| 78 | srcs: [ |
| 79 | "ExternalCameraDevice.cpp", |
| 80 | "ExternalCameraDeviceSession.cpp", |
| 81 | ], |
| 82 | shared_libs: [ |
| 83 | "libhidlbase", |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 84 | "libutils", |
| 85 | "libcutils", |
| 86 | "camera.device@3.2-impl", |
| 87 | "camera.device@3.3-impl", |
| 88 | "camera.device@3.4-external-impl", |
| 89 | "android.hardware.camera.device@3.2", |
| 90 | "android.hardware.camera.device@3.3", |
| 91 | "android.hardware.camera.device@3.4", |
| 92 | "android.hardware.camera.device@3.5", |
| 93 | "android.hardware.camera.provider@2.4", |
| 94 | "android.hardware.graphics.mapper@2.0", |
Marissa Wall | a51eb93 | 2019-06-21 09:13:35 -0700 | [diff] [blame] | 95 | "android.hardware.graphics.mapper@3.0", |
| 96 | "android.hardware.graphics.mapper@4.0", |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 97 | "liblog", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 98 | "libgralloctypes", |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 99 | "libhardware", |
| 100 | "libcamera_metadata", |
| 101 | "libfmq", |
| 102 | "libsync", |
| 103 | "libyuv", |
| 104 | "libjpeg", |
| 105 | "libexif", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 106 | "libtinyxml2", |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 107 | ], |
| 108 | static_libs: [ |
| 109 | "android.hardware.camera.common@1.0-helper", |
| 110 | ], |
| 111 | local_include_dirs: ["include/ext_device_v3_5_impl"], |
| 112 | export_shared_lib_headers: [ |
| 113 | "libfmq", |
| 114 | ], |
| 115 | } |