Update git submodules
* Update system/netd from branch 'master'
to 85ae4b4b12569f7f852660d3fcd4ee1f1c109df8
- update aidl_api
@deprecated in AIDL comments is now respected in aidl_api dumps.
Bug: 174514415
Bug: 177277347
Test: m (adding comments to API dump)
Merged-In: I491f59c3de263bf59a628dead3e6203f3b6b1aff
Change-Id: I491f59c3de263bf59a628dead3e6203f3b6b1aff
(cherry picked from commit 20dec078c19765f9f305e076208555ee325cd49e)
* Update system/tools/aidl from branch 'master'
to 9fd67025d2d8dcf00af1db91ced6c08547e452b9
- dump_api: emits @deprecated in comments
Since @deprecated is an important part of versioned interfaces, we need
to emit them in API dumps so that clients of older versions are warned
when they use deprecated entities.
Bug: 177277347
Test: aidl_unittests
Merged-In: I65c97b85cb4e340d5f3feb3a23dabc078348ce8c
Change-Id: I65c97b85cb4e340d5f3feb3a23dabc078348ce8c
(cherry picked from commit ef1039bd8cd2407c470cce1c30ae6941313300c8)
- Emit deprecation note
@deprecated tag in comments can have optional note to explain the
rationale for deprecation and/or to suggest a replacing entity.
/** @deprecated use bar() */
void foo();
In this change, the deprecation note is emitted when specified.
For example, in C++, deprecation note is emitted as following:
void foo() __attribute__((deprecated("use bar()")) ...
Bug: 174514415
Test: aidl_unittests
Merged-In: I271af4d636e755a4d97f60d2daa6528acbe76a4e
Change-Id: I271af4d636e755a4d97f60d2daa6528acbe76a4e
(cherry picked from commit 6ec07c5482939803229445726044457383dbdaa9)
2 files changed