@@ -1231,6 +1231,7 @@ cc_library(
12311231 ":format" ,
12321232 ":frontend" ,
12331233 ":lex" ,
1234+ ":options" ,
12341235 ":rewrite" ,
12351236 ":support" ,
12361237 ":tooling_core" ,
@@ -1507,6 +1508,19 @@ gentbl_cc_library(
15071508 deps = ["//llvm:OptParserTdFiles" ],
15081509)
15091510
1511+ cc_library (
1512+ name = "options" ,
1513+ srcs = glob (["lib/Options/*.cpp" ]),
1514+ hdrs = glob (["include/clang/Options/*.h" ]),
1515+ includes = ["include" ],
1516+ deps = [
1517+ ":basic" ,
1518+ ":driver_options_inc_gen" ,
1519+ ":static_analyzer_checkers_gen" ,
1520+ "//llvm:Option" ,
1521+ ],
1522+ )
1523+
15101524cc_library (
15111525 name = "driver" ,
15121526 srcs = glob (
@@ -1544,6 +1558,7 @@ cc_library(
15441558 ":config" ,
15451559 ":driver_options_inc_gen" ,
15461560 ":lex" ,
1561+ ":options" ,
15471562 ":parse" ,
15481563 ":static_analyzer_checkers_gen" ,
15491564 "//llvm:BinaryFormat" ,
@@ -1700,6 +1715,7 @@ cc_library(
17001715 ":driver_options_inc_gen" ,
17011716 ":edit" ,
17021717 ":lex" ,
1718+ ":options" ,
17031719 ":parse" ,
17041720 ":sema" ,
17051721 ":serialization" ,
@@ -1769,6 +1785,7 @@ cc_library(
17691785 ":frontend" ,
17701786 ":frontend_tool" ,
17711787 ":lex" ,
1788+ ":options" ,
17721789 ":parse" ,
17731790 ":sema" ,
17741791 ":serialization" ,
@@ -2001,6 +2018,7 @@ cc_library(
20012018 ":extract_api" ,
20022019 ":frontend" ,
20032020 ":frontend_rewrite" ,
2021+ ":options" ,
20042022 ":static_analyzer_frontend" ,
20052023 "//llvm:Option" ,
20062024 "//llvm:Support" ,
@@ -2176,6 +2194,7 @@ cc_library(
21762194 ":frontend_rewrite" ,
21772195 ":frontend_tool" ,
21782196 ":lex" ,
2197+ ":options" ,
21792198 ":parse" ,
21802199 ":sema" ,
21812200 ":serialization" ,
@@ -2258,6 +2277,7 @@ cc_binary(
22582277 ":driver" ,
22592278 ":frontend" ,
22602279 ":frontend_rewrite" ,
2280+ ":options" ,
22612281 ":serialization" ,
22622282 ":static_analyzer_frontend" ,
22632283 ":tooling" ,
0 commit comments