summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-22rules: move compiler/flags computation into expressionsKlaus Aehlig
On the one hand, this keeps the rules files more readable. On the other hand, we can even deduplicate code, as those expressions are used twice.
2022-04-22rule ["CC", "header directory"]: drop ill-advised "public stage"Klaus Aehlig
The idea, as documented, of a header directory is to have a directory, closed as a tree, owned by the respective library and internally handled in an efficient way (as a single tree). If we open up that directory, we just have staged data, and therefore should treat it as such.
2022-04-22rule ["data", "staged"]: behave more file likeKlaus Aehlig
... by presenting the data both, as artifacts and as runfiles in the same way as inputs do.
2022-04-07fix a typoAlberto Sartori
2022-03-31rules ["CC", "libray"]: fix doc stringsKlaus Aehlig
... to have consistent punctuation. Also make clear, that the configuration does not have to specify "CC", etc, as usually they are taken from the default target.
2022-03-23Create IDE rule for CC targetsOliver Reiche
2022-03-18Add documentation for the "proto" fields in the CC rulesKlaus Aehlig
2022-03-16Format: Apply compact JSON formattingOliver Reiche
2022-03-14rule CC/test: Introduce TEST_ENV for test runnersOliver Reiche
2022-03-04Add rule ["patch", "file"]Klaus Aehlig
... to patch a single file, logically in place.
2022-03-03CC rules: Disable warnings for protobufOliver Reiche
2022-03-03CC rules: Add support for local cflagsOliver Reiche
2022-03-02Extend shell-test rules to optionally detect flakynessKlaus Aehlig
2022-03-01CC test: Add optional test launcher `CC_TEST_LAUNCHER`Oliver Reiche
2022-02-25rules: Add CC/proto/IDE headersOliver Reiche
... to manually request the generation of headers for CC proto bindings. This is useful for IDEs and needed as implicitly generating those bindings via the `proto` field of CC libraries does not expose the produced headers.
2022-02-23Add shell/test ruleKlaus Aehlig
... allowing to run simple tests given by a shell script.
2022-02-23common rule expression: improve error reportingKlaus Aehlig
... by asserting that "stage_singleton_field" return a non-empty map and providing a meaningful message in the "disjoint_map_union" contained in it.
2022-02-22Initial self-hosting commitKlaus Aehlig
This is the initial version of our tool that is able to build itself. In can be bootstrapped by ./bin/bootstrap.py Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com> Co-authored-by: Victor Moreno <victor.moreno1@huawei.com>