liblog: statically link tests
Some liblog tests test symbols that aren't otherwise used on the platform. Statically link the tests such that we can add version scripts that expose only the symbols used by the platform, and still allow the tests to test the rest. Test: build + unit tests Change-Id: I898280fa52d31a2c7ad4eafdaa85e8b5f2e87971
This commit is contained in:
parent
dea312bf14
commit
bbf2a0d797
|
@ -29,10 +29,10 @@ cc_benchmark {
|
|||
"-fno-builtin",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libm",
|
||||
"libbase",
|
||||
],
|
||||
static_libs: ["liblog"],
|
||||
srcs: ["liblog_benchmark.cpp"],
|
||||
}
|
||||
|
||||
|
@ -63,10 +63,10 @@ cc_defaults {
|
|||
"log_wrap_test.cpp",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libbase",
|
||||
],
|
||||
static_libs: ["liblog"],
|
||||
}
|
||||
|
||||
// Build tests for the device (with .so). Run with:
|
||||
|
|
Loading…
Reference in New Issue