File tree Expand file tree Collapse file tree 1 file changed +34
-7
lines changed
utils/bazel/llvm-project-overlay/llvm Expand file tree Collapse file tree 1 file changed +34
-7
lines changed Original file line number Diff line number Diff line change @@ -964,19 +964,45 @@ cc_library(
964
964
965
965
cc_library (
966
966
name = "TextAPI" ,
967
+ srcs = glob (
968
+ [
969
+ "lib/TextAPI/**/*.cpp" ,
970
+ ],
971
+ exclude = ["lib/TextAPI/BinaryReader/**" ],
972
+ ),
973
+ hdrs = glob (
974
+ [
975
+ "include/llvm/TextAPI/**/*.h" ,
976
+ "include/llvm/TextAPI/**/*.def" ,
977
+ "lib/TextAPI/**/*.h" ,
978
+ ],
979
+ exclude = [
980
+ "lib/TextAPI/BinaryReader/**" ,
981
+ "include/llvm/TextAPI/DylibReader.h" ,
982
+ ],
983
+ ),
984
+ copts = llvm_copts ,
985
+ deps = [
986
+ ":BinaryFormat" ,
987
+ ":Support" ,
988
+ ":TargetParser" ,
989
+ ],
990
+ )
991
+
992
+ cc_library (
993
+ name = "TextAPIBinaryReader" ,
967
994
srcs = glob ([
968
- "lib/TextAPI/**/*.cpp" ,
969
- ]),
970
- hdrs = glob ([
971
- "include/llvm/TextAPI/**/*.h" ,
972
- "include/llvm/TextAPI/**/*.def" ,
973
- "lib/TextAPI/**/*.h" ,
995
+ "lib/TextAPI/BinaryReader/**/*.cpp" ,
974
996
]),
997
+ hdrs = ["include/llvm/TextAPI/DylibReader.h" ] + glob (
998
+ ["lib/TextAPI/BinaryReader/**/*.h" ],
999
+ ),
975
1000
copts = llvm_copts ,
976
1001
deps = [
977
- ":BinaryFormat " ,
1002
+ ":Object " ,
978
1003
":Support" ,
979
1004
":TargetParser" ,
1005
+ ":TextAPI" ,
980
1006
],
981
1007
)
982
1008
@@ -5204,6 +5230,7 @@ cc_binary(
5204
5230
":ReadTAPIOptsTableGen" ,
5205
5231
":Support" ,
5206
5232
":TextAPI" ,
5233
+ ":TextAPIBinaryReader" ,
5207
5234
],
5208
5235
)
5209
5236
You can’t perform that action at this time.
0 commit comments