Update cqueries for bazel rules dir rename
Test: USE_BAZEL_ANALYSIS=1 m updater Change-Id: I1356828a00037c8ec42108438a2975d2ab44d1d7
This commit is contained in:
parent
da0b38772d
commit
8c46bf96f5
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ staticLibraries = []
|
||||||
rootStaticArchives = []
|
rootStaticArchives = []
|
||||||
linker_inputs = cc_info.linking_context.linker_inputs.to_list()
|
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):
|
if static_info_tag in providers(target):
|
||||||
static_info = providers(target)[static_info_tag]
|
static_info = providers(target)[static_info_tag]
|
||||||
ccObjectFiles = [f.path for f in static_info.objects]
|
ccObjectFiles = [f.path for f in static_info.objects]
|
||||||
|
@ -149,7 +149,7 @@ else:
|
||||||
rootSharedLibraries.append(path)
|
rootSharedLibraries.append(path)
|
||||||
|
|
||||||
toc_file = ""
|
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):
|
if toc_file_tag in providers(target):
|
||||||
toc_file = providers(target)[toc_file_tag].toc.path
|
toc_file = providers(target)[toc_file_tag].toc.path
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue