From 7cfe35dff2209f09ca4a08433a7f16b09e8683f3 Mon Sep 17 00:00:00 2001 From: iphydf Date: Thu, 23 Nov 2023 23:55:57 +0000 Subject: [PATCH] cleanup: Remove explicit layering_check feature. It's default in .bazelrc now. --- BUILD.bazel | 2 -- auto_tests/BUILD.bazel | 2 -- other/BUILD.bazel | 2 -- other/bootstrap_daemon/BUILD.bazel | 2 -- other/bootstrap_daemon/websocket/websockify/BUILD.bazel | 2 -- other/fun/BUILD.bazel | 2 -- other/proxy/BUILD.bazel | 2 -- super_donators/BUILD.bazel | 2 -- testing/BUILD.bazel | 2 -- testing/fuzzing/BUILD.bazel | 2 -- third_party/BUILD.bazel | 2 -- toxav/BUILD.bazel | 2 -- toxcore/BUILD.bazel | 2 -- toxencryptsave/BUILD.bazel | 2 -- 14 files changed, 28 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index 4d39dab3..5d442e4d 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,8 +1,6 @@ load("@rules_cc//cc:defs.bzl", "cc_library") load("//tools/project:build_defs.bzl", "project") -package(features = ["layering_check"]) - project() genrule( diff --git a/auto_tests/BUILD.bazel b/auto_tests/BUILD.bazel index d06ec178..2a205250 100644 --- a/auto_tests/BUILD.bazel +++ b/auto_tests/BUILD.bazel @@ -1,7 +1,5 @@ load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") -package(features = ["layering_check"]) - cc_library( name = "check_compat", testonly = True, diff --git a/other/BUILD.bazel b/other/BUILD.bazel index fbf1abfa..253cfcd0 100644 --- a/other/BUILD.bazel +++ b/other/BUILD.bazel @@ -1,8 +1,6 @@ load("@rules_cc//cc:defs.bzl", "cc_binary") load("//tools:no_undefined.bzl", "cc_library") -package(features = ["layering_check"]) - cc_library( name = "bootstrap_node_packets", srcs = ["bootstrap_node_packets.c"], diff --git a/other/bootstrap_daemon/BUILD.bazel b/other/bootstrap_daemon/BUILD.bazel index e1a2e41f..dce64bbe 100644 --- a/other/bootstrap_daemon/BUILD.bazel +++ b/other/bootstrap_daemon/BUILD.bazel @@ -1,7 +1,5 @@ load("@rules_cc//cc:defs.bzl", "cc_binary") -package(features = ["layering_check"]) - cc_binary( name = "bootstrap_daemon", srcs = glob([ diff --git a/other/bootstrap_daemon/websocket/websockify/BUILD.bazel b/other/bootstrap_daemon/websocket/websockify/BUILD.bazel index a364319f..bfe2fc53 100644 --- a/other/bootstrap_daemon/websocket/websockify/BUILD.bazel +++ b/other/bootstrap_daemon/websocket/websockify/BUILD.bazel @@ -1,7 +1,5 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") -package(features = ["-layering_check"]) - go_library( name = "go_default_library", srcs = ["websockify.go"], diff --git a/other/fun/BUILD.bazel b/other/fun/BUILD.bazel index 7a489f86..6ff96dbc 100644 --- a/other/fun/BUILD.bazel +++ b/other/fun/BUILD.bazel @@ -1,7 +1,5 @@ load("@rules_cc//cc:defs.bzl", "cc_binary") -package(features = ["layering_check"]) - #cc_binary( # name = "cracker", # testonly = 1, diff --git a/other/proxy/BUILD.bazel b/other/proxy/BUILD.bazel index aa17c6d2..a63593fd 100644 --- a/other/proxy/BUILD.bazel +++ b/other/proxy/BUILD.bazel @@ -1,7 +1,5 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") -package(features = ["layering_check"]) - go_library( name = "go_default_library", srcs = ["proxy_server.go"], diff --git a/super_donators/BUILD.bazel b/super_donators/BUILD.bazel index 353e34af..f268d5d5 100644 --- a/super_donators/BUILD.bazel +++ b/super_donators/BUILD.bazel @@ -1,7 +1,5 @@ load("@rules_cc//cc:defs.bzl", "cc_binary") -package(features = ["layering_check"]) - cc_binary( name = "grencez_tok5", srcs = ["grencez_tok5.c"], diff --git a/testing/BUILD.bazel b/testing/BUILD.bazel index 4f275033..52a77862 100644 --- a/testing/BUILD.bazel +++ b/testing/BUILD.bazel @@ -1,7 +1,5 @@ load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") -package(features = ["layering_check"]) - CIMPLE_FILES = [ "//c-toxcore/toxav:cimple_files", "//c-toxcore/toxcore:cimple_files", diff --git a/testing/fuzzing/BUILD.bazel b/testing/fuzzing/BUILD.bazel index 7144954b..2aada411 100644 --- a/testing/fuzzing/BUILD.bazel +++ b/testing/fuzzing/BUILD.bazel @@ -2,8 +2,6 @@ load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") load("@rules_fuzzing//fuzzing:cc_defs.bzl", "cc_fuzz_test") load("@rules_fuzzing//fuzzing/private:binary.bzl", "fuzzing_binary") # buildifier: disable=bzl-visibility -package(features = ["layering_check"]) - cc_library( name = "fuzz_support", srcs = [ diff --git a/third_party/BUILD.bazel b/third_party/BUILD.bazel index 97f4d09f..7a004d8a 100644 --- a/third_party/BUILD.bazel +++ b/third_party/BUILD.bazel @@ -1,7 +1,5 @@ load("//tools:no_undefined.bzl", "cc_library") -package(features = ["layering_check"]) - cc_library( name = "cmp", srcs = ["cmp/cmp.c"], diff --git a/toxav/BUILD.bazel b/toxav/BUILD.bazel index ca88f133..f9a669e1 100644 --- a/toxav/BUILD.bazel +++ b/toxav/BUILD.bazel @@ -1,8 +1,6 @@ load("@rules_cc//cc:defs.bzl", "cc_test") load("//tools:no_undefined.bzl", "cc_library") -package(features = ["layering_check"]) - exports_files( srcs = ["toxav.h"], visibility = ["//c-toxcore:__pkg__"], diff --git a/toxcore/BUILD.bazel b/toxcore/BUILD.bazel index 4701cf43..9cf548c6 100644 --- a/toxcore/BUILD.bazel +++ b/toxcore/BUILD.bazel @@ -2,8 +2,6 @@ load("@rules_cc//cc:defs.bzl", "cc_test") load("@rules_fuzzing//fuzzing:cc_defs.bzl", "cc_fuzz_test") load("//tools:no_undefined.bzl", "cc_library") -package(features = ["layering_check"]) - exports_files( srcs = ["tox.h"], visibility = ["//c-toxcore:__pkg__"], diff --git a/toxencryptsave/BUILD.bazel b/toxencryptsave/BUILD.bazel index bbd5e0ee..917d9c00 100644 --- a/toxencryptsave/BUILD.bazel +++ b/toxencryptsave/BUILD.bazel @@ -1,7 +1,5 @@ load("//tools:no_undefined.bzl", "cc_library") -package(features = ["layering_check"]) - exports_files( srcs = ["toxencryptsave.h"], visibility = ["//c-toxcore:__pkg__"],