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 4d39dab333..5d442e4d67 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 d06ec17869..2a2052508d 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 fbf1abfa7b..253cfcd0bc 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 e1a2e41f44..dce64bbe56 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 a364319f6c..bfe2fc53b5 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 7a489f8616..6ff96dbc14 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 aa17c6d237..a63593fd8b 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 353e34af15..f268d5d5a0 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 4f275033ac..52a77862ba 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 7144954b16..2aada41178 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 97f4d09f66..7a004d8ab4 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 ca88f1334a..f9a669e15d 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 4701cf437d..9cf548c662 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 bbd5e0ee88..917d9c007e 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__"],