From 8c46bf96f544f67faa4c29e6125afee0a9544ffe Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Thu, 10 Feb 2022 10:24:07 -0500 Subject: [PATCH] Update cqueries for bazel rules dir rename Test: USE_BAZEL_ANALYSIS=1 m updater Change-Id: I1356828a00037c8ec42108438a2975d2ab44d1d7 --- bazel/cquery/request_type.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazel/cquery/request_type.go b/bazel/cquery/request_type.go index 4dc0e4cd1..5d00b0b29 100644 --- a/bazel/cquery/request_type.go +++ b/bazel/cquery/request_type.go @@ -114,7 +114,7 @@ staticLibraries = [] rootStaticArchives = [] linker_inputs = cc_info.linking_context.linker_inputs.to_list() -static_info_tag = "//build/bazel/rules:cc_library_static.bzl%CcStaticLibraryInfo" +static_info_tag = "//build/bazel/rules/cc:cc_library_static.bzl%CcStaticLibraryInfo" if static_info_tag in providers(target): static_info = providers(target)[static_info_tag] ccObjectFiles = [f.path for f in static_info.objects] @@ -149,7 +149,7 @@ else: rootSharedLibraries.append(path) toc_file = "" -toc_file_tag = "//build/bazel/rules:generate_toc.bzl%CcTocInfo" +toc_file_tag = "//build/bazel/rules/cc:generate_toc.bzl%CcTocInfo" if toc_file_tag in providers(target): toc_file = providers(target)[toc_file_tag].toc.path else: