summaryrefslogtreecommitdiff
path: root/scripts/construct_context_test.py
diff options
context:
space:
mode:
author Jingwen Chen <jingwen@google.com> 2021-05-19 10:30:29 +0000
committer Jingwen Chen <jingwen@google.com> 2021-05-19 10:30:29 +0000
commit45dec1072b25ca7c99c8dfb3a1e03fd3d16270c3 (patch)
tree990f9935917aab6e957f0f7ae2b144c664a65f79 /scripts/construct_context_test.py
parent4ca2ca54132e1160daceb5d8ac720dc749bd5657 (diff)
bp2build: avoid adding deps on system_shared_libs temporarily.
At least until libc and libm builds, which are the common values in system_shared_libs. We don't have a way to break the cycle of: libstdc++.so (system_shared_libs) -> libc.so -> ...(whole_static_libs) -> libstdc++.a (system_shared_libs) -> [] because bp2build just sees it as: libstdc++ (system_shared_libs) -> libc -> (whole_static_libs) -> libstdc++ (system_shared_libs) -> libc -> ... therefore creating a cycle. This CL punts the problem for now by ignoring system_shared_libs in the cc deps mutator, with a TODO. Test: TH Bug: b/186024507 Bug: b/186489250 Change-Id: Id4744593af39b7eb3b31418c8afaeeac99a0ab5f
Diffstat (limited to 'scripts/construct_context_test.py')
0 files changed, 0 insertions, 0 deletions