mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 04:25:33 -04:00
universal7885: libshims: Import a shim to make blobs shut up
This commit is contained in:
parent
0be8f2929f
commit
72bb5acc20
3 changed files with 14 additions and 1 deletions
7
universal7885-common/libshims/logging/Android.bp
Normal file
7
universal7885-common/libshims/logging/Android.bp
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
cc_library_shared {
|
||||||
|
name: "libquietlog",
|
||||||
|
srcs: ["LogShim.cpp"],
|
||||||
|
shared_libs: ["liblog"],
|
||||||
|
compile_multilib: "64",
|
||||||
|
vendor: true
|
||||||
|
}
|
||||||
5
universal7885-common/libshims/logging/LogShim.cpp
Normal file
5
universal7885-common/libshims/logging/LogShim.cpp
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#include <log/log.h>
|
||||||
|
|
||||||
|
int __android_log_print(int /*prio*/, const char* /*tag*/, const char* /*fmt*/, ...) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
@ -296,7 +296,8 @@ PRODUCT_PACKAGES += \
|
||||||
# Shims
|
# Shims
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libshim_sensorndkbridge \
|
libshim_sensorndkbridge \
|
||||||
libcorrectcamera
|
libcorrectcamera \
|
||||||
|
libquietlog
|
||||||
|
|
||||||
# Skip Mount
|
# Skip Mount
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue