• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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-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        "SimpleThread.cpp",
22    ],
23    cflags: [
24        "-Werror",
25        "-Wextra",
26        "-Wall",
27    ],
28    shared_libs: [
29        "liblog",
30        "libgralloctypes",
31        "libhardware",
32        "libcamera_metadata",
33        "android.hardware.graphics.mapper@2.0",
34        "android.hardware.graphics.mapper@3.0",
35        "android.hardware.graphics.mapper@4.0",
36        "libexif",
37    ],
38    include_dirs: ["system/media/private/camera/include"],
39    export_include_dirs: ["include"],
40}
41
42// NOTE: Deprecated module kept for compatibility reasons.
43// Depend on "android.hardware.camera.common-helper" instead
44cc_library_static {
45    name: "android.hardware.camera.common@1.0-helper",
46    vendor_available: true,
47    whole_static_libs: ["android.hardware.camera.common-helper"],
48}
49