mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2025-03-04 22:37:39 +00:00
Wrap run_binary args
This commit is contained in:
parent
5a3ddf1f0e
commit
73d129dfd9
@ -11,7 +11,12 @@ def rust_cxx_bridge(
|
||||
name = "%s/header" % name,
|
||||
srcs = [src],
|
||||
outs = [src + ".h"],
|
||||
args = ["$(location %s)" % src, "-o", "$(location %s.h)" % src, "--header"],
|
||||
args = [
|
||||
"$(location %s)" % src,
|
||||
"-o",
|
||||
"$(location %s.h)" % src,
|
||||
"--header",
|
||||
],
|
||||
tool = "//:codegen",
|
||||
)
|
||||
|
||||
@ -19,7 +24,11 @@ def rust_cxx_bridge(
|
||||
name = "%s/source" % name,
|
||||
srcs = [src],
|
||||
outs = [src + ".cc"],
|
||||
args = ["$(location %s)" % src, "-o", "$(location %s.cc)" % src],
|
||||
args = [
|
||||
"$(location %s)" % src,
|
||||
"-o",
|
||||
"$(location %s.cc)" % src,
|
||||
],
|
||||
tool = "//:codegen",
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user