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