ANDROID: build: Add --nocheck_bzl_visibility
Currently, we use a few internal Kleaf rules from our custom Bazel rules. A recent upstream change restricted visibility of these rules which causes build errors like: Starlark file //build/kernel/kleaf/impl:common_providers.bzl is not visible for loading from package //<pkg>. Check the file's `visibility()` declaration. While we work to transition to supported Kleaf APIs, let's pass --nocheck_bzl_visbility to the build so that we can continue using the private Kleaf APIs. This change should be reverted after migrating to the Kleaf public APIs. Change-Id: I1cb807e9e97706e57296be9684842e5e972430ac Signed-off-by: John Moon <quic_johmoo@quicinc.com>
This commit is contained in:
parent
e1fcc974b1
commit
71e862d942
@ -147,6 +147,7 @@ class BazelBuilder:
|
||||
"query",
|
||||
"--ui_event_filters=-info",
|
||||
"--noshow_progress",
|
||||
"--nocheck_bzl_visibility",
|
||||
query,
|
||||
]
|
||||
|
||||
@ -286,6 +287,7 @@ class BazelBuilder:
|
||||
self.user_opts.extend([
|
||||
"--user_kmi_symbol_lists=//msm-kernel:android/abi_gki_aarch64_qcom",
|
||||
"--ignore_missing_projects",
|
||||
"--nocheck_bzl_visibility",
|
||||
])
|
||||
|
||||
if self.dry_run:
|
||||
|
Loading…
Reference in New Issue
Block a user