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_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
10cc_library_static {
11    name: "android.hardware.camera.common@1.0-helper",
12    vendor_available: true,
13    defaults: ["hidl_defaults"],
14    srcs: [
15        "CameraModule.cpp",
16        "CameraMetadata.cpp",
17        "CameraParameters.cpp",
18        "VendorTagDescriptor.cpp",
19        "HandleImporter.cpp",
20        "Exif.cpp",
21    ],
22    cflags: [
23        "-Werror",
24        "-Wextra",
25        "-Wall",
26    ],
27    shared_libs: [
28        "liblog",
29        "libgralloctypes",
30        "libhardware",
31        "libcamera_metadata",
32        "android.hardware.graphics.mapper@2.0",
33        "android.hardware.graphics.mapper@3.0",
34        "android.hardware.graphics.mapper@4.0",
35        "libexif",
36    ],
37    include_dirs: ["system/media/private/camera/include"],
38    export_include_dirs: ["include"],
39}
40