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 17 cc_library_headers { 18 name: "camera.device (a] 3.5-impl_headers", 19 vendor: true, 20 export_include_dirs: ["include/device_v3_5_impl"] 21 } 22 23 cc_library_headers { 24 name: "camera.device (a] 3.5-external-impl_headers", 25 vendor: true, 26 export_include_dirs: ["include/ext_device_v3_5_impl"] 27 } 28 29 cc_library_shared { 30 name: "camera.device (a] 3.5-impl", 31 defaults: ["hidl_defaults"], 32 proprietary: true, 33 vendor: true, 34 srcs: [ 35 "CameraDevice.cpp", 36 "CameraDeviceSession.cpp", 37 ], 38 shared_libs: [ 39 "libhidlbase", 40 "libhidltransport", 41 "libutils", 42 "libcutils", 43 "camera.device (a] 3.2-impl", 44 "camera.device (a] 3.3-impl", 45 "camera.device (a] 3.4-impl", 46 "android.hardware.camera.device (a] 3.2", 47 "android.hardware.camera.device (a] 3.3", 48 "android.hardware.camera.device (a] 3.4", 49 "android.hardware.camera.device (a] 3.5", 50 "android.hardware.camera.provider (a] 2.4", 51 "android.hardware.graphics.mapper (a] 2.0", 52 "android.hardware.graphics.mapper (a] 3.0", 53 "liblog", 54 "libhardware", 55 "libcamera_metadata", 56 ], 57 static_libs: [ 58 "android.hardware.camera.common (a] 1.0-helper", 59 ], 60 local_include_dirs: ["include/device_v3_5_impl"], 61 } 62 63 cc_library_shared { 64 name: "camera.device (a] 3.5-external-impl", 65 defaults: ["hidl_defaults"], 66 proprietary: true, 67 vendor: true, 68 srcs: [ 69 "ExternalCameraDevice.cpp", 70 "ExternalCameraDeviceSession.cpp", 71 ], 72 shared_libs: [ 73 "libhidlbase", 74 "libhidltransport", 75 "libutils", 76 "libcutils", 77 "camera.device (a] 3.2-impl", 78 "camera.device (a] 3.3-impl", 79 "camera.device (a] 3.4-external-impl", 80 "android.hardware.camera.device (a] 3.2", 81 "android.hardware.camera.device (a] 3.3", 82 "android.hardware.camera.device (a] 3.4", 83 "android.hardware.camera.device (a] 3.5", 84 "android.hardware.camera.provider (a] 2.4", 85 "android.hardware.graphics.mapper (a] 2.0", 86 "android.hardware.graphics.mapper (a] 3.0", 87 "liblog", 88 "libhardware", 89 "libcamera_metadata", 90 "libfmq", 91 "libsync", 92 "libyuv", 93 "libjpeg", 94 "libexif", 95 "libtinyxml2" 96 ], 97 static_libs: [ 98 "android.hardware.camera.common (a] 1.0-helper", 99 ], 100 local_include_dirs: ["include/ext_device_v3_5_impl"], 101 export_shared_lib_headers: [ 102 "libfmq", 103 ], 104 } 105