1package { 2 default_team: "trendy_team_camera_framework", 3 // See: http://go/android-license-faq 4 // A large-scale-change added 'default_applicable_licenses' to import 5 // all of the 'license_kinds' from "hardware_interfaces_license" 6 // to get the below license kinds: 7 // SPDX-license-identifier-Apache-2.0 8 default_applicable_licenses: ["hardware_interfaces_license"], 9} 10 11cc_library_shared { 12 name: "android.hardware.camera.provider@2.4-legacy", 13 defaults: ["hidl_defaults"], 14 proprietary: true, 15 srcs: ["LegacyCameraProviderImpl_2_4.cpp"], 16 shared_libs: [ 17 "android.hardware.camera.common@1.0", 18 "android.hardware.camera.device@1.0", 19 "android.hardware.camera.device@3.2", 20 "android.hardware.camera.device@3.3", 21 "android.hardware.camera.device@3.4", 22 "android.hardware.camera.device@3.5", 23 "android.hardware.camera.provider@2.4", 24 "android.hardware.graphics.mapper@2.0", 25 "android.hardware.graphics.mapper@3.0", 26 "android.hardware.graphics.mapper@4.0", 27 "android.hidl.allocator@1.0", 28 "android.hidl.memory@1.0", 29 "camera.device@1.0-impl", 30 "camera.device@3.2-impl", 31 "camera.device@3.3-impl", 32 "camera.device@3.4-impl", 33 "camera.device@3.5-impl", 34 "libcamera_metadata", 35 "libcutils", 36 "libhardware", 37 "libhidlbase", 38 "liblog", 39 "libutils", 40 ], 41 static_libs: [ 42 "android.hardware.camera.common@1.0-helper", 43 ], 44 header_libs: [ 45 "camera.device@3.4-impl_headers", 46 "camera.device@3.5-impl_headers", 47 ], 48 export_include_dirs: ["."], 49} 50 51cc_library_shared { 52 name: "android.hardware.camera.provider@2.4-external", 53 proprietary: true, 54 srcs: ["ExternalCameraProviderImpl_2_4.cpp"], 55 shared_libs: [ 56 "android.hardware.camera.common@1.0", 57 "android.hardware.camera.device@1.0", 58 "android.hardware.camera.device@3.2", 59 "android.hardware.camera.device@3.3", 60 "android.hardware.camera.device@3.4", 61 "android.hardware.camera.device@3.5", 62 "android.hardware.camera.device@3.6", 63 "android.hardware.camera.provider@2.4", 64 "android.hardware.graphics.mapper@2.0", 65 "android.hardware.graphics.mapper@3.0", 66 "android.hardware.graphics.mapper@4.0", 67 "android.hidl.allocator@1.0", 68 "android.hidl.memory@1.0", 69 "camera.device@3.3-impl", 70 "camera.device@3.4-external-impl", 71 "camera.device@3.4-impl", 72 "camera.device@3.5-external-impl", 73 "camera.device@3.5-impl", 74 "camera.device@3.6-external-impl", 75 "libcamera_metadata", 76 "libcutils", 77 "libhardware", 78 "libhidlbase", 79 "liblog", 80 "libtinyxml2", 81 "libutils", 82 ], 83 static_libs: [ 84 "android.hardware.camera.common@1.0-helper", 85 ], 86 header_libs: [ 87 "camera.device@3.4-external-impl_headers", 88 "camera.device@3.5-external-impl_headers", 89 "camera.device@3.6-external-impl_headers", 90 ], 91 export_include_dirs: ["."], 92} 93 94cc_library_shared { 95 name: "android.hardware.camera.provider@2.4-impl", 96 defaults: ["hidl_defaults"], 97 proprietary: true, 98 relative_install_path: "hw", 99 srcs: ["CameraProvider_2_4.cpp"], 100 shared_libs: [ 101 "android.hardware.camera.common@1.0", 102 "android.hardware.camera.device@1.0", 103 "android.hardware.camera.device@3.2", 104 "android.hardware.camera.device@3.3", 105 "android.hardware.camera.device@3.4", 106 "android.hardware.camera.device@3.5", 107 "android.hardware.camera.provider@2.4", 108 "android.hardware.camera.provider@2.4-external", 109 "android.hardware.camera.provider@2.4-legacy", 110 "android.hardware.graphics.mapper@2.0", 111 "android.hardware.graphics.mapper@3.0", 112 "android.hardware.graphics.mapper@4.0", 113 "android.hidl.allocator@1.0", 114 "android.hidl.memory@1.0", 115 "camera.device@1.0-impl", 116 "camera.device@3.2-impl", 117 "camera.device@3.3-impl", 118 "camera.device@3.4-external-impl", 119 "camera.device@3.4-impl", 120 "camera.device@3.5-external-impl", 121 "camera.device@3.5-impl", 122 "libcamera_metadata", 123 "libcutils", 124 "libhardware", 125 "libhidlbase", 126 "liblog", 127 "libtinyxml2", 128 "libutils", 129 ], 130 header_libs: [ 131 "camera.device@3.4-external-impl_headers", 132 "camera.device@3.4-impl_headers", 133 "camera.device@3.5-external-impl_headers", 134 "camera.device@3.5-impl_headers", 135 ], 136 static_libs: [ 137 "android.hardware.camera.common@1.0-helper", 138 ], 139 export_include_dirs: ["."], 140} 141 142cc_defaults { 143 name: "camera_service_defaults", 144 defaults: ["hidl_defaults"], 145 proprietary: true, 146 relative_install_path: "hw", 147 srcs: ["service.cpp"], 148 shared_libs: [ 149 "android.hardware.camera.common@1.0", 150 "android.hardware.camera.device@1.0", 151 "android.hardware.camera.device@3.2", 152 "android.hardware.camera.device@3.3", 153 "android.hardware.camera.device@3.4", 154 "android.hardware.camera.device@3.5", 155 "android.hardware.camera.provider@2.4", 156 "android.hardware.graphics.mapper@2.0", 157 "android.hardware.graphics.mapper@3.0", 158 "android.hardware.graphics.mapper@4.0", 159 "android.hidl.allocator@1.0", 160 "android.hidl.memory@1.0", 161 "libbinder", 162 "libcamera_metadata", 163 "libcutils", 164 "libhardware", 165 "libhidlbase", 166 "liblog", 167 "libutils", 168 ], 169 static_libs: [ 170 "android.hardware.camera.common@1.0-helper", 171 ], 172 header_libs: [ 173 "camera.device@3.4-external-impl_headers", 174 "camera.device@3.4-impl_headers", 175 "camera.device@3.5-external-impl_headers", 176 "camera.device@3.5-impl_headers", 177 ], 178} 179 180cc_binary { 181 name: "android.hardware.camera.provider@2.4-service", 182 defaults: ["camera_service_defaults"], 183 compile_multilib: "32", 184 init_rc: ["android.hardware.camera.provider@2.4-service.rc"], 185} 186 187cc_binary { 188 name: "android.hardware.camera.provider@2.4-service_64", 189 defaults: ["camera_service_defaults"], 190 compile_multilib: "64", 191 init_rc: ["android.hardware.camera.provider@2.4-service_64.rc"], 192} 193 194cc_binary { 195 name: "android.hardware.camera.provider@2.4-service-lazy", 196 overrides: ["android.hardware.camera.provider@2.4-service"], 197 defaults: ["camera_service_defaults"], 198 compile_multilib: "32", 199 init_rc: ["android.hardware.camera.provider@2.4-service-lazy.rc"], 200 cflags: ["-DLAZY_SERVICE"], 201} 202 203cc_binary { 204 name: "android.hardware.camera.provider@2.4-service-lazy_64", 205 overrides: ["android.hardware.camera.provider@2.4-service_64"], 206 defaults: ["camera_service_defaults"], 207 compile_multilib: "64", 208 init_rc: ["android.hardware.camera.provider@2.4-service-lazy_64.rc"], 209 cflags: ["-DLAZY_SERVICE"], 210} 211 212cc_binary { 213 name: "android.hardware.camera.provider@2.4-external-service", 214 defaults: ["hidl_defaults"], 215 proprietary: true, 216 relative_install_path: "hw", 217 srcs: ["external-service.cpp"], 218 compile_multilib: "32", 219 init_rc: ["android.hardware.camera.provider@2.4-external-service.rc"], 220 shared_libs: [ 221 "android.hardware.camera.common@1.0", 222 "android.hardware.camera.device@1.0", 223 "android.hardware.camera.device@3.2", 224 "android.hardware.camera.device@3.3", 225 "android.hardware.camera.device@3.4", 226 "android.hardware.camera.device@3.5", 227 "android.hardware.camera.provider@2.4", 228 "libbinder", 229 "libhidlbase", 230 "liblog", 231 "libtinyxml2", 232 "libutils", 233 ], 234 header_libs: [ 235 "camera.device@3.4-external-impl_headers", 236 "camera.device@3.4-impl_headers", 237 "camera.device@3.5-external-impl_headers", 238 "camera.device@3.5-impl_headers", 239 ], 240} 241