Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
ninja_metrics_proto/ | 14-Jan-2024 | - | 79 | 53 | ||
Android.bp | D | 14-Jan-2024 | 474 | 24 | 22 | |
OWNERS | D | 14-Jan-2024 | 79 | 4 | 4 | |
README.md | D | 14-Jan-2024 | 682 | 22 | 19 | |
collect_ninja_inputs.py | D | 14-Jan-2024 | 3.3 KiB | 94 | 63 |
README.md
1 2`./development/tools/ninja_dependency_analysis/collect_inputs.py -n <ninja binary> -f <ninja file> -t <target> -e <exempted_files> -r <repo project file> or -m <repo manifest file>` 3 4For example 5`./development/tools/ninja_dependency_analysis/collect_inputs.py -n prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-aosp_cf_x86_64_phone.ninja -t vendorimage -e development/tools/ninja_dependency_analysis/exempted_files -r .repo/project.list` 6 7Output: 8``` 9{ 10 "inputs": [ 11 "foo/my.java", 12 "foo/my2.java", 13 "bar/my.cpp" 14 ], 15 "project_count": { 16 "foo": 2, 17 "bar": 1 18 }, 19 "total_project_count": 2, 20 "total_input_count": 3 21} 22```