Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d97e52d8 authored by Jiyong Park's avatar Jiyong Park
Browse files

Replace #apex with #systemapi

Currently, for an API symbol to be accessible to APEXes, it needs to be
marked as either # systemapi or # apex. It was originally just # apex,
but we added # systemapi to clearly identify the origin of the APIs.

The intended use is

* #apex is for APEX-visible symbols that are defined in an APEX
* #systemapi is for APEX-visible symbols that are defined in the
  platform (the non-updatable part)

This intention is documented build/soong/docs/map_files.md, but isn't
enforced at all.

With b/239274367, this is now enforced and therefore the #apex tags in
the platform library are replaced with `#systemapi`

This change does not alter any functionality.

Bug: 239274367
Test: m
Change-Id: Ibdb9122c9969749e055404078bc2280edaa7346d
parent 86cc51ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ LIBSYNC {
    sync_merge; # introduced=26
    sync_file_info; # introduced=26
    sync_file_info_free; # introduced=26
    sync_wait; # llndk apex
    sync_wait; # llndk systemapi
    sync_fence_info; # llndk
    sync_pt_info; # llndk
    sync_fence_info_free; # llndk
+3 −3
Original line number Diff line number Diff line
LIBVNDKSUPPORT {
  global:
    android_is_in_vendor_process; # llndk apex
    android_load_sphal_library; # llndk apex
    android_unload_sphal_library; # llndk apex
    android_is_in_vendor_process; # llndk systemapi
    android_load_sphal_library; # llndk systemapi
    android_unload_sphal_library; # llndk systemapi
  local:
    *;
};