summaryrefslogtreecommitdiff
path: root/camera/device/1.0/default/Android.bp
blob: f875d77f68537d1f63caeef2619e7a1f6ac8a48f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package {
    // 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"],
}

cc_library_shared {
    name: "camera.device@1.0-impl",
    defaults: ["hidl_defaults"],
    proprietary: true,
    srcs: [
        "CameraDevice.cpp",
    ],
    shared_libs: [
        "libhidlbase",
        "libhidlmemory",
        "libutils",
        "android.hardware.camera.device@1.0",
        "vendor.qti.hardware.camera.device@1.0",
        "android.hardware.camera.common@1.0",
        "android.hardware.graphics.allocator@2.0",
        "android.hardware.graphics.mapper@2.0",
        "android.hardware.graphics.mapper@3.0",
        "android.hardware.graphics.mapper@4.0",
        "android.hardware.graphics.common@1.0",
        "android.hidl.allocator@1.0",
        "android.hidl.memory@1.0",
        "libcutils",
        "liblog",
        "libgralloctypes",
        "libhardware",
        "libcamera_metadata",
    ],
    static_libs: [
        "android.hardware.camera.common@1.0-helper",
    ],
    header_libs: [
        "media_plugin_headers",
    ],
    export_include_dirs: ["."],
    sdclang: false, // See b/163842697
    // Since this platform module has been forked to depend on a vendor
    // proprietary library, we exclude it from the vendor snapshot so that it
    // will be built from source as part of the vendor build.
    exclude_from_vendor_snapshot: true,
}