1cc_defaults { 2 name: "libmp4extractor_defaults", 3 4 srcs: [ 5 "ItemTable.cpp", 6 "MPEG4Extractor.cpp", 7 "SampleIterator.cpp", 8 "SampleTable.cpp", 9 ], 10 11 include_dirs: [ 12 "frameworks/av/media/libstagefright/", 13 ], 14 15 shared_libs: [ 16 "liblog", 17 "libmediaextractor", 18 ], 19 20 static_libs: [ 21 "libstagefright_esds", 22 "libstagefright_foundation", 23 "libstagefright_id3", 24 "libutils", 25 ], 26 27 cflags: [ 28 "-Werror", 29 "-Wall", 30 "-fvisibility=hidden", 31 ], 32 version_script: "exports.lds", 33 relative_install_path: "extractors", 34 compile_multilib: "first", 35} 36 37cc_library_shared { 38 39 40 name: "libmp4extractor", 41 defaults: ["libmp4extractor_defaults"], 42 43 sanitize: { 44 cfi: true, 45 misc_undefined: [ 46 "unsigned-integer-overflow", 47 "signed-integer-overflow", 48 ], 49 diag: { 50 cfi: true, 51 }, 52 }, 53 54} 55 56cc_library_static { 57 name: "libmp4extractor_fuzzing", 58 59 defaults: ["libmp4extractor_defaults"], 60} 61