platform_build/tools/aconfig/templates
Mårten Kongstad 00cf045c85 aconfig: restrict valid namespace and flag names
The namespace and flag names will be used as identifiers in the
auto-generated code. Place restrictions on what constitutes a valid
name.

Valid identifiers are those that match /[a-z][a-z0-9_]/. aconfig
explicitly does not implement any automatic translation to make names
valid identifiers: this sidesteps potential conflicts such as "foo.bar"
and "foo_bar" mapping to the same name if dots were translated to
underscores.

Bug: b/284252015
Test: atest aconfig.test
Change-Id: I38d005a74311e5829e540063404d1565071e6e96
2023-05-26 17:09:10 +02:00
..
cpp.template aconfig: Add first iteration of cpp codegen to aconfig 2023-05-17 14:57:58 +00:00
java.template aconfig: restrict valid namespace and flag names 2023-05-26 17:09:10 +02:00
rust.template aconfig: first iteration of Rust codegen 2023-05-25 16:18:59 +02:00