From dc210faca4b9efb52519e5d11dc06cc3dcb5605c Mon Sep 17 00:00:00 2001 From: Trevor Radcliffe Date: Mon, 20 Mar 2023 18:22:46 +0000 Subject: [PATCH] Supporting changes for cc_binary LTO transitions Bug: 261733821 Test: Unit tests Change-Id: I4218a93ce20d28b425f216d2328446c9b2ad9088 --- bazel/cquery/request_type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = []