@@ -65,11 +65,35 @@ config_setting(
65
65
################################# Include Files ################################
66
66
67
67
libc_support_library (
68
- name = "internal_includes" ,
69
- textual_hdrs = glob ([
70
- "include/llvm-libc-macros/*.h" ,
71
- "include/llvm-libc-types/*" ,
72
- ]),
68
+ name = "llvm_libc_macros_math_macros" ,
69
+ hdrs = ["include/llvm-libc-macros/math-macros.h" ],
70
+ )
71
+
72
+ libc_support_library (
73
+ name = "llvm_libc_macros_limits_macros" ,
74
+ hdrs = ["include/llvm-libc-macros/limits-macros.h" ],
75
+ )
76
+
77
+ libc_support_library (
78
+ name = "llvm_libc_macros_float_macros" ,
79
+ hdrs = ["include/llvm-libc-macros/float-macros.h" ],
80
+ )
81
+
82
+ libc_support_library (
83
+ name = "llvm_libc_macros_stdint_macros" ,
84
+ hdrs = ["include/llvm-libc-macros/stdint-macros.h" ],
85
+ )
86
+
87
+ libc_support_library (
88
+ name = "llvm_libc_macros_stdfix_macros" ,
89
+ hdrs = ["include/llvm-libc-macros/stdfix-macros.h" ],
90
+ deps = [":llvm_libc_macros_float_macros" ],
91
+ )
92
+
93
+ libc_support_library (
94
+ name = "llvm_libc_types_float128" ,
95
+ hdrs = ["include/llvm-libc-types/float128.h" ],
96
+ deps = [":llvm_libc_macros_float_macros" ],
73
97
)
74
98
75
99
############################### Support libraries ##############################
@@ -691,7 +715,7 @@ libc_support_library(
691
715
":__support_macros_properties_architectures" ,
692
716
":__support_macros_sanitizer" ,
693
717
":errno" ,
694
- ":internal_includes " ,
718
+ ":llvm_libc_macros_math_macros " ,
695
719
],
696
720
)
697
721
@@ -764,7 +788,7 @@ libc_support_library(
764
788
":__support_fputil_normal_float" ,
765
789
":__support_macros_optimization" ,
766
790
":__support_uint128" ,
767
- ":internal_includes " ,
791
+ ":llvm_libc_macros_math_macros " ,
768
792
],
769
793
)
770
794
@@ -778,7 +802,7 @@ libc_support_library(
778
802
":__support_fputil_fp_bits" ,
779
803
":__support_fputil_rounding_mode" ,
780
804
":__support_macros_attributes" ,
781
- ":internal_includes " ,
805
+ ":llvm_libc_macros_math_macros " ,
782
806
],
783
807
)
784
808
@@ -1007,33 +1031,6 @@ libc_support_library(
1007
1031
],
1008
1032
)
1009
1033
1010
- libc_support_library (
1011
- name = "llvm_libc_macros_limits_macros" ,
1012
- hdrs = ["include/llvm-libc-macros/limits-macros.h" ],
1013
- )
1014
-
1015
- libc_support_library (
1016
- name = "llvm_libc_macros_float_macros" ,
1017
- hdrs = ["include/llvm-libc-macros/float-macros.h" ],
1018
- )
1019
-
1020
- libc_support_library (
1021
- name = "llvm_libc_macros_stdint_macros" ,
1022
- hdrs = ["include/llvm-libc-macros/stdint-macros.h" ],
1023
- )
1024
-
1025
- libc_support_library (
1026
- name = "llvm_libc_macros_stdfix_macros" ,
1027
- hdrs = ["include/llvm-libc-macros/stdfix-macros.h" ],
1028
- deps = [":llvm_libc_macros_float_macros" ],
1029
- )
1030
-
1031
- libc_support_library (
1032
- name = "llvm_libc_types_float128" ,
1033
- hdrs = ["include/llvm-libc-types/float128.h" ],
1034
- deps = [":llvm_libc_macros_float_macros" ],
1035
- )
1036
-
1037
1034
############################### errno targets ################################
1038
1035
1039
1036
libc_function (
@@ -1200,7 +1197,7 @@ libc_support_library(
1200
1197
"__support_cpp_type_traits" ,
1201
1198
":__support_common" ,
1202
1199
":errno" ,
1203
- ":internal_includes " ,
1200
+ ":llvm_libc_macros_math_macros " ,
1204
1201
],
1205
1202
)
1206
1203
0 commit comments