OSDN Git Service

Mark as vendor_available
[android-x86/system-media.git] / camera / Android.bp
1 subdirs = ["tests"]
2
3 cc_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=c99",
23     ],
24
25     product_variables: {
26         debuggable: {
27             // Enable assert()
28             cflags: [
29                 "-UNDEBUG",
30                 "-DLOG_NDEBUG=1",
31             ],
32         },
33     },
34 }