Skip to content

Commit 9493daa

Browse files
committed
Remove rules_cc
Signed-off-by: Bili Dong <[email protected]>
1 parent 3c2a2fb commit 9493daa

File tree

6 files changed

+0
-22
lines changed

6 files changed

+0
-22
lines changed

WORKSPACE.bazel

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
5656

5757
grpc_extra_deps()
5858

59-
# -- Load Rules CC -------------------------------------------------------------
60-
# See https://github.com/bazelbuild/rules_cc.
61-
load("@rules_cc//cc:repositories.bzl", "rules_cc_dependencies")
62-
63-
rules_cc_dependencies()
64-
6559
# -- Load Rules Foreign CC (for building Z3) -----------------------------------
6660
# Used for Z3.
6761

p4_constraints/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
2-
load("@rules_cc//cc:cc_library.bzl", "cc_library")
3-
load("@rules_cc//cc:cc_test.bzl", "cc_test")
42
# GOOGLE ONLY (DO NOT REMOVE): load("//third_party/protobuf/bazel:proto_library.bzl", "proto_library")
53

64
load("@rules_proto//proto:defs.bzl", "proto_library")

p4_constraints/backend/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
load("@rules_cc//cc:cc_library.bzl", "cc_library")
2-
load("@rules_cc//cc:cc_test.bzl", "cc_test")
31
load("//e2e_tests:p4check.bzl", "cmd_diff_test")
42

53
package(

p4_constraints/cli/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
2-
31
package(
42
default_visibility = ["//visibility:public"],
53
licenses = ["notice"], # Apache 2.0

p4_constraints/frontend/BUILD.bazel

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
load("@rules_cc//cc:cc_library.bzl", "cc_library")
2-
load("@rules_cc//cc:cc_test.bzl", "cc_test")
3-
41
package(
52
licenses = ["notice"], # Apache 2.0
63
)

p4_constraints_deps.bzl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,6 @@ def p4_constraints_deps():
6464
sha256 = "e3aaefde68b839299cbc988178529535e66048398f7d083b40c69fe0da55f8b7",
6565
build_file = "@//:bazel/BUILD.z3.bazel",
6666
)
67-
if not native.existing_rule("rules_cc"):
68-
http_archive(
69-
name = "rules_cc",
70-
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.16/rules_cc-0.0.16.tar.gz"],
71-
sha256 = "bbf1ae2f83305b7053b11e4467d317a7ba3517a12cef608543c1b1c5bf48a4df",
72-
strip_prefix = "rules_cc-0.0.16",
73-
)
7467
if not native.existing_rule("rules_foreign_cc"): # Required for Z3.
7568
http_archive(
7669
name = "rules_foreign_cc",

0 commit comments

Comments
 (0)