Use rules_cc instead of native cc_library rules.

This commit is contained in:
iphydf 2020-03-12 12:20:54 +00:00
parent 64bf3695d9
commit e671490989
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
9 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,4 @@
load("@rules_cc//cc:defs.bzl", "cc_library")
load("//tools/project:build_defs.bzl", "project")
project()

View File

@ -1,3 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
cc_library(
name = "check_compat",
testonly = True,

View File

@ -1,3 +1,4 @@
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("//tools:no_undefined.bzl", "cc_library")
cc_library(

View File

@ -1,3 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_binary")
cc_binary(
name = "bootstrap_daemon",
srcs = glob([

View File

@ -1,3 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_binary")
cc_binary(
name = "cracker",
srcs = ["cracker.c"],

View File

@ -1,3 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_binary")
cc_binary(
name = "grencez_tok5",
srcs = ["grencez_tok5.c"],

View File

@ -1,3 +1,4 @@
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("//tools:no_undefined.bzl", "cc_library")
cc_library(

View File

@ -1,3 +1,4 @@
load("@rules_cc//cc:defs.bzl", "cc_test")
load("//tools:no_undefined.bzl", "cc_library")
filegroup(

View File

@ -1,3 +1,4 @@
load("@rules_cc//cc:defs.bzl", "cc_test")
load("//tools:no_undefined.bzl", "cc_library")
filegroup(