1cc_defaults { 2 name: "sanitizer-status_defaults", 3 4 c_std: "c11", 5 cflags: [ 6 "-Wall", 7 "-Werror", 8 "-O0", 9 ], 10} 11 12sanitizer_status_library_shared { 13 name: "libsanitizer-status", 14 defaults: ["sanitizer-status_defaults"], 15 16 srcs: ["sanitizer-status.c"], 17} 18 19cc_binary { 20 name: "sanitizer-status", 21 defaults: ["sanitizer-status_defaults"], 22 23 srcs: ["main.c"], 24 shared_libs: ["libsanitizer-status"], 25} 26 27bootstrap_go_package { 28 name: "soong-sanitizer_status", 29 pkgPath: "android/soong/security/santizers_status", 30 deps: [ 31 "blueprint", 32 "soong-android", 33 "soong-cc", 34 ], 35 srcs: ["sanitizer-status.go"], 36 pluginFor: ["soong_build"], 37} 38