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