1cc_binary_host { 2 name: "fec", 3 4 target: { 5 linux_glibc: { 6 sanitize: { 7 misc_undefined: ["integer"], 8 }, 9 }, 10 linux: { 11 static_libs: [ 12 "libavb", 13 ], 14 }, 15 }, 16 17 srcs: [ 18 "main.cpp", 19 "image.cpp", 20 ], 21 22 static_libs: [ 23 "libbase", 24 "libsparse", 25 "libz", 26 "libcrypto_utils", 27 "libcrypto", 28 "libfec", 29 "libfec_rs", 30 "libext4_utils", 31 "liblog", 32 "libsquashfs_utils", 33 ], 34 cflags: [ 35 "-Wall", 36 "-Werror", 37 "-O3", 38 ], 39} 40