Supporting changes for cc_binary LTO transitions

Bug: 261733821
Test: Unit tests
Change-Id: I4218a93ce20d28b425f216d2328446c9b2ad9088
This commit is contained in:
Trevor Radcliffe 2023-03-20 18:22:46 +00:00
parent c0d209f2e5
commit dc210faca4

View file

@ -335,7 +335,7 @@ unstripped = output_path
unstripped_tag = "//build/bazel/rules/cc:stripped_cc_common.bzl%CcUnstrippedInfo"
if unstripped_tag in p:
unstripped_info = p[unstripped_tag]
unstripped = unstripped_info.unstripped.files.to_list()[0].path
unstripped = unstripped_info.unstripped[0].files.to_list()[0].path
local_static_libs = []
local_whole_static_libs = []