1cc_library_static { 2 name: "libbinary_parse", 3 srcs: [ 4 "src/binary_parse/cached_paged_byte_array.cc", 5 "src/binary_parse/range_checked_byte_ptr.cc", 6 ], 7 cppflags: ["-Wsign-compare"], 8} 9 10cc_library_static { 11 name: "libimage_type_recognition", 12 srcs: [ 13 "src/image_type_recognition/image_type_recognition_lite.cc", 14 ], 15 static_libs: ["libbinary_parse"], 16 cppflags: ["-Wsign-compare"], 17} 18 19cc_library_static { 20 name: "libtiff_directory", 21 srcs: [ 22 "src/tiff_directory/tiff_directory.cc", 23 ], 24 static_libs: ["libbinary_parse"], 25 cppflags: ["-Wsign-compare"], 26} 27 28cc_library_shared { 29 name: "libpiex", 30 vendor_available: true, 31 srcs: [ 32 "src/tiff_parser.cc", 33 "src/piex.cc", 34 ], 35 export_include_dirs: ["."], 36 static_libs: [ 37 "libbinary_parse", 38 "libimage_type_recognition", 39 "libtiff_directory", 40 ], 41 cppflags: ["-Wsign-compare"], 42} 43