diff options
| author | 2024-08-30 10:45:40 +0000 | |
|---|---|---|
| committer | 2024-09-06 16:13:13 +0000 | |
| commit | 9f5ec6218a11fcd9bc40e94c431338a9870a9e60 (patch) | |
| tree | a710ee7b23784654c1a73ebcd5a584575a2529fa /api/api.go | |
| parent | 92ef098c00eebe545b674ff7e8e91ab8a4957a2b (diff) | |
Add ExemptAidlInterfacesGenerator for PermissionAnnotationDetector
This CL is a prerequisite for migrating PermissionAnnotationDetector to
a global lint check. This will enforce newly added system services to
use @EnforcePermission annotations.
To determine the newly added system services, the global lint check will
use a pre-computed set of existing, i.e. exempt, AIDL interfaces in
AOSP. To compute the set, the CL introduces the following:
* ExemptAidlInterfacesGenerator, the Android Lint check that creates a
set of AIDL Interfaces for a build target.
* generate-exempt-aidl-interfaces.sh, a Bash script that runs the lint
check on the entire source tree and aggregates the results.
Bug: 363248121
Test: ExemptAidlInterfacesGeneratorTest
Flag: EXEMPT lint check
Change-Id: Id700fb74485e63c76bbdb163079dd90b08c100dc
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions