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

Commit cf5be0a2 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: If9849a24af3291ddf7cacee428ac41e526fdba0b
parent d40d1f68
Loading
Loading
Loading
Loading
+24 −24
Original line number Diff line number Diff line
LIBMEDIAMETRICS_1 {
  global:
    mediametrics_addDouble; # apex
    mediametrics_addInt32; # apex
    mediametrics_addInt64; # apex
    mediametrics_addRate; # apex
    mediametrics_count; # apex
    mediametrics_create; # apex
    mediametrics_delete; # apex
    mediametrics_freeCString; # apex
    mediametrics_getAttributes; # apex
    mediametrics_getCString; # apex
    mediametrics_getDouble; # apex
    mediametrics_getInt32; # apex
    mediametrics_getInt64; # apex
    mediametrics_getKey; # apex
    mediametrics_getRate; # apex
    mediametrics_isEnabled; # apex
    mediametrics_readable; # apex
    mediametrics_selfRecord; # apex
    mediametrics_setCString; # apex
    mediametrics_setDouble; # apex
    mediametrics_setInt32; # apex
    mediametrics_setInt64; # apex
    mediametrics_setRate; # apex
    mediametrics_setUid; # apex
    mediametrics_addDouble; # systemapi
    mediametrics_addInt32; # systemapi
    mediametrics_addInt64; # systemapi
    mediametrics_addRate; # systemapi
    mediametrics_count; # systemapi
    mediametrics_create; # systemapi
    mediametrics_delete; # systemapi
    mediametrics_freeCString; # systemapi
    mediametrics_getAttributes; # systemapi
    mediametrics_getCString; # systemapi
    mediametrics_getDouble; # systemapi
    mediametrics_getInt32; # systemapi
    mediametrics_getInt64; # systemapi
    mediametrics_getKey; # systemapi
    mediametrics_getRate; # systemapi
    mediametrics_isEnabled; # systemapi
    mediametrics_readable; # systemapi
    mediametrics_selfRecord; # systemapi
    mediametrics_setCString; # systemapi
    mediametrics_setDouble; # systemapi
    mediametrics_setInt32; # systemapi
    mediametrics_setInt64; # systemapi
    mediametrics_setRate; # systemapi
    mediametrics_setUid; # systemapi
  local:
    *;
};