2021-02-12 20:13:01 -08:00
|
|
|
package {
|
2024-02-05 15:45:22 +00:00
|
|
|
default_team: "trendy_team_camera_framework",
|
2021-02-12 20:13:01 -08:00
|
|
|
// See: http://go/android-license-faq
|
|
|
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
|
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
|
|
|
// to get the below license kinds:
|
|
|
|
|
// SPDX-license-identifier-Apache-2.0
|
|
|
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
|
|
|
}
|
|
|
|
|
|
2016-12-14 19:13:15 -08:00
|
|
|
cc_library_shared {
|
2019-01-18 17:32:06 -08:00
|
|
|
name: "android.hardware.camera.provider@2.4-legacy",
|
2017-03-08 16:11:32 -08:00
|
|
|
defaults: ["hidl_defaults"],
|
2017-02-13 09:59:06 -08:00
|
|
|
proprietary: true,
|
2019-01-18 17:32:06 -08:00
|
|
|
srcs: ["LegacyCameraProviderImpl_2_4.cpp"],
|
2016-12-14 19:13:15 -08:00
|
|
|
shared_libs: [
|
2019-01-18 17:32:06 -08:00
|
|
|
"android.hardware.camera.common@1.0",
|
2016-12-14 19:13:15 -08:00
|
|
|
"android.hardware.camera.device@1.0",
|
|
|
|
|
"android.hardware.camera.device@3.2",
|
2017-08-22 16:15:09 -07:00
|
|
|
"android.hardware.camera.device@3.3",
|
2017-11-13 16:03:44 +00:00
|
|
|
"android.hardware.camera.device@3.4",
|
2018-08-17 13:52:40 -07:00
|
|
|
"android.hardware.camera.device@3.5",
|
2019-01-18 17:32:06 -08:00
|
|
|
"android.hardware.camera.provider@2.4",
|
|
|
|
|
"android.hardware.graphics.mapper@2.0",
|
2019-05-10 12:07:14 -07:00
|
|
|
"android.hardware.graphics.mapper@3.0",
|
2019-06-21 09:13:35 -07:00
|
|
|
"android.hardware.graphics.mapper@4.0",
|
2019-01-18 17:32:06 -08:00
|
|
|
"android.hidl.allocator@1.0",
|
|
|
|
|
"android.hidl.memory@1.0",
|
2017-01-23 17:27:26 -08:00
|
|
|
"camera.device@1.0-impl",
|
2017-02-02 18:24:26 -08:00
|
|
|
"camera.device@3.2-impl",
|
2017-08-22 16:15:09 -07:00
|
|
|
"camera.device@3.3-impl",
|
2017-11-13 16:03:44 +00:00
|
|
|
"camera.device@3.4-impl",
|
2018-08-17 13:52:40 -07:00
|
|
|
"camera.device@3.5-impl",
|
2019-01-18 17:32:06 -08:00
|
|
|
"libcamera_metadata",
|
|
|
|
|
"libcutils",
|
|
|
|
|
"libhardware",
|
|
|
|
|
"libhidlbase",
|
|
|
|
|
"liblog",
|
|
|
|
|
"libutils",
|
|
|
|
|
],
|
|
|
|
|
static_libs: [
|
|
|
|
|
"android.hardware.camera.common@1.0-helper",
|
|
|
|
|
],
|
|
|
|
|
header_libs: [
|
|
|
|
|
"camera.device@3.4-impl_headers",
|
|
|
|
|
"camera.device@3.5-impl_headers",
|
|
|
|
|
],
|
|
|
|
|
export_include_dirs: ["."],
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
|
name: "android.hardware.camera.provider@2.4-external",
|
|
|
|
|
proprietary: true,
|
|
|
|
|
srcs: ["ExternalCameraProviderImpl_2_4.cpp"],
|
|
|
|
|
shared_libs: [
|
|
|
|
|
"android.hardware.camera.common@1.0",
|
|
|
|
|
"android.hardware.camera.device@1.0",
|
|
|
|
|
"android.hardware.camera.device@3.2",
|
|
|
|
|
"android.hardware.camera.device@3.3",
|
|
|
|
|
"android.hardware.camera.device@3.4",
|
|
|
|
|
"android.hardware.camera.device@3.5",
|
2020-01-16 17:06:36 -08:00
|
|
|
"android.hardware.camera.device@3.6",
|
2019-01-18 17:32:06 -08:00
|
|
|
"android.hardware.camera.provider@2.4",
|
|
|
|
|
"android.hardware.graphics.mapper@2.0",
|
2019-05-10 12:07:14 -07:00
|
|
|
"android.hardware.graphics.mapper@3.0",
|
2019-06-21 09:13:35 -07:00
|
|
|
"android.hardware.graphics.mapper@4.0",
|
2019-01-18 17:32:06 -08:00
|
|
|
"android.hidl.allocator@1.0",
|
|
|
|
|
"android.hidl.memory@1.0",
|
|
|
|
|
"camera.device@3.3-impl",
|
2017-10-19 17:30:11 -07:00
|
|
|
"camera.device@3.4-external-impl",
|
2019-01-18 17:32:06 -08:00
|
|
|
"camera.device@3.4-impl",
|
2018-11-04 16:30:11 -08:00
|
|
|
"camera.device@3.5-external-impl",
|
2019-01-18 17:32:06 -08:00
|
|
|
"camera.device@3.5-impl",
|
2020-01-16 17:06:36 -08:00
|
|
|
"camera.device@3.6-external-impl",
|
2019-01-18 17:32:06 -08:00
|
|
|
"libcamera_metadata",
|
|
|
|
|
"libcutils",
|
|
|
|
|
"libhardware",
|
|
|
|
|
"libhidlbase",
|
|
|
|
|
"liblog",
|
|
|
|
|
"libtinyxml2",
|
|
|
|
|
"libutils",
|
|
|
|
|
],
|
|
|
|
|
static_libs: [
|
|
|
|
|
"android.hardware.camera.common@1.0-helper",
|
|
|
|
|
],
|
|
|
|
|
header_libs: [
|
|
|
|
|
"camera.device@3.4-external-impl_headers",
|
2020-01-16 17:06:36 -08:00
|
|
|
"camera.device@3.5-external-impl_headers",
|
2020-10-05 23:44:16 +00:00
|
|
|
"camera.device@3.6-external-impl_headers",
|
2019-01-18 17:32:06 -08:00
|
|
|
],
|
|
|
|
|
export_include_dirs: ["."],
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
|
name: "android.hardware.camera.provider@2.4-impl",
|
|
|
|
|
defaults: ["hidl_defaults"],
|
|
|
|
|
proprietary: true,
|
|
|
|
|
relative_install_path: "hw",
|
|
|
|
|
srcs: ["CameraProvider_2_4.cpp"],
|
|
|
|
|
shared_libs: [
|
2016-12-14 19:13:15 -08:00
|
|
|
"android.hardware.camera.common@1.0",
|
2019-01-18 17:32:06 -08:00
|
|
|
"android.hardware.camera.device@1.0",
|
|
|
|
|
"android.hardware.camera.device@3.2",
|
|
|
|
|
"android.hardware.camera.device@3.3",
|
|
|
|
|
"android.hardware.camera.device@3.4",
|
|
|
|
|
"android.hardware.camera.device@3.5",
|
|
|
|
|
"android.hardware.camera.provider@2.4",
|
|
|
|
|
"android.hardware.camera.provider@2.4-external",
|
|
|
|
|
"android.hardware.camera.provider@2.4-legacy",
|
2017-04-21 14:59:31 -07:00
|
|
|
"android.hardware.graphics.mapper@2.0",
|
2019-06-21 09:13:35 -07:00
|
|
|
"android.hardware.graphics.mapper@3.0",
|
|
|
|
|
"android.hardware.graphics.mapper@4.0",
|
2017-03-24 17:55:42 -07:00
|
|
|
"android.hidl.allocator@1.0",
|
|
|
|
|
"android.hidl.memory@1.0",
|
2019-01-18 17:32:06 -08:00
|
|
|
"camera.device@1.0-impl",
|
|
|
|
|
"camera.device@3.2-impl",
|
|
|
|
|
"camera.device@3.3-impl",
|
|
|
|
|
"camera.device@3.4-external-impl",
|
|
|
|
|
"camera.device@3.4-impl",
|
|
|
|
|
"camera.device@3.5-external-impl",
|
|
|
|
|
"camera.device@3.5-impl",
|
2017-11-13 16:03:44 +00:00
|
|
|
"libcamera_metadata",
|
2019-01-18 17:32:06 -08:00
|
|
|
"libcutils",
|
|
|
|
|
"libhardware",
|
|
|
|
|
"libhidlbase",
|
|
|
|
|
"liblog",
|
|
|
|
|
"libtinyxml2",
|
|
|
|
|
"libutils",
|
2017-11-13 16:03:44 +00:00
|
|
|
],
|
|
|
|
|
header_libs: [
|
2019-01-18 17:32:06 -08:00
|
|
|
"camera.device@3.4-external-impl_headers",
|
2017-11-13 16:03:44 +00:00
|
|
|
"camera.device@3.4-impl_headers",
|
2019-01-18 17:32:06 -08:00
|
|
|
"camera.device@3.5-external-impl_headers",
|
2018-08-17 13:52:40 -07:00
|
|
|
"camera.device@3.5-impl_headers",
|
2016-12-14 19:13:15 -08:00
|
|
|
],
|
|
|
|
|
static_libs: [
|
2017-11-13 16:03:44 +00:00
|
|
|
"android.hardware.camera.common@1.0-helper",
|
|
|
|
|
],
|
2019-01-18 17:32:06 -08:00
|
|
|
export_include_dirs: ["."],
|
2016-12-14 19:13:15 -08:00
|
|
|
}
|
2017-01-10 14:21:06 -08:00
|
|
|
|
2018-10-05 09:03:05 -07:00
|
|
|
cc_defaults {
|
|
|
|
|
name: "camera_service_defaults",
|
2017-03-08 16:11:32 -08:00
|
|
|
defaults: ["hidl_defaults"],
|
2017-02-13 09:59:06 -08:00
|
|
|
proprietary: true,
|
2017-01-10 14:21:06 -08:00
|
|
|
relative_install_path: "hw",
|
2017-02-02 18:24:26 -08:00
|
|
|
srcs: ["service.cpp"],
|
2017-01-10 14:21:06 -08:00
|
|
|
shared_libs: [
|
2019-01-18 17:32:06 -08:00
|
|
|
"android.hardware.camera.common@1.0",
|
2018-04-18 15:42:08 -07:00
|
|
|
"android.hardware.camera.device@1.0",
|
|
|
|
|
"android.hardware.camera.device@3.2",
|
|
|
|
|
"android.hardware.camera.device@3.3",
|
|
|
|
|
"android.hardware.camera.device@3.4",
|
2018-08-17 13:52:40 -07:00
|
|
|
"android.hardware.camera.device@3.5",
|
2018-04-18 15:42:08 -07:00
|
|
|
"android.hardware.camera.provider@2.4",
|
2019-01-18 17:32:06 -08:00
|
|
|
"android.hardware.graphics.mapper@2.0",
|
2019-06-21 09:13:35 -07:00
|
|
|
"android.hardware.graphics.mapper@3.0",
|
|
|
|
|
"android.hardware.graphics.mapper@4.0",
|
2019-01-18 17:32:06 -08:00
|
|
|
"android.hidl.allocator@1.0",
|
|
|
|
|
"android.hidl.memory@1.0",
|
|
|
|
|
"libbinder",
|
|
|
|
|
"libcamera_metadata",
|
2020-10-05 23:44:16 +00:00
|
|
|
"libcutils",
|
2019-01-18 17:32:06 -08:00
|
|
|
"libhardware",
|
|
|
|
|
"libhidlbase",
|
|
|
|
|
"liblog",
|
|
|
|
|
"libutils",
|
|
|
|
|
],
|
|
|
|
|
static_libs: [
|
|
|
|
|
"android.hardware.camera.common@1.0-helper",
|
|
|
|
|
],
|
|
|
|
|
header_libs: [
|
|
|
|
|
"camera.device@3.4-external-impl_headers",
|
|
|
|
|
"camera.device@3.4-impl_headers",
|
|
|
|
|
"camera.device@3.5-external-impl_headers",
|
|
|
|
|
"camera.device@3.5-impl_headers",
|
2018-04-18 15:42:08 -07:00
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
|
2018-10-05 09:03:05 -07:00
|
|
|
cc_binary {
|
|
|
|
|
name: "android.hardware.camera.provider@2.4-service",
|
|
|
|
|
defaults: ["camera_service_defaults"],
|
|
|
|
|
compile_multilib: "32",
|
|
|
|
|
init_rc: ["android.hardware.camera.provider@2.4-service.rc"],
|
|
|
|
|
}
|
2018-04-18 15:42:08 -07:00
|
|
|
|
|
|
|
|
cc_binary {
|
|
|
|
|
name: "android.hardware.camera.provider@2.4-service_64",
|
2018-10-05 09:03:05 -07:00
|
|
|
defaults: ["camera_service_defaults"],
|
2018-04-18 15:42:08 -07:00
|
|
|
compile_multilib: "64",
|
|
|
|
|
init_rc: ["android.hardware.camera.provider@2.4-service_64.rc"],
|
2018-10-05 09:03:05 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cc_binary {
|
|
|
|
|
name: "android.hardware.camera.provider@2.4-service-lazy",
|
|
|
|
|
overrides: ["android.hardware.camera.provider@2.4-service"],
|
|
|
|
|
defaults: ["camera_service_defaults"],
|
|
|
|
|
compile_multilib: "32",
|
|
|
|
|
init_rc: ["android.hardware.camera.provider@2.4-service-lazy.rc"],
|
|
|
|
|
cflags: ["-DLAZY_SERVICE"],
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cc_binary {
|
|
|
|
|
name: "android.hardware.camera.provider@2.4-service-lazy_64",
|
|
|
|
|
overrides: ["android.hardware.camera.provider@2.4-service_64"],
|
|
|
|
|
defaults: ["camera_service_defaults"],
|
|
|
|
|
compile_multilib: "64",
|
|
|
|
|
init_rc: ["android.hardware.camera.provider@2.4-service-lazy_64.rc"],
|
|
|
|
|
cflags: ["-DLAZY_SERVICE"],
|
2017-01-10 14:21:06 -08:00
|
|
|
}
|
2017-10-19 17:30:11 -07:00
|
|
|
|
|
|
|
|
cc_binary {
|
|
|
|
|
name: "android.hardware.camera.provider@2.4-external-service",
|
|
|
|
|
defaults: ["hidl_defaults"],
|
|
|
|
|
proprietary: true,
|
|
|
|
|
relative_install_path: "hw",
|
|
|
|
|
srcs: ["external-service.cpp"],
|
|
|
|
|
compile_multilib: "32",
|
|
|
|
|
init_rc: ["android.hardware.camera.provider@2.4-external-service.rc"],
|
|
|
|
|
shared_libs: [
|
2019-01-18 17:32:06 -08:00
|
|
|
"android.hardware.camera.common@1.0",
|
2017-10-19 17:30:11 -07:00
|
|
|
"android.hardware.camera.device@1.0",
|
|
|
|
|
"android.hardware.camera.device@3.2",
|
|
|
|
|
"android.hardware.camera.device@3.3",
|
2018-11-04 16:30:11 -08:00
|
|
|
"android.hardware.camera.device@3.4",
|
|
|
|
|
"android.hardware.camera.device@3.5",
|
2017-10-19 17:30:11 -07:00
|
|
|
"android.hardware.camera.provider@2.4",
|
2019-01-18 17:32:06 -08:00
|
|
|
"libbinder",
|
|
|
|
|
"libhidlbase",
|
|
|
|
|
"liblog",
|
|
|
|
|
"libtinyxml2",
|
|
|
|
|
"libutils",
|
|
|
|
|
],
|
|
|
|
|
header_libs: [
|
|
|
|
|
"camera.device@3.4-external-impl_headers",
|
|
|
|
|
"camera.device@3.4-impl_headers",
|
|
|
|
|
"camera.device@3.5-external-impl_headers",
|
|
|
|
|
"camera.device@3.5-impl_headers",
|
2017-10-19 17:30:11 -07:00
|
|
|
],
|
|
|
|
|
}
|