This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test dependency stack is printed in query rdeps
Summary: Just to be safe that dependency stacks are available in `buck query`. Reviewed By: philipjameson shipit-source-id: bf1d0629dc
- Loading branch information
1 parent
29afa77
commit 5b33560
Showing
3 changed files
with
55 additions
and
0 deletions.
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
Empty file.
40 changes: 40 additions & 0 deletions
40
test/com/facebook/buck/cli/testdata/query_command_configurations/BUCK.fixture
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,40 @@ | ||
constraint_setting( | ||
name = "color", | ||
) | ||
|
||
constraint_value( | ||
name = "red-c", | ||
constraint_setting = ":color", | ||
) | ||
|
||
config_setting( | ||
name = "red", | ||
constraint_values = [ | ||
":red-c", | ||
], | ||
) | ||
|
||
java_library( | ||
name = "a", | ||
compatible_with = [ | ||
":red", | ||
], | ||
deps = select({ | ||
":red": [], | ||
"DEFAULT": [], | ||
}), | ||
) | ||
|
||
java_library( | ||
name = "b", | ||
deps = [ | ||
":a", | ||
], | ||
) | ||
|
||
java_library( | ||
name = "c", | ||
deps = [ | ||
":b", | ||
], | ||
) |