diff options
Diffstat (limited to 'bazel')
-rw-r--r-- | bazel/deploy_jar_freshness_golden_test.bzl | 2 | ||||
-rw-r--r-- | bazel/stubs.bzl | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/bazel/deploy_jar_freshness_golden_test.bzl b/bazel/deploy_jar_freshness_golden_test.bzl index a6524eb..7c933ce 100644 --- a/bazel/deploy_jar_freshness_golden_test.bzl +++ b/bazel/deploy_jar_freshness_golden_test.bzl @@ -16,6 +16,8 @@ load("//:visibility.bzl", "RULES_KOTLIN") +visibility(RULES_KOTLIN) + def _deploy_jar_freshness_golden_test_impl(ctx): test_command = """ if ! cmp $1 $2 ; then 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"] |