Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-12-23 | Add a simple metadata class option for system feature codegen | ||
Add a `metadata_only` arg to the java_system_features_srcs rule to optionally generate a very slimmed down output that maps feature names to their new method names in the generated API surface. This is useful for tooling like errorprone/lint to ensure any fixes are correct, without pulling in the full codegen API surface. Bug: 203143243 Test: m Flag: build.RELEASE_USE_SYSTEM_FEATURE_BUILD_FLAGS Change-Id: Ic9ec70d09cf2cfb11f9de939305dfa67ee4e28ae | |||
2024-11-19 | Introduce a java_system_features_srcs wrapper for codegen | ||
Use soong to aggregate all system feature-related build flags as input to the existing system feature codegen tool. Use this instead of the more clumsy raw genrule variant. This is an effective no-op in terms of generated code or framework impact, but should improve maintainability. Test: m --no-skip-soong-tests Bug: 203143243 Change-Id: I67158dd6f0454556f8d75685cfc86a68b3e47089 |