summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-03-12 12:20:54 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-03-12 12:20:54 +0000
commite6714909898d7e5fe6b35b6d109e584e6c5858b0 (patch)
tree5531ce336f78f2cb2da2249b60c421dc81a07889
parent64bf3695d99688ad0967bdba2207c46845a3e8c2 (diff)
Use rules_cc instead of native cc_library rules.
-rw-r--r--BUILD.bazel1
-rw-r--r--auto_tests/BUILD.bazel2
-rw-r--r--other/BUILD.bazel1
-rw-r--r--other/bootstrap_daemon/BUILD.bazel2
-rw-r--r--other/fun/BUILD.bazel2
-rw-r--r--super_donators/BUILD.bazel2
-rw-r--r--testing/BUILD.bazel1
-rw-r--r--toxav/BUILD.bazel1
-rw-r--r--toxcore/BUILD.bazel1
9 files changed, 13 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
index 6158551e..5b644fee 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -1,3 +1,4 @@
1load("@rules_cc//cc:defs.bzl", "cc_library")
1load("//tools/project:build_defs.bzl", "project") 2load("//tools/project:build_defs.bzl", "project")
2 3
3project() 4project()
diff --git a/auto_tests/BUILD.bazel b/auto_tests/BUILD.bazel
index 5a1ae10e..9cb689cb 100644
--- a/auto_tests/BUILD.bazel
+++ b/auto_tests/BUILD.bazel
@@ -1,3 +1,5 @@
1load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
2
1cc_library( 3cc_library(
2 name = "check_compat", 4 name = "check_compat",
3 testonly = True, 5 testonly = True,
diff --git a/other/BUILD.bazel b/other/BUILD.bazel
index d0fcf850..63652181 100644
--- a/other/BUILD.bazel
+++ b/other/BUILD.bazel
@@ -1,3 +1,4 @@
1load("@rules_cc//cc:defs.bzl", "cc_binary")
1load("//tools:no_undefined.bzl", "cc_library") 2load("//tools:no_undefined.bzl", "cc_library")
2 3
3cc_library( 4cc_library(
diff --git a/other/bootstrap_daemon/BUILD.bazel b/other/bootstrap_daemon/BUILD.bazel
index 631a473e..0f38085d 100644
--- a/other/bootstrap_daemon/BUILD.bazel
+++ b/other/bootstrap_daemon/BUILD.bazel
@@ -1,3 +1,5 @@
1load("@rules_cc//cc:defs.bzl", "cc_binary")
2
1cc_binary( 3cc_binary(
2 name = "bootstrap_daemon", 4 name = "bootstrap_daemon",
3 srcs = glob([ 5 srcs = glob([
diff --git a/other/fun/BUILD.bazel b/other/fun/BUILD.bazel
index f66aab25..584c2a83 100644
--- a/other/fun/BUILD.bazel
+++ b/other/fun/BUILD.bazel
@@ -1,3 +1,5 @@
1load("@rules_cc//cc:defs.bzl", "cc_binary")
2
1cc_binary( 3cc_binary(
2 name = "cracker", 4 name = "cracker",
3 srcs = ["cracker.c"], 5 srcs = ["cracker.c"],
diff --git a/super_donators/BUILD.bazel b/super_donators/BUILD.bazel
index 806f72b0..f268d5d5 100644
--- a/super_donators/BUILD.bazel
+++ b/super_donators/BUILD.bazel
@@ -1,3 +1,5 @@
1load("@rules_cc//cc:defs.bzl", "cc_binary")
2
1cc_binary( 3cc_binary(
2 name = "grencez_tok5", 4 name = "grencez_tok5",
3 srcs = ["grencez_tok5.c"], 5 srcs = ["grencez_tok5.c"],
diff --git a/testing/BUILD.bazel b/testing/BUILD.bazel
index 2c26350f..0db8afa1 100644
--- a/testing/BUILD.bazel
+++ b/testing/BUILD.bazel
@@ -1,3 +1,4 @@
1load("@rules_cc//cc:defs.bzl", "cc_binary")
1load("//tools:no_undefined.bzl", "cc_library") 2load("//tools:no_undefined.bzl", "cc_library")
2 3
3cc_library( 4cc_library(
diff --git a/toxav/BUILD.bazel b/toxav/BUILD.bazel
index 865c0545..79dbd12d 100644
--- a/toxav/BUILD.bazel
+++ b/toxav/BUILD.bazel
@@ -1,3 +1,4 @@
1load("@rules_cc//cc:defs.bzl", "cc_test")
1load("//tools:no_undefined.bzl", "cc_library") 2load("//tools:no_undefined.bzl", "cc_library")
2 3
3filegroup( 4filegroup(
diff --git a/toxcore/BUILD.bazel b/toxcore/BUILD.bazel
index 2fe951ac..2a9b4ff2 100644
--- a/toxcore/BUILD.bazel
+++ b/toxcore/BUILD.bazel
@@ -1,3 +1,4 @@
1load("@rules_cc//cc:defs.bzl", "cc_test")
1load("//tools:no_undefined.bzl", "cc_library") 2load("//tools:no_undefined.bzl", "cc_library")
2 3
3filegroup( 4filegroup(