Skip to content

Commit

Permalink
[antlir] remove thrift macros
Browse files Browse the repository at this point in the history
Summary: Antlir does not use these. MetalOS will provide its own

Test Plan: testhard

Reviewed By: naveedgol

Differential Revision: D59768119

fbshipit-source-id: 813e1c576d17afd50822acd784f37f10b03e3d9a
  • Loading branch information
vmagro authored and facebook-github-bot committed Jul 16, 2024
1 parent e089e1f commit b033842
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion antlir/bzl/build_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,3 @@ third_party = struct(
source = shim.third_party.source,
libraries = _third_party_libraries,
)
thrift_library = shim.thrift_library
4 changes: 0 additions & 4 deletions antlir/bzl/build_defs_impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,6 @@ def _rust_python_extension(name: str, **kwargs):
)
print("TODO: rust_python_extension")

def _thrift_library(**kwargs):
fail("not implemented")

### BEGIN COPY-PASTA (@fbcode_macros//build_defs/lib:target_utils.bzl)
def _parse_target(target, default_repo = None, default_base_path = None):
if target.count(":") != 1:
Expand Down Expand Up @@ -290,7 +287,6 @@ shim = struct(
rust_library = _rust_library,
rust_python_extension = _rust_python_extension,
rust_unittest = _rust_unittest,
thrift_library = _thrift_library,
#
# Utility functions
#
Expand Down

0 comments on commit b033842

Please sign in to comment.