Adds a configuration to the project. Args: name: Configuration name. attrs: Dict of configuration attributes; may be None. tools: List of tools (strings or Tool objects); may be None.
(self, name, attrs=None, tools=None)
| 120 | return specification |
| 121 | |
| 122 | def AddConfig(self, name, attrs=None, tools=None): |
| 123 | """Adds a configuration to the project. |
| 124 | |
| 125 | Args: |
| 126 | name: Configuration name. |
| 127 | attrs: Dict of configuration attributes; may be None. |
| 128 | tools: List of tools (strings or Tool objects); may be None. |
| 129 | """ |
| 130 | spec = self._GetSpecForConfiguration("Configuration", name, attrs, tools) |
| 131 | self.configurations_section.append(spec) |
| 132 | |
| 133 | def _AddFilesToNode(self, parent, files): |
| 134 | """Adds files and/or filters to the parent node. |
no test coverage detected