1 cc_binary_host { 2 name: "llvm-tblgen", 3 defaults: ["llvm-defaults-no-generated-headers"], 4 srcs: ["*.cpp"], 5 6 static_libs: [ 7 "libLLVMSupport", 8 "libLLVMTableGen", 9 ], 10 clang_cflags: [ 11 "-Wno-user-defined-warnings", 12 ], 13 target: { 14 windows: { 15 enabled: false, 16 }, 17 // llvm-defaults turns off host builds by default, turn it back on for 18 // modules that are used to build llvm-tblgen 19 host: { 20 enabled: true, 21 }, 22 }, 23 } 24