Skip to content

Commit

Permalink
Re-sync with internal repository (#830)
Browse files Browse the repository at this point in the history
The internal and external repositories are out of sync. This Pull Request attempts to brings them back in sync by patching the GitHub repository. Please carefully review this patch. You must disable ShipIt for your project in order to merge this pull request. DO NOT IMPORT this pull request. Instead, merge it directly on GitHub using the MERGE BUTTON. Re-enable ShipIt after merging.
  • Loading branch information
facebook-github-bot authored Jan 3, 2025
1 parent ef83d58 commit 51146bf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion prelude/.buckconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ config = ovr_config

[buildfile]
[not_buildfile] # @oss-enable
name = TARGETS
name_v2 = TARGETS.v2,TARGETS,BUCK.v2,BUCK
2 changes: 1 addition & 1 deletion prelude/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ prelude.filegroup(
prelude.genrule(
name = "copy_android_constraint",
out = "BUCK.v2",
cmd = "cp $(location prelude//android/constraints:files)/TARGETS.v2 $OUT",
cmd = "cp $(location prelude//android/constraints:files)/BUCK.v2 $OUT",
visibility = ["PUBLIC"],
)

Expand Down
3 changes: 1 addition & 2 deletions prelude/platforms/BUCK.v2
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ prelude.constraint_value(
# execution configuration, but that's not implemented yet.
export_file(
name = "fat_platform_incompatible",
src = "BUCK.v2", # @oss-enable
# @oss-disable: src = "TARGETS.v2",
src = "BUCK.v2",
target_compatible_with = select({
":fat_platform_enabled": ["config//:none"],
"DEFAULT": [],
Expand Down
5 changes: 0 additions & 5 deletions prelude/python/tools/make_par/BUCK
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# META INTERNAL NOTES:
# If this file is changed open source it will probably not import correctly,
# as it is the only `TARGETS` (not `TARGETS.v2`) in the prelude.
# Configuring the tools to do it right seemed more dangerous than just having a caveat on this one file.

load("@prelude//utils:source_listing.bzl", "source_listing")

oncall("build_infra")
Expand Down

0 comments on commit 51146bf

Please sign in to comment.