mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 07:10:29 +00:00
Guess at BUCK and BUILD rules.
This commit is contained in:
parent
593eddb017
commit
7ca810b1e8
14
BUCK
14
BUCK
@ -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
15
BUILD
@ -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",
|
||||
],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user