commit | 13f1fa51f344e006a87b4823bc6a1325fb5ae461 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Fri Jun 11 18:06:12 2021 +0900 |
committer | Jooyung Han <jooyung@google.com> | Wed Jun 16 00:01:05 2021 +0000 |
tree | 16497a8f11c28d2d8a74fd382387b3ba5bb3ceff | |
parent | f886f98554afaaadab92f3025f67a96e3e4d21f1 [diff] |
Refactor: type resolution done in Scope Type resolution should be based on "scope". Previously, the compiler didn't consider its scope and just look it up in the known types. This caused unnessary complication regarding "preprocessed types" such as "prefer import over preprocssed". Now "name resolution" is done in its scope and AidlTypenames don't have to guess what type it is. (It just looks up fully-qualified names.) For legacy reasons, preprocessed unstructured parcelable types can still be resolved with unqualified names. Bug: 182508839 Test: aidl_unittests Change-Id: I65b6e2e01bd354b3f0a4027d039a8ef3679ebe6f
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview