blob: cf276ec036a19de94d9c6511e3e5ac9bc80c3054 [file] [log] [blame]
package {
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_defaults {
name: "libgooglecamerahwl_impl_defaults",
owner: "google",
proprietary: true,
srcs: [
"EmulatedCameraProviderHWLImpl.cpp",
"EmulatedCameraDeviceHWLImpl.cpp",
"EmulatedCameraDeviceSessionHWLImpl.cpp",
"EmulatedLogicalRequestState.cpp",
"EmulatedRequestProcessor.cpp",
"EmulatedRequestState.cpp",
"EmulatedScene.cpp",
"EmulatedSensor.cpp",
"EmulatedTorchState.cpp",
"JpegCompressor.cpp",
"utils/ExifUtils.cpp",
"utils/HWLUtils.cpp",
"utils/StreamConfigurationMap.cpp",
],
cflags: [
"-Werror",
"-Wextra",
"-Wall",
],
shared_libs: [
"android.frameworks.sensorservice@1.0",
"android.hardware.graphics.mapper@2.0",
"android.hardware.graphics.mapper@3.0",
"android.hardware.graphics.mapper@4.0",
"android.hardware.camera.provider@2.4",
"android.hardware.camera.provider@2.5",
"android.hardware.camera.provider@2.6",
"android.hardware.camera.provider@2.7",
"android.hardware.sensors@1.0",
"android.hidl.allocator@1.0",
"lib_profiler",
"libbase",
"libcamera_metadata",
"libcutils",
"libexif",
"libgralloctypes",
"libhardware",
"libhidlbase",
"libgooglecamerahalutils",
"libjpeg",
"libjsoncpp",
"liblog",
"libsync",
"libutils",
"libyuv",
],
static_libs: [
"android.hardware.camera.common@1.0-helper",
],
include_dirs: [
"system/media/private/camera/include",
],
header_libs: [
"libgooglecamerahal_headers",
],
}
cc_library_shared {
name: "libgooglecamerahwl_impl",
defaults: ["libgooglecamerahwl_impl_defaults"],
}
cc_library_shared {
name: "libgooglecamerahwl_impl_fast_scene_cycle",
defaults: ["libgooglecamerahwl_impl_defaults"],
stem: "libgooglecamerahwl_impl",
cflags: ["-DFAST_SCENE_CYCLE"],
// Never installed to /vendor, only used inside an APEX.
installable: false,
}