-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reimplement
cquery --output=streamed_proto
.
- The current state of the output formats of cquery has a few forms now: - (UNCHANGED) cquery --output=proto|jsonproto|textproto --proto:include_configurations: A single CqueryResult of the specified --output format. - (NEW) cquery --output=streamed_proto --proto:include_configurations: Multiple length-delimited CqueryResult protos each containing a single ConfiguredTarget or Configuration. - (UNCHANGED) cquery --output=proto|jsonproto|textproto --noproto:include_configurations: A single QueryResult containing the corresponding Target(s) in the specified format. - (NEW) cquery --output=streamed_proto --noproto:include_configurations: Multiple length-delimited QueryResult protos each containing a single Target. - Added tests to ensure that all 4 (proto, jsonproto, textproto, streamed_proto) output formats are equivalent. PiperOrigin-RevId: 546794430 Change-Id: Ia027f070d008bfb721d88ff928392ebd5e694cd1
- Loading branch information
1 parent
7845aca
commit aa88357
Showing
5 changed files
with
260 additions
and
39 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
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
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
Oops, something went wrong.