commit | 720253dc96d6d6b48b5490d6f0dbb8e9e8bc69c6 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Tue Jan 05 19:13:17 2021 +0900 |
committer | Jooyung Han <jooyung@google.com> | Thu Jan 07 00:58:00 2021 +0000 |
tree | 9942f549a5d5f2687856699f4a20d75a584afa6a | |
parent | e9f5b27426f1d3ae2e82404ac488cba4a2dd8d5e [diff] |
Emit "deprecated" We've supported /** @deprecated note */ but it's passed to only the Java backend as it is (as comments). Now the deprecation is emitted properly according to the backend types. - Java: @Deprecated + /** @deprecated note */ - C++/NDK: __attribute__((deprecated(note)) - Rust: #[deprecated = note] For now, "note" is only available for the Java backend. Supporting deprecation notes will be followed. Bug: 174514415 Test: aidl_unittests / aidl_integration_test Change-Id: Iefb216585d884b3195719c82748e573bb08922ab Merged-In: Iefb216585d884b3195719c82748e573bb08922ab Ignore-AOSP-First: topic with internal-only project (packages/services/Car) (cherry picked from commit ea571f8f53f30c08bc1b9a4ea02cb473522cbc9b)
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview