diff options
| author | 2023-12-19 19:39:22 +0000 | |
|---|---|---|
| committer | 2023-12-19 20:28:23 +0000 | |
| commit | 80040d2d2c540b975a024fb484239d0ea8818340 (patch) | |
| tree | 18e12cb11cf0ae70fbbada8a78175a400c4a481c /tools/aconfig/src/codegen/java.rs | |
| parent | 8351b782341bc4c9a08a82a47fae504386b5889c (diff) | |
aconfig: modify_parsed_flags_based_on_mode return Result
This commit changes modify_parsed_flags_based_on_mode to return Result
instead of vector. This change will have two consequences.
1. Error will be thrown if no flags fit into the current codegen mode
2. Error will be thrown if the flag declaration is empty
Bug: 311152507
Test: atest aconfig.test
Change-Id: I69b9a84312faed9f757bf3974b3cea49c5c5e285
Diffstat (limited to 'tools/aconfig/src/codegen/java.rs')
0 files changed, 0 insertions, 0 deletions