commit | 5721a23745a2c9c9e12387ebb3e9fe8be4de5235 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Thu Dec 24 04:34:55 2020 +0900 |
committer | Jooyung Han <jooyung@google.com> | Fri Dec 25 00:15:47 2020 +0000 |
tree | 01dff14e3e669f2fa4e4ff59f72988532a7140bc | |
parent | 263185317de5fa0c6c783512a0d6da51cc14ced8 [diff] |
Add "required_parameters" to Annotation params Some annotations must have a set of parameters. To model this requirements, the schema for annotations has "required_parameters" now. For example, @Backing for enum types should have "type" parameter even though the annotation itself is optional. AidlAnnotation::CheckValid() checks if there's no missing required parameters. Bug: none Test: aidl_unittests Change-Id: I50d82a1576f62bfdc2f220b66b7475cf74198e53
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview