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