Guess at BUCK and BUILD rules.

This commit is contained in:
Adrian Taylor 2020-08-24 17:58:36 -07:00
parent 593eddb017
commit 7ca810b1e8
2 changed files with 29 additions and 0 deletions

14
BUCK
View File

@ -68,3 +68,17 @@ rust_library(
"//third-party:syn",
],
)
rust_library(
name = "lib",
srcs = glob(["gen/lib/src/**"]),
visibility = ["PUBLIC"],
deps = [
"//third-party:anyhow",
"//third-party:cc",
"//third-party:codespan-reporting",
"//third-party:proc-macro2",
"//third-party:quote",
"//third-party:syn",
],
)

15
BUILD
View File

@ -67,3 +67,18 @@ rust_library(
"//third-party:syn",
],
)
rust_library(
name = "lib",
srcs = glob(["gen/lib/src/**/*.rs"]),
data = ["gen/build/src/gen/include/cxx.h"],
visibility = ["//visibility:public"],
deps = [
"//third-party:anyhow",
"//third-party:cc",
"//third-party:codespan-reporting",
"//third-party:proc-macro2",
"//third-party:quote",
"//third-party:syn",
],
)