OSDN Git Service

Camera2: Deprecate LENS_RADIAL_DISTORTION, add LENS_DISTORTION
[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     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
15     shared_libs: [
16         "libcutils",
17         "liblog",
18     ],
19
20     cflags: [
21         "-Wall",
22         "-Wextra",
23         "-Werror",
24         "-fvisibility=hidden",
25         "-std=c11",
26     ],
27
28     product_variables: {
29         debuggable: {
30             // Enable assert()
31             cflags: [
32                 "-UNDEBUG",
33                 "-DLOG_NDEBUG=1",
34             ],
35         },
36     },
37 }