cc_library_static { name: "libbinary_parse", srcs: [ "src/binary_parse/cached_paged_byte_array.cc", "src/binary_parse/range_checked_byte_ptr.cc", ], cppflags: ["-Wsign-compare"], } cc_library_static { name: "libimage_type_recognition", srcs: [ "src/image_type_recognition/image_type_recognition_lite.cc", ], static_libs: ["libbinary_parse"], cppflags: ["-Wsign-compare"], } cc_library_static { name: "libtiff_directory", srcs: [ "src/tiff_directory/tiff_directory.cc", ], static_libs: ["libbinary_parse"], cppflags: ["-Wsign-compare"], } cc_library_shared { name: "libpiex", vendor_available: true, srcs: [ "src/tiff_parser.cc", "src/piex.cc", ], export_include_dirs: ["."], static_libs: [ "libbinary_parse", "libimage_type_recognition", "libtiff_directory", ], cppflags: ["-Wsign-compare"], }