aboutsummaryrefslogtreecommitdiff
path: root/bazel
diff options
context:
space:
mode:
authorTrevor Radcliffe <tradical@google.com>2023-03-20 18:22:46 +0000
committerTrevor Radcliffe <tradical@google.com>2023-03-20 18:25:08 +0000
commitdc210faca4b9efb52519e5d11dc06cc3dcb5605c (patch)
tree744ca1963e245d605bba038efd13c72c57d33b74 /bazel
parentc0d209f2e571676d403bdc154234b4f3a61592a2 (diff)
Supporting changes for cc_binary LTO transitions
Bug: 261733821 Test: Unit tests Change-Id: I4218a93ce20d28b425f216d2328446c9b2ad9088
Diffstat (limited to 'bazel')
-rw-r--r--bazel/cquery/request_type.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazel/cquery/request_type.go b/bazel/cquery/request_type.go
index cf649a47e..f27bd61a8 100644
--- a/bazel/cquery/request_type.go
+++ b/bazel/cquery/request_type.go
@@ -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 = []