1cc_library_shared { 2 name: "libstagefright_codec2", 3 vendor_available: true, 4 5 srcs: ["C2.cpp"], 6 7 cflags: [ 8 "-Wall", 9 "-Werror", 10 ], 11 12 include_dirs: [ 13 "frameworks/native/include/media/hardware", 14 ], 15 16 export_include_dirs: [ 17 "include", 18 ], 19 20 header_libs: [ 21 "libhardware_headers", 22 "libutils_headers", 23 ], 24 25 export_header_lib_headers: [ 26 "libhardware_headers", 27 "libutils_headers", 28 ], 29 30 sanitize: { 31 misc_undefined: [ 32 "unsigned-integer-overflow", 33 "signed-integer-overflow", 34 ], 35 cfi: false, // true, 36 diag: { 37 cfi: false, // true, 38 }, 39 }, 40 41 ldflags: ["-Wl,-Bsymbolic"], 42} 43