Skip to content

Commit

Permalink
TARGETS -> BUCK for fizz/extensions
Browse files Browse the repository at this point in the history
Summary:
Start codemodding this

Rough codemod:

```
$ find fbcode/fizz -name BUCK \
  | xargs -I{} sh -c 'if [[ -f $(dirname {})/TARGETS ]]; then hg rm {}; hg mv "$(dirname {})/TARGETS" {} && sed -i "s:^cpp_:fizz_cpp_:" {} && arc buildozer "new_load fbsource//xplat/fizz:defs.bzl fizz_cpp_library fizz_cpp_unittest" "$(dirname {}):__pkg__"; fi' \
  && arc f
```

Reviewed By: bigfootjon

Differential Revision: D67952840

fbshipit-source-id: 214c20ff42f9bf6e76d636c3831c6b30cff4e4d0
  • Loading branch information
mzlee authored and facebook-github-bot committed Jan 10, 2025
1 parent 6f85418 commit c199e9d
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 550 deletions.
2 changes: 2 additions & 0 deletions fizz/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def fizz_cpp_library(
propagated_pp_flags = (),
# fb_xplat API
enable_static_variant = True,
platforms = None,
**kwargs):
"""Translate a simpler declartion into the more complete library target"""
if get_fbsource_cell() == "fbcode":
Expand All @@ -138,6 +139,7 @@ def fizz_cpp_library(
)
fizz_cxx_library(
name = name,
platforms = platforms,
exported_headers = headers,
headers = private_headers,
srcs = srcs,
Expand Down
152 changes: 0 additions & 152 deletions fizz/extensions/delegatedcred/BUCK

This file was deleted.

134 changes: 0 additions & 134 deletions fizz/extensions/delegatedcred/test/BUCK

This file was deleted.

27 changes: 0 additions & 27 deletions fizz/extensions/exportedauth/BUCK

This file was deleted.

22 changes: 0 additions & 22 deletions fizz/extensions/exportedauth/test/BUCK

This file was deleted.

37 changes: 0 additions & 37 deletions fizz/extensions/javacrypto/BUCK

This file was deleted.

Loading

0 comments on commit c199e9d

Please sign in to comment.