Take inputs with actions attached out of the list of exclusions. Arguments: excluded_sources: list of source files not to be built. actions_to_add: dict of actions keyed on source file they're attached to. Returns: excluded_sources with files that have actions attached rem
(excluded_sources, actions_to_add)
| 942 | |
| 943 | |
| 944 | def _FilterActionsFromExcluded(excluded_sources, actions_to_add): |
| 945 | """Take inputs with actions attached out of the list of exclusions. |
| 946 | |
| 947 | Arguments: |
| 948 | excluded_sources: list of source files not to be built. |
| 949 | actions_to_add: dict of actions keyed on source file they're attached to. |
| 950 | Returns: |
| 951 | excluded_sources with files that have actions attached removed. |
| 952 | """ |
| 953 | must_keep = OrderedSet(_FixPaths(actions_to_add.keys())) |
| 954 | return [s for s in excluded_sources if s not in must_keep] |
| 955 | |
| 956 | |
| 957 | def _GetDefaultConfiguration(spec): |
no test coverage detected