-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add constraint to disable targets known to be broken in oss
Summary: - Enumerate what targets are not buildable in OSS - Unblock making OSS buck2 builds push blocking by suppressing targets that are known to fail Reviewed By: bigfootjon Differential Revision: D64738937 fbshipit-source-id: b53219ce7216136bc966205709189697da62ec7e
- Loading branch information
1 parent
0872efe
commit 5d0aacc
Showing
3 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# | ||
# This source code is licensed under both the MIT license found in the | ||
# LICENSE-MIT file in the root directory of this source tree and the Apache | ||
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory | ||
# of this source tree. | ||
|
||
config_setting( | ||
name = "broken-in-oss", | ||
constraint_values = [ | ||
"//opensource/macros/broken_in_oss/constraints:enable", | ||
], | ||
visibility = ["PUBLIC"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# | ||
# This source code is licensed under both the MIT license found in the | ||
# LICENSE-MIT file in the root directory of this source tree and the Apache | ||
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory | ||
# of this source tree. | ||
|
||
constraint_setting( | ||
name = "broken_in_oss", | ||
visibility = ["PUBLIC"], | ||
) | ||
|
||
constraint_value( | ||
name = "enable", | ||
constraint_setting = ":broken_in_oss", | ||
visibility = ["PUBLIC"], | ||
) | ||
|
||
constraint_value( | ||
name = "disable", | ||
constraint_setting = ":broken_in_oss", | ||
visibility = ["PUBLIC"], | ||
) |