1import("//llvm/utils/TableGen/tablegen.gni") 2import("//third-party/unittest/unittest.gni") 3 4tablegen("Opts") { 5 visibility = [ ":OptionTests" ] 6 args = [ "-gen-opt-parser-defs" ] 7} 8 9unittest("OptionTests") { 10 deps = [ 11 ":Opts", 12 "//llvm/lib/Option", 13 "//llvm/lib/Support", 14 ] 15 sources = [ 16 "OptionMarshallingTest.cpp", 17 "OptionParsingTest.cpp", 18 ] 19} 20