android_system_core/libstats/push_compat
Jiyong Park 01aa81cec5 don't include liblog to APEXes
liblog is a platform library that provides stable C API. There is no
need to include the library, especialy by statically linking to it, in
any APEX. It not only wastes the storage/ram, but also is incorrect
because the socket interface to logd which is implemented in liblog is
not guaranteed to be stable.

Fixing this issue by converting static_libs: ["liblog"] into
shared_libs: ["liblog"], in which case the dependency to the library
is satisfied via the stub variant of the library.

As a result, we could restrict the availablity of the library to
the platform and the runtime APEX.

Exempt-From-Owner-Approval: already approved when this was in internal
master (ag/10572699)

Bug: http://b/151051671
Bug: http://b/150827719
Test: m
Merged-In: I5aab863cb12b8767b6979255c247000a59355b0e
(cherry picked from commit 95b6f45b0e)
Change-Id: I5aab863cb12b8767b6979255c247000a59355b0e
2020-03-11 18:30:06 +09:00
..
include Expose libstatspull as a stable C API 2020-02-04 14:07:35 -08:00
tests
Android.bp don't include liblog to APEXes 2020-03-11 18:30:06 +09:00
stats_event_list.c Merge libstatspush_compat and libstatssocket_q 2019-12-16 15:24:36 -08:00
statsd_writer.c Merge libstatspush_compat and libstatssocket_q 2019-12-16 15:24:36 -08:00
statsd_writer.h Merge libstatspush_compat and libstatssocket_q 2019-12-16 15:24:36 -08:00
StatsEventCompat.cpp Expose libstatspull as a stable C API 2020-02-04 14:07:35 -08:00