3
0
Fork 0
android_frameworks_base/tools/systemfeatures
Jared Duke 568adec5ac Add a method to get all compile-time available system features
This method is really only useful for SystemConfig, where we currently
parse available/unavailable features from the image. The method
lets us seed the SystemConfig available feature set with those defined
and compiled into the framework.

Flag: EXEMPT tool update
Test: atest systemfeatures-gen-tests systemfeatures-gen-golden-tests
Bug: 203143243
Change-Id: I627464b5a9d50137270d5658f7c4ca6b1d1f8cfe
2024-09-20 21:39:06 +00:00
..
src/com/android/systemfeatures Add a method to get all compile-time available system features 2024-09-20 21:39:06 +00:00
tests Add a method to get all compile-time available system features 2024-09-20 21:39:06 +00:00
Android.bp Refine systemfeature codegen behavior 2024-09-20 21:09:25 +00:00
OWNERS
README.md

README.md

Build-time system feature support

Overview

System features exposed from PackageManager are defined and aggregated as <feature> xml attributes across various partitions, and are currently queried at runtime through the framework. This directory contains tooling that will support build-time queries of select system features, enabling optimizations like code stripping and conditionally dependencies when so configured.

TODO(b/203143243): Expand readme after landing codegen.