diff options
author | Siarhei Vishniakou <svv@google.com> | 2021-05-18 07:35:39 +0000 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2021-05-18 07:35:39 +0000 |
commit | b18766e0563f05cfd72e0f22054da0d6a2bbc5ee (patch) | |
tree | fe429e077fe2aab774cd4349226dbde319c87bf7 | |
parent | ec62ac3aaba4e2fd689645b232a020b7df3ae553 (diff) | |
download | StatsD-b18766e0563f05cfd72e0f22054da0d6a2bbc5ee.tar.gz |
Add libkll dependencies as whole_static_libs
If we try to link against libkll as a shared library without including
the dependencies of encoder and proto, we would get an error that the
proto symbols are not found.
However, we would like to link against libkll as a shared library in
order to save space in case someone else decides to use it, or at least
to avoid exposing these dependencies to the calling code.
Currently, the static_libs of libkll do not propagate to the user of
libkll due to b/169779783.
Change the dependencies to whole_static_libs so that we can use libkll
as a shared_library.
Bug: 182225759
Test: m libinputdispatcher
Change-Id: I01076d771e9432f08a3b5f8426c14759b56f3e12
-rw-r--r-- | lib/libkll/Android.bp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkll/Android.bp b/lib/libkll/Android.bp index 8181dedb..65ea1ca1 100644 --- a/lib/libkll/Android.bp +++ b/lib/libkll/Android.bp @@ -28,7 +28,7 @@ cc_library { "kll.cpp", "sampler.cpp", ], - static_libs: [ + whole_static_libs: [ "libkll-encoder", "libkll-protos", ], |