universal7885: libshims: Import a shim to make blobs shut up

This commit is contained in:
roynatech2544 2022-11-01 19:18:37 +09:00
commit 72bb5acc20
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,7 @@
cc_library_shared {
name: "libquietlog",
srcs: ["LogShim.cpp"],
shared_libs: ["liblog"],
compile_multilib: "64",
vendor: true
}

View file

@ -0,0 +1,5 @@
#include <log/log.h>
int __android_log_print(int /*prio*/, const char* /*tag*/, const char* /*fmt*/, ...) {
return 1;
}

View file

@ -296,7 +296,8 @@ PRODUCT_PACKAGES += \
# Shims
PRODUCT_PACKAGES += \
libshim_sensorndkbridge \
libcorrectcamera
libcorrectcamera \
libquietlog
# Skip Mount
PRODUCT_PACKAGES += \