1cc_library { 2 name: "libdatasource", 3 4 srcs: [ 5 "DataSourceFactory.cpp", 6 "DataURISource.cpp", 7 "FileSource.cpp", 8 "HTTPBase.cpp", 9 "MediaHTTP.cpp", 10 "NuCachedSource2.cpp", 11 ], 12 13 aidl: { 14 local_include_dirs: ["aidl"], 15 export_aidl_headers: true, 16 }, 17 18 header_libs: [ 19 "libstagefright_headers", 20 "media_ndk_headers", 21 "libmedia_headers", 22 ], 23 24 export_header_lib_headers: [ 25 "libstagefright_headers", 26 "media_ndk_headers", 27 ], 28 29 shared_libs: [ 30 "liblog", 31 "libcutils", 32 "libutils", 33 "libstagefright_foundation", 34 "libdl", 35 ], 36 37 static_libs: [ 38 "libc_malloc_debug_backtrace", // for memory heap analysis 39 "libmedia_midiiowrapper", 40 ], 41 42 local_include_dirs: [ 43 "include", 44 ], 45 46 export_include_dirs: [ 47 "include", 48 ], 49 50 cflags: [ 51 "-Werror", 52 "-Wno-error=deprecated-declarations", 53 "-Wall", 54 ], 55 56 sanitize: { 57 misc_undefined: [ 58 "unsigned-integer-overflow", 59 "signed-integer-overflow", 60 ], 61 cfi: true, 62 }, 63} 64