diff options
| author | 2024-09-20 17:05:02 +0000 | |
|---|---|---|
| committer | 2024-09-20 21:09:25 +0000 | |
| commit | 90e4363c0853de6814875a32f0c9d5343ec5d752 (patch) | |
| tree | 9b3900b947b5c6d1ae410691822cfbbe92fd0cb2 /libs/androidfw/AssetsProvider.cpp | |
| parent | bc7a8588e027698ad676599d3e88f26d3465b5cc (diff) | |
Refine systemfeature codegen behavior
Tweak the semantics of codegen tool feature version args, such that a
`--feature=$FEATURE:$VERSION` arg has the following $VERSION semantics:
* "" == undefined (runtime API)
* valid int == enabled (compile-time API)
* "UNAVAILABLE" == disabled (compile-time API)
This will simplify how feature args get collected from build flags, and
also aligns with terminology used elsewhere for explicitly disabling
features via the "<unavailable-feature />" tag.
Bug: 203143243
Test: atest systemfeatures-gen-tests systemfeatures-gen-golden-tests
Flag: EXEMPT refactor
Change-Id: I502d455effbe4b81794a5f529406b8b68ac2b372
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions