Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Functions | |
parse_runtime_deps (runtime_deps) | |
resolve_paths (root, initial_paths) | |
expand_dir (path) | |
replace_output (resolved, output_path) | |
main () | |
Variables | |
dict | EXCLUDE_DIRS |
Tool for converting GN runtime_deps to CAS archive paths.
testing.tools.generate_cas_paths.expand_dir | ( | path | ) |
Explicitly expands directory if any children are excluded.
Definition at line 53 of file generate_cas_paths.py.
Referenced by testing.tools.generate_cas_paths.resolve_paths().
testing.tools.generate_cas_paths.main | ( | ) |
Definition at line 85 of file generate_cas_paths.py.
References testing.tools.generate_cas_paths.main(), testing.tools.generate_cas_paths.parse_runtime_deps(), testing.tools.generate_cas_paths.replace_output(), and testing.tools.generate_cas_paths.resolve_paths().
Referenced by testing.tools.generate_cas_paths.main().
testing.tools.generate_cas_paths.parse_runtime_deps | ( | runtime_deps | ) |
Parses GN's `runtime_deps` format.
Definition at line 21 of file generate_cas_paths.py.
Referenced by testing.tools.generate_cas_paths.main().
testing.tools.generate_cas_paths.replace_output | ( | resolved, | |
output_path ) |
Atomically replaces the output with the resolved JSON if changed.
Definition at line 67 of file generate_cas_paths.py.
References open().
Referenced by testing.tools.generate_cas_paths.main().
testing.tools.generate_cas_paths.resolve_paths | ( | root, | |
initial_paths ) |
Converts paths to CAS archive paths format.
Definition at line 27 of file generate_cas_paths.py.
References testing.tools.generate_cas_paths.expand_dir(), and map.
Referenced by testing.tools.generate_cas_paths.main().
dict testing.tools.generate_cas_paths.EXCLUDE_DIRS |
Definition at line 15 of file generate_cas_paths.py.