Returns the list of directories to be used for #include directives. Arguments: config: The dictionary that defines the special processing to be done for this configuration. Returns: The list of directory paths.
(config)
| 1247 | |
| 1248 | |
| 1249 | def _GetIncludeDirs(config): |
| 1250 | """Returns the list of directories to be used for #include directives. |
| 1251 | |
| 1252 | Arguments: |
| 1253 | config: The dictionary that defines the special processing to be done |
| 1254 | for this configuration. |
| 1255 | Returns: |
| 1256 | The list of directory paths. |
| 1257 | """ |
| 1258 | # TODO(bradnelson): include_dirs should really be flexible enough not to |
| 1259 | # require this sort of thing. |
| 1260 | include_dirs = config.get("include_dirs", []) + config.get( |
| 1261 | "msvs_system_include_dirs", [] |
| 1262 | ) |
| 1263 | midl_include_dirs = config.get("midl_include_dirs", []) + config.get( |
| 1264 | "msvs_system_include_dirs", [] |
| 1265 | ) |
| 1266 | resource_include_dirs = config.get("resource_include_dirs", include_dirs) |
| 1267 | include_dirs = _FixPaths(include_dirs) |
| 1268 | midl_include_dirs = _FixPaths(midl_include_dirs) |
| 1269 | resource_include_dirs = _FixPaths(resource_include_dirs) |
| 1270 | return include_dirs, midl_include_dirs, resource_include_dirs |
| 1271 | |
| 1272 | |
| 1273 | def _GetLibraryDirs(config): |
no test coverage detected