Commit d7e07fc
authored
refactor(internal): allow setting linking mode for internal cc_details APIs (#1982)
This upstreams a Google patch to control how py_binary links C++
dependencies. This just
extends the internal helper functions a bit to allow specifying some of
the otherwise
hard coded values and passing in additional args to the cc_details
struct.1 parent 95b150d commit d7e07fc
File tree
3 files changed
+23
-12
lines changed- python/private/common
3 files changed
+23
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
173 | 181 | | |
174 | 182 | | |
175 | 183 | | |
| |||
180 | 188 | | |
181 | 189 | | |
182 | 190 | | |
| 191 | + | |
| 192 | + | |
183 | 193 | | |
184 | 194 | | |
185 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
| 557 | + | |
566 | 558 | | |
567 | 559 | | |
568 | 560 | | |
| |||
921 | 913 | | |
922 | 914 | | |
923 | 915 | | |
924 | | - | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
925 | 922 | | |
926 | 923 | | |
927 | 924 | | |
928 | 925 | | |
929 | 926 | | |
930 | 927 | | |
931 | 928 | | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
935 | 935 | | |
936 | | - | |
| 936 | + | |
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
| 563 | + | |
563 | 564 | | |
564 | 565 | | |
565 | 566 | | |
| |||
0 commit comments