summaryrefslogtreecommitdiff
path: root/compiler/compiled_method.h
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2022-09-30 15:24:32 +0900
committer Jiyong Park <jiyong@google.com> 2022-10-01 12:28:10 +0000
commit1abcef8f7be84ea933bb1f61de01693babdcf549 (patch)
tree8a61602dc89e3d429f7f35d076ebdd036a1f6afd /compiler/compiled_method.h
parent6940a814d9d5724ee715bb9b8d61351fd1923b2b (diff)
Annotate symbols correctly
Currently, tagging a symbol with #apex (# systemapi or # llndk) is not required when the symbol is in a non-NDK library. However, this is considered dangerous because such a symbol will automatically be promoted to NDK APIs when the library is promoted to an NDK library. When that happens, the native API council won't be able to notice the promotion because promoting a non-NDK library into an NDK library doesn't require an update of the map.txt file, but Android.bp only. To prevent that, we should mandate those tags for Mainline APIs regardless of whether the library the API belongs to is an NDK library or not. Upcoming changes in build/soong will enforce this. This change is to prepare for the enforcement. Note that this is a build-time only change. There's no behavior change at runtime. Bug: 184712170 Test: m Test: art/libnativebridge/tests/runtests.sh Change-Id: Id62d9ba60c7611487638102c46d4bc655a81d82e
Diffstat (limited to 'compiler/compiled_method.h')
0 files changed, 0 insertions, 0 deletions