summaryrefslogtreecommitdiff
path: root/tools/aconfig/src/codegen/java.rs
diff options
context:
space:
mode:
author Zhi Dou <zhidou@google.com> 2023-12-18 20:32:55 +0000
committer Zhi Dou <zhidou@google.com> 2023-12-19 16:58:06 +0000
commite8a4ee7288f3db86595d399ee514ec0ed763183f (patch)
tree817d56b894cc16e399192eaaef5eb39d051040d5 /tools/aconfig/src/codegen/java.rs
parentb52465da312523a7491fec3dadeea26bdc834321 (diff)
aconfig: add exported mode in rust codegen
This commit adds exported mode to rust codegen. When the codegen mode is exported 1. only flags with exported: true will be generated 2. the generated getter should be in a read_write format and with default value as false, regardless the original permission and state of the flag This commit adds integration test for rust codegen exported mode. Bug: 316357104 Test: atest aconfig.test aconfig.test_mode.test.rust aconfig.exported_mode.test.rust Change-Id: Ib7dae666e13eb8898289b06d42a4f89326e175c4
Diffstat (limited to 'tools/aconfig/src/codegen/java.rs')
0 files changed, 0 insertions, 0 deletions