aboutsummaryrefslogtreecommitdiff
path: root/bazel/stubs.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'bazel/stubs.bzl')
-rw-r--r--bazel/stubs.bzl11
1 files changed, 7 insertions, 4 deletions
diff --git a/bazel/stubs.bzl b/bazel/stubs.bzl
index 4a6915d..c63ac76 100644
--- a/bazel/stubs.bzl
+++ b/bazel/stubs.bzl
@@ -15,16 +15,19 @@
"""Stubs"""
load("//:visibility.bzl", "RULES_KOTLIN")
-load("@bazel_skylib//lib:sets.bzl", "sets")
+
+visibility(RULES_KOTLIN)
def _empty_fn(*_args, **_kwargs):
pass
register_extension_info = _empty_fn
-FORBIDDEN_DEP_PACKAGES = sets.make([])
+is_forbidden_dep = _empty_fn
+
+is_exempt_dep = _empty_fn
-EXEMPT_DEPS = sets.make([])
+is_android_lint_exempt = _empty_fn
DEFAULT_BUILTIN_PROCESSORS = [
"com.google.android.apps.play.store.plugins.injectionentrypoint.InjectionEntryPointProcessor",
@@ -58,7 +61,7 @@ lint_actions = struct(
def check_compiler_opt_allowlist(_label):
pass
-def jspecify_flags(ctx):
+def jspecify_flags(_ctx):
# Trust JSpecify nullness annotations
# (see https://kotlinlang.org/docs/whatsnew1520.html#support-for-jspecify-nullness-annotations)
return ["-Xjspecify-annotations=strict"]