summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author ThiƩbaud Weksteen <tweek@google.com> 2023-09-21 16:34:06 +1000
committer ThiƩbaud Weksteen <tweek@google.com> 2023-09-27 12:32:31 +1000
commite09b6f3aa096d315bdb922e3ced6b33dad7376b7 (patch)
treebbe6ae6e11cfdc28cd44037544d80c2b33b8f4b2 /api/api.go
parent9cb671cd464a34b2488055adab5d273e50af658c (diff)
enforce_permission_counter: Find targets automatically
The target list of enforce_permission_counter can be reconstructed based on the dependencies of the "services" module. Add the ability to soong_lint_fix to collect and parse module_bp_java_deps.json which contains the dependency list. SoongLintFix is split into 2 classes: SoongWrapper and SoongLintFix. The former is used as a general wrapper to invoke Soong and parse the module files. The latter, a subclass of SoongWrapper, contains the calls to the different steps. The building and loading of module-info.json and module_bp_java_deps.json is now done dynamically whenever required. Bug: 298285238 Test: enforce_permission_counter Test: lint_fix --no-fix --check AnnotatedAidlCounter --lint-module AndroidUtilsLintChecker services.autofill Change-Id: I781e9cdf80feb4c4d480673e044d526c528f8412
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions