Valentin Iftime | 23d32a1 | 2021-09-29 14:15:39 +0200 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 8 | } |
| 9 | |
| 10 | cc_library_shared { |
| 11 | name: "android.hardware.camera.provider@2.7-external", |
| 12 | proprietary: true, |
| 13 | srcs: ["ExternalCameraProviderImpl_2_7.cpp"], |
| 14 | shared_libs: [ |
| 15 | "android.hardware.camera.common@1.0", |
| 16 | "android.hardware.camera.device@1.0", |
| 17 | "android.hardware.camera.device@3.2", |
| 18 | "android.hardware.camera.device@3.3", |
| 19 | "android.hardware.camera.device@3.4", |
| 20 | "android.hardware.camera.device@3.5", |
| 21 | "android.hardware.camera.device@3.6", |
| 22 | "android.hardware.camera.provider@2.4", |
| 23 | "android.hardware.camera.provider@2.5", |
| 24 | "android.hardware.camera.provider@2.6", |
| 25 | "android.hardware.camera.provider@2.7", |
| 26 | "android.hardware.graphics.mapper@2.0", |
| 27 | "android.hardware.graphics.mapper@3.0", |
| 28 | "android.hardware.graphics.mapper@4.0", |
| 29 | "android.hidl.allocator@1.0", |
| 30 | "android.hidl.memory@1.0", |
| 31 | "camera.device@3.3-impl", |
| 32 | "camera.device@3.4-external-impl", |
| 33 | "camera.device@3.4-impl", |
| 34 | "camera.device@3.5-external-impl", |
| 35 | "camera.device@3.5-impl", |
| 36 | "camera.device@3.6-external-impl", |
| 37 | "libcamera_metadata", |
| 38 | "libcutils", |
| 39 | "libhardware", |
| 40 | "libhidlbase", |
| 41 | "liblog", |
| 42 | "libtinyxml2", |
| 43 | "libutils", |
| 44 | ], |
| 45 | static_libs: [ |
| 46 | "android.hardware.camera.common@1.0-helper", |
| 47 | ], |
| 48 | header_libs: [ |
| 49 | "camera.device@3.4-external-impl_headers", |
| 50 | "camera.device@3.5-external-impl_headers", |
| 51 | "camera.device@3.6-external-impl_headers", |
| 52 | ], |
| 53 | export_include_dirs: ["."], |
| 54 | } |
| 55 | |
| 56 | cc_defaults { |
| 57 | name: "camera_external_service_2_7_defaults", |
| 58 | defaults: ["hidl_defaults"], |
| 59 | proprietary: true, |
| 60 | relative_install_path: "hw", |
| 61 | srcs: ["external-service.cpp"], |
| 62 | compile_multilib: "32", |
| 63 | shared_libs: [ |
| 64 | "android.hardware.camera.common@1.0", |
| 65 | "android.hardware.camera.device@1.0", |
| 66 | "android.hardware.camera.device@3.2", |
| 67 | "android.hardware.camera.device@3.3", |
| 68 | "android.hardware.camera.device@3.4", |
| 69 | "android.hardware.camera.device@3.5", |
| 70 | "android.hardware.camera.provider@2.4", |
| 71 | "android.hardware.camera.provider@2.4-external", |
| 72 | "android.hardware.camera.provider@2.5", |
| 73 | "android.hardware.camera.provider@2.5-external", |
| 74 | "android.hardware.camera.provider@2.6", |
| 75 | "android.hardware.camera.provider@2.7", |
| 76 | "android.hardware.camera.provider@2.7-external", |
| 77 | "android.hardware.graphics.mapper@2.0", |
| 78 | "android.hardware.graphics.mapper@3.0", |
| 79 | "android.hardware.graphics.mapper@4.0", |
| 80 | "libbinder", |
| 81 | "libcamera_metadata", |
| 82 | "libhidlbase", |
| 83 | "liblog", |
| 84 | "libtinyxml2", |
| 85 | "libutils", |
| 86 | ], |
| 87 | static_libs: [ |
| 88 | "android.hardware.camera.common@1.0-helper", |
| 89 | ], |
| 90 | header_libs: [ |
| 91 | "camera.device@3.4-external-impl_headers", |
| 92 | "camera.device@3.4-impl_headers", |
| 93 | "camera.device@3.5-external-impl_headers", |
| 94 | "camera.device@3.5-impl_headers", |
| 95 | "camera.device@3.6-external-impl_headers", |
| 96 | ], |
| 97 | } |
| 98 | |
| 99 | cc_binary { |
| 100 | name: "android.hardware.camera.provider@2.7-external-service", |
| 101 | defaults: ["camera_external_service_2_7_defaults"], |
| 102 | init_rc: ["android.hardware.camera.provider@2.7-external-service.rc"], |
| 103 | } |
| 104 | |
| 105 | cc_binary { |
| 106 | name: "android.hardware.camera.provider@2.7-external-service-lazy", |
| 107 | overrides: ["android.hardware.camera.provider@2.7-external-service"], |
| 108 | defaults: ["camera_external_service_2_7_defaults"], |
| 109 | init_rc: ["android.hardware.camera.provider@2.7-external-service-lazy.rc"], |
| 110 | cflags: ["-DLAZY_SERVICE"], |
| 111 | } |