Eino-Ville Talvala | aa04b3b | 2019-01-18 17:33:14 -0800 | [diff] [blame^] | 1 | cc_library_shared { |
| 2 | name: "android.hardware.camera.provider@2.5-legacy", |
| 3 | proprietary: true, |
| 4 | srcs: ["LegacyCameraProviderImpl_2_5.cpp"], |
| 5 | shared_libs: [ |
| 6 | "android.hardware.camera.common@1.0", |
| 7 | "android.hardware.camera.device@1.0", |
| 8 | "android.hardware.camera.device@3.2", |
| 9 | "android.hardware.camera.device@3.3", |
| 10 | "android.hardware.camera.device@3.4", |
| 11 | "android.hardware.camera.device@3.5", |
| 12 | "android.hardware.camera.provider@2.4", |
| 13 | "android.hardware.camera.provider@2.4-legacy", |
| 14 | "android.hardware.camera.provider@2.5", |
| 15 | "android.hardware.graphics.mapper@2.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 | |
| 41 | cc_library_shared { |
| 42 | name: "android.hardware.camera.provider@2.5-external", |
| 43 | proprietary: true, |
| 44 | srcs: ["ExternalCameraProviderImpl_2_5.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.camera.provider@2.4-external", |
| 54 | "android.hardware.camera.provider@2.5", |
| 55 | "android.hardware.graphics.mapper@2.0", |
| 56 | "android.hidl.allocator@1.0", |
| 57 | "android.hidl.memory@1.0", |
| 58 | "camera.device@3.3-impl", |
| 59 | "camera.device@3.4-external-impl", |
| 60 | "camera.device@3.4-impl", |
| 61 | "camera.device@3.5-external-impl", |
| 62 | "camera.device@3.5-impl", |
| 63 | "libcamera_metadata", |
| 64 | "libcutils", |
| 65 | "libhardware", |
| 66 | "libhidlbase", |
| 67 | "libhidltransport", |
| 68 | "liblog", |
| 69 | "libtinyxml2", |
| 70 | "libutils", |
| 71 | ], |
| 72 | static_libs: [ |
| 73 | "android.hardware.camera.common@1.0-helper", |
| 74 | ], |
| 75 | header_libs: [ |
| 76 | "camera.device@3.4-external-impl_headers", |
| 77 | "camera.device@3.5-external-impl_headers" |
| 78 | ], |
| 79 | export_include_dirs: ["."], |
| 80 | } |
| 81 | |
| 82 | cc_defaults { |
| 83 | name: "camera_service_2_5_defaults", |
| 84 | defaults: ["hidl_defaults"], |
| 85 | proprietary: true, |
| 86 | relative_install_path: "hw", |
| 87 | srcs: ["service.cpp"], |
| 88 | shared_libs: [ |
| 89 | "android.hardware.camera.common@1.0", |
| 90 | "android.hardware.camera.device@1.0", |
| 91 | "android.hardware.camera.device@3.2", |
| 92 | "android.hardware.camera.device@3.3", |
| 93 | "android.hardware.camera.device@3.4", |
| 94 | "android.hardware.camera.device@3.5", |
| 95 | "android.hardware.camera.provider@2.4", |
| 96 | "android.hardware.camera.provider@2.4-legacy", |
| 97 | "android.hardware.camera.provider@2.5", |
| 98 | "android.hardware.camera.provider@2.5-legacy", |
| 99 | "android.hardware.graphics.mapper@2.0", |
| 100 | "android.hidl.allocator@1.0", |
| 101 | "android.hidl.memory@1.0", |
| 102 | "libbinder", |
| 103 | "libcamera_metadata", |
| 104 | "libhardware", |
| 105 | "libhidlbase", |
| 106 | "libhidltransport", |
| 107 | "liblog", |
| 108 | "libutils", |
| 109 | ], |
| 110 | static_libs: [ |
| 111 | "android.hardware.camera.common@1.0-helper", |
| 112 | ], |
| 113 | header_libs: [ |
| 114 | "camera.device@3.4-impl_headers", |
| 115 | "camera.device@3.5-impl_headers" |
| 116 | ], |
| 117 | } |
| 118 | |
| 119 | cc_binary { |
| 120 | name: "android.hardware.camera.provider@2.5-service", |
| 121 | defaults: ["camera_service_2_5_defaults"], |
| 122 | compile_multilib: "32", |
| 123 | init_rc: ["android.hardware.camera.provider@2.5-service.rc"], |
| 124 | } |
| 125 | |
| 126 | cc_binary { |
| 127 | name: "android.hardware.camera.provider@2.5-service_64", |
| 128 | defaults: ["camera_service_2_5_defaults"], |
| 129 | compile_multilib: "64", |
| 130 | init_rc: ["android.hardware.camera.provider@2.5-service_64.rc"], |
| 131 | } |
| 132 | |
| 133 | cc_binary { |
| 134 | name: "android.hardware.camera.provider@2.5-service-lazy", |
| 135 | overrides: ["android.hardware.camera.provider@2.5-service"], |
| 136 | defaults: ["camera_service_2_5_defaults"], |
| 137 | compile_multilib: "32", |
| 138 | init_rc: ["android.hardware.camera.provider@2.5-service-lazy.rc"], |
| 139 | cflags: ["-DLAZY_SERVICE"], |
| 140 | } |
| 141 | |
| 142 | cc_binary { |
| 143 | name: "android.hardware.camera.provider@2.5-service-lazy_64", |
| 144 | overrides: ["android.hardware.camera.provider@2.5-service_64"], |
| 145 | defaults: ["camera_service_2_5_defaults"], |
| 146 | compile_multilib: "64", |
| 147 | init_rc: ["android.hardware.camera.provider@2.5-service-lazy_64.rc"], |
| 148 | cflags: ["-DLAZY_SERVICE"], |
| 149 | } |
| 150 | |
| 151 | cc_binary { |
| 152 | name: "android.hardware.camera.provider@2.5-external-service", |
| 153 | defaults: ["hidl_defaults"], |
| 154 | proprietary: true, |
| 155 | relative_install_path: "hw", |
| 156 | srcs: ["external-service.cpp"], |
| 157 | compile_multilib: "32", |
| 158 | init_rc: ["android.hardware.camera.provider@2.5-external-service.rc"], |
| 159 | shared_libs: [ |
| 160 | "android.hardware.camera.common@1.0", |
| 161 | "android.hardware.camera.device@1.0", |
| 162 | "android.hardware.camera.device@3.2", |
| 163 | "android.hardware.camera.device@3.3", |
| 164 | "android.hardware.camera.device@3.4", |
| 165 | "android.hardware.camera.device@3.5", |
| 166 | "android.hardware.camera.provider@2.4", |
| 167 | "android.hardware.camera.provider@2.4-external", |
| 168 | "android.hardware.camera.provider@2.5", |
| 169 | "android.hardware.camera.provider@2.5-external", |
| 170 | "android.hardware.graphics.mapper@2.0", |
| 171 | "libbinder", |
| 172 | "libhidlbase", |
| 173 | "libhidltransport", |
| 174 | "liblog", |
| 175 | "libtinyxml2", |
| 176 | "libutils", |
| 177 | ], |
| 178 | static_libs: [ |
| 179 | "android.hardware.camera.common@1.0-helper", |
| 180 | ], |
| 181 | header_libs: [ |
| 182 | "camera.device@3.4-external-impl_headers", |
| 183 | "camera.device@3.4-impl_headers", |
| 184 | "camera.device@3.5-external-impl_headers", |
| 185 | "camera.device@3.5-impl_headers", |
| 186 | ], |
| 187 | } |