Skip to content

Commit

Permalink
Add a TARGETS file for RE stub
Browse files Browse the repository at this point in the history
Summary: Works open source.

Reviewed By: lmvasquezg

Differential Revision: D40176302

fbshipit-source-id: f7ac0e9122bccaf5979258cec2f4d976511929ad
  • Loading branch information
ndmitchell authored and facebook-github-bot committed Oct 7, 2022
1 parent 85f7b65 commit 9b9ba59
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
3 changes: 2 additions & 1 deletion buck2_execute/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ rust_library(
"//buck2/facebook/test_env_allowlist:test_env_allowlist",
"//buck2/gazebo/gazebo:gazebo",
"//buck2/host_sharing:host_sharing",
"//buck2/remote_execution/internal:remote_execution",
# @oss-disable: "//buck2/remote_execution/internal:remote_execution",
"//buck2/remote_execution/stub:remote_execution", # @oss-enable
"//buck2/shed/more_futures:more_futures",
"//buck2/starlark-rust/starlark_map:starlark_map",
"//common/rust/shed/fbinit:fbinit",
Expand Down
3 changes: 2 additions & 1 deletion buck2_execute_impl/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ rust_library(
"//buck2/buck2_forkserver_proto:buck2_forkserver_proto",
"//buck2/gazebo/gazebo:gazebo",
"//buck2/host_sharing:host_sharing",
"//buck2/remote_execution/internal:remote_execution",
# @oss-disable: "//buck2/remote_execution/internal:remote_execution",
"//buck2/remote_execution/stub:remote_execution", # @oss-enable
"//buck2/shed/more_futures:more_futures",
"//buck2/starlark-rust/starlark_map:starlark_map",
# @oss-disable: "//common/rust/shed/hostname:hostname",
Expand Down
17 changes: 17 additions & 0 deletions remote_execution/stub/TARGETS
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
load("@fbcode_macros//build_defs:rust_library.bzl", "rust_library")
load("@fbsource//tools/build_defs:glob_defs.bzl", "glob")

oncall("buck2")

rust_library(
name = "remote_execution",
srcs = glob(["src/**/*.rs"]),
deps = [
"fbsource//third-party/rust:anyhow",
"fbsource//third-party/rust:futures",
"fbsource//third-party/rust:prost",
"fbsource//third-party/rust:prost-types",
"fbsource//third-party/rust:regex",
"fbsource//third-party/rust:thiserror",
],
)

0 comments on commit 9b9ba59

Please sign in to comment.