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