forked from google/robotstxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
40 lines (34 loc) · 768 Bytes
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package(default_visibility = ["//visibility:public"])
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test")
licenses(["notice"])
exports_files(["LICENSE"])
cc_library(
name = "robots",
srcs = [
"robots.cc",
],
hdrs = [
"robots.h",
],
deps = [
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/container:fixed_array",
"@com_google_absl//absl/strings",
],
)
cc_test(
name = "robots_test",
srcs = ["robots_test.cc"],
deps = [
":robots",
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest_main",
],
)
cc_binary(
name = "robots_main",
srcs = ["robots_main.cc"],
deps = [
":robots",
],
)