Skip to content

Commit

Permalink
cleanup: Remove explicit layering_check feature.
Browse files Browse the repository at this point in the history
It's default in .bazelrc now.
  • Loading branch information
iphydf committed Nov 23, 2023
1 parent d390947 commit 7cfe35d
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 28 deletions.
2 changes: 0 additions & 2 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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(
Expand Down
2 changes: 0 additions & 2 deletions auto_tests/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 0 additions & 2 deletions other/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down
2 changes: 0 additions & 2 deletions other/bootstrap_daemon/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_binary")

package(features = ["layering_check"])

cc_binary(
name = "bootstrap_daemon",
srcs = glob([
Expand Down
2 changes: 0 additions & 2 deletions other/bootstrap_daemon/websocket/websockify/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down
2 changes: 0 additions & 2 deletions other/fun/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_binary")

package(features = ["layering_check"])

#cc_binary(
# name = "cracker",
# testonly = 1,
Expand Down
2 changes: 0 additions & 2 deletions other/proxy/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down
2 changes: 0 additions & 2 deletions super_donators/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down
2 changes: 0 additions & 2 deletions testing/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 0 additions & 2 deletions testing/fuzzing/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
2 changes: 0 additions & 2 deletions third_party/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
load("//tools:no_undefined.bzl", "cc_library")

package(features = ["layering_check"])

cc_library(
name = "cmp",
srcs = ["cmp/cmp.c"],
Expand Down
2 changes: 0 additions & 2 deletions toxav/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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__"],
Expand Down
2 changes: 0 additions & 2 deletions toxcore/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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__"],
Expand Down
2 changes: 0 additions & 2 deletions toxencryptsave/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
load("//tools:no_undefined.bzl", "cc_library")

package(features = ["layering_check"])

exports_files(
srcs = ["toxencryptsave.h"],
visibility = ["//c-toxcore:__pkg__"],
Expand Down

0 comments on commit 7cfe35d

Please sign in to comment.