Link libselinux/utils/base statically

CTS tests are not supposed to link against platform-private
libraries. As it is this test put an implicit requirement on
having libselinux.so in system image. Which is not intended.

Link statically against listed libraries to avoid such unintended
dependencies.

Test: make
Change-Id: I47a5b032000ee2c1ff764d6cc57683343851a07f
This commit is contained in:
dimitry 2019-05-14 14:50:27 +02:00
parent 0726be3d62
commit bf613b4ce4

View file

@ -35,12 +35,12 @@ cc_defaults {
srcs: ["logd_test.cpp"],
shared_libs: [
static_libs: [
"libbase",
"libcutils",
"libselinux",
"liblog",
],
static_libs: ["liblog"],
}
// Build tests for the logger. Run with: