aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2022-09-26 22:14:32 +0900
committerJiyong Park <jiyong@google.com>2022-09-26 22:14:32 +0900
commit08b703261f5d9a044bb9cb9234a332260736af39 (patch)
tree13e9874108076fda35ddd5999f539badbd093fba
parent820763e6012e4832bfbf5bcf555d66e8d505ef34 (diff)
downloadadb-08b703261f5d9a044bb9cb9234a332260736af39.tar.gz
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 Change-Id: Iae8516ba278f0a17bd50eeba94dd7596c8d9aa32
-rw-r--r--libs/adbconnection/libadbconnection_client.map.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/adbconnection/libadbconnection_client.map.txt b/libs/adbconnection/libadbconnection_client.map.txt
index 153a0e41..a5e126dc 100644
--- a/libs/adbconnection/libadbconnection_client.map.txt
+++ b/libs/adbconnection/libadbconnection_client.map.txt
@@ -16,10 +16,10 @@
LIBADBCONNECTION_CLIENT_1 {
global:
- adbconnection_client_new;
- adbconnection_client_destroy;
- adbconnection_client_pollfd;
- adbconnection_client_receive_jdwp_fd;
+ adbconnection_client_new; # apex
+ adbconnection_client_destroy; # apex
+ adbconnection_client_pollfd; # apex
+ adbconnection_client_receive_jdwp_fd; # apex
local:
*;
};