xref: /aosp_15_r20/frameworks/base/tools/systemfeatures/README.md (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1*d57664e9SAndroid Build Coastguard Worker# Build-time system feature support
2*d57664e9SAndroid Build Coastguard Worker
3*d57664e9SAndroid Build Coastguard Worker## Overview
4*d57664e9SAndroid Build Coastguard Worker
5*d57664e9SAndroid Build Coastguard WorkerSystem features exposed from `PackageManager` are defined and aggregated as
6*d57664e9SAndroid Build Coastguard Worker`<feature>` xml attributes across various partitions, and are currently queried
7*d57664e9SAndroid Build Coastguard Workerat runtime through the framework. This directory contains tooling that will
8*d57664e9SAndroid Build Coastguard Workersupport *build-time* queries of select system features, enabling optimizations
9*d57664e9SAndroid Build Coastguard Workerlike code stripping and conditionally dependencies when so configured.
10*d57664e9SAndroid Build Coastguard Worker
11*d57664e9SAndroid Build Coastguard Worker### TODO(b/203143243): Expand readme after landing codegen.
12