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