Skip to content

Commit

Permalink
Allow us to move the proto files outside of fbcode (#4417)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #4417

Allow `rust_protobuf_library` to take in a target or a source. This is an effort to move proto files to a standard, shareable location. The decision was made to make users of this macro to explicitly define the export file if they needed.

Reviewed By: ndmitchell, huydhn

Differential Revision: D60187261
  • Loading branch information
Adam Cantrowitz authored and facebook-github-bot committed Jul 31, 2024
1 parent 6bfefa8 commit a2db7b8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions shim/shims.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,6 @@ def rust_protobuf_library(
] + (deps or []),
)

# For python tests only
for proto in protos:
prelude.export_file(
name = proto,
visibility = ["PUBLIC"],
)

def ocaml_binary(
deps = [],
visibility = ["PUBLIC"],
Expand Down

0 comments on commit a2db7b8

Please sign in to comment.