1subdirs = ["tests"]
2
3cc_library_shared {
4    name: "libcamera_metadata",
5    vendor_available: true,
6    srcs: ["src/camera_metadata.c"],
7
8    include_dirs: ["system/media/private/camera/include"],
9    local_include_dirs: ["include"],
10    export_include_dirs: ["include"],
11
12    shared_libs: [
13        "libcutils",
14        "liblog",
15    ],
16
17    cflags: [
18        "-Wall",
19        "-Wextra",
20        "-Werror",
21        "-fvisibility=hidden",
22        "-std=c11",
23    ],
24
25    product_variables: {
26        debuggable: {
27            // Enable assert()
28            cflags: [
29                "-UNDEBUG",
30                "-DLOG_NDEBUG=1",
31            ],
32        },
33    },
34}
35