1package {
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/google/camera:hardware_google_camera_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: [
8        "//hardware/google/camera:hardware_google_camera_license",
9    ],
10}
11
12cc_library_shared {
13    name: "libgooglecamerahwl_impl",
14    owner: "google",
15    proprietary: true,
16    srcs: [
17        "EmulatedCameraProviderHWLImpl.cpp",
18        "EmulatedCameraDeviceHWLImpl.cpp",
19        "EmulatedCameraDeviceSessionHWLImpl.cpp",
20        "EmulatedLogicalRequestState.cpp",
21        "EmulatedRequestProcessor.cpp",
22        "EmulatedRequestState.cpp",
23        "EmulatedScene.cpp",
24        "EmulatedSensor.cpp",
25        "EmulatedTorchState.cpp",
26        "JpegCompressor.cpp",
27        "utils/ExifUtils.cpp",
28        "utils/HWLUtils.cpp",
29        "utils/StreamConfigurationMap.cpp",
30    ],
31    cflags: [
32        "-Werror",
33        "-Wextra",
34        "-Wall",
35    ],
36    shared_libs: [
37        "android.frameworks.sensorservice@1.0",
38        "android.hardware.graphics.mapper@2.0",
39        "android.hardware.graphics.mapper@3.0",
40        "android.hardware.graphics.mapper@4.0",
41        "android.hardware.camera.provider@2.4",
42        "android.hardware.camera.provider@2.5",
43        "android.hardware.camera.provider@2.6",
44        "android.hardware.camera.provider@2.7",
45        "android.hardware.sensors@1.0",
46        "android.hidl.allocator@1.0",
47        "lib_profiler",
48        "libbase",
49        "libcamera_metadata",
50        "libcutils",
51        "libexif",
52        "libgralloctypes",
53        "libhardware",
54        "libhidlbase",
55        "libgooglecamerahalutils",
56        "libjpeg",
57        "libjsoncpp",
58        "liblog",
59        "libsync",
60        "libutils",
61        "libyuv",
62    ],
63    static_libs: [
64        "android.hardware.camera.common@1.0-helper",
65    ],
66    include_dirs: [
67        "system/media/private/camera/include",
68    ],
69    header_libs: [
70        "libgooglecamerahal_headers",
71    ],
72}
73