Commit Graph

560 Commits

Author SHA1 Message Date
cpeyser c3f9f8d68f Introduces action_config. Does this by:
1) Introducing the action_config message in the crosstool protobuf definition.  The only part of that definition that are implemented in this CL is the "tool" section, other parts will be implemented in future CLs.  The proto fields are here now to avoid being delayed by release cycles at each step of the implementation.

2) Refactoring the implementation of the "feature algebra" that computes the enabled features for a given toolchain.  An interface called "CrosstoolActivatable" is used to represent any participant int the feature algebra, and can be either a feature or an action_config.

PiperOrigin-RevId: 118943663
2019-01-09 08:50:19 +01:00
cpeyser 7444ecdf28 Changes to crosstool_config.proto to support dsym debug symbol and breakpad file generation.
PiperOrigin-RevId: 115376419
2019-01-09 08:50:08 +01:00
cparsons a4f5b61df4 Extend crosstool configuration to allow features to specify (expandable) environment variables to pass to actions
PiperOrigin-RevId: 111608329
2019-01-09 08:49:57 +01:00
dmarting 04d798b0d8 Rationalize copyright headers
The headers were modified with
`find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'`
And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan.

The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand.

PiperOrigin-RevId: 103938715
2019-01-09 08:49:44 +01:00
klimek 8b16e7c25e Feature configuration: add a field required_variables on flag_sets.
This allows to prevent expansion of flag sets based on whether build variables
are available. If required_variables is not set, and a variable that is
referenced in the flag_set's flags is not available, the build will fail.

We need the new behavior when some input files (for example profile data in
FDO enabled builds) are only available for a subset of the translation units of
a given target.

RELNOTES: None.
PiperOrigin-RevId: 100028996
2019-01-09 08:49:33 +01:00
klimek 7918071584 Allow the feature configuration to support structured build variables of nested
list type.

RELNOTES: None.
PiperOrigin-RevId: 100024899
2019-01-09 08:49:22 +01:00
dmarting 8ac56c2bb2 Enable external contribution on protobufs.
PiperOrigin-RevId: 94079912
2019-01-09 08:49:11 +01:00
dmarting 761d3ab5f4 Automated rollback of commit 50b8a4c4d8.
*** Reason for rollback ***

PiperOrigin-RevId: 92923350
2019-01-09 08:49:00 +01:00
dmarting 50b8a4c4d8 Enable external contribution on protobufs.
PiperOrigin-RevId: 92921722
2019-01-09 08:48:49 +01:00
Florian Weikert 8034bede55 Initial empty repository 2018-12-18 12:36:22 +00:00