1cc_defaults { 2 name: "libimage_io-defaults", 3 cflags: [ 4 "-DUNIX_ENV=1", 5 "-Werror", 6 "-Wno-reorder", 7 "-Wno-unused-parameter", 8 ], 9 rtti: true, 10 cppflags: ["-fno-exceptions"], 11 clang: true, 12 sanitize: { 13 misc_undefined: [ 14 "unsigned-integer-overflow", 15 "signed-integer-overflow", 16 ], 17 }, 18} 19 20cc_library_headers { 21 name: "libimage_io-headers", 22 export_include_dirs: ["includes"], 23} 24 25 26cc_library { 27 name: "libimage_io", 28 defaults: ["libimage_io-defaults"], 29 vendor_available: false, 30 header_libs: ["libimage_io-headers"], 31 export_include_dirs: ["includes"], 32 srcs: ["src/**/*.cc"], 33 static_libs: [ 34 "libmodpb64", 35 ], 36} 37 38cc_library_headers { 39 name: "libimage_io_ndk-headers", 40 export_include_dirs: ["includes"], 41 sdk_version: "current", 42} 43 44cc_library_static { 45 name: "libimage_io_ndk", 46 defaults: ["libimage_io-defaults"], 47 vendor_available: false, 48 header_libs: ["libimage_io_ndk-headers"], 49 export_include_dirs: ["includes"], 50 srcs: ["src/**/*.cc"], 51 static_libs: [ 52 "libmodpb64_ndk", 53 ], 54 sdk_version: "current", 55 stl: "c++_static", 56} 57