platform_build/tools/aconfig
Mårten Kongstad f02734e915 aconfig: add create-device-config-defaults command
DeviceConfig is the backend for READ_WRITE flags.

Add a new command "create-device-config-defaults" to create a file that
DeviceConfig will read to pre-populate its data store on first init.

This will be used to quickly switch flag values during CI tests:
rebuilding and reflashing a device would have the same effect, but would
be costlier. This feature is not expected to be used outside CI tests.

Note: because DeviceConfig only works with READ_WRITE flags, the
generated file excludes READ_ONLY flags.

Bug: 285468565
Test: atest aconfig.test
Change-Id: I4caff1a10647b8da0ce4e3615678993a957a92dd
2023-06-02 16:46:28 +02:00
..
protos aconfig: separate flag declarations and flag values 2023-05-12 08:50:49 +02:00
src aconfig: add create-device-config-defaults command 2023-06-02 16:46:28 +02:00
templates aconfig: restrict valid namespace and flag names 2023-05-26 17:09:10 +02:00
testdata aconfig: restrict valid namespace and flag names 2023-05-26 17:09:10 +02:00
.gitignore aconfig: add support for cargo 2023-05-03 09:41:11 +02:00
Android.bp aconfig: Add codegen for java 2023-05-11 03:08:53 +00:00
build.rs aconfig: add support for cargo 2023-05-03 09:41:11 +02:00
Cargo.toml aconfig: Add codegen for java 2023-05-11 03:08:53 +00:00
MODULE_LICENSE_APACHE2 aconfig: add project scaffolding 2023-05-02 17:36:30 +02:00
OWNERS aconfig: add project scaffolding 2023-05-02 17:36:30 +02:00
PREUPLOAD.cfg aconfig: add project scaffolding 2023-05-02 17:36:30 +02:00
rustfmt.toml aconfig: add project scaffolding 2023-05-02 17:36:30 +02:00