Trampoline atrace definitions through libbinder to libcutils
This avoids adding libcutils (additional) deps to aidls that
generate binder trace tags (the default for cpp backends now).
Others:
1. Added libbinder to libinputflinger_base_defaults to fix the
build
2. Fixed redefinition of ATRACE_TAG by redefining package manager
specific trace functions in a separate source
Test: Manual
Bug: 161393989
Change-Id: I7b83c0d11c3fa98bf31c29a880853566ad0909c3
diff --git a/services/inputflinger/Android.bp b/services/inputflinger/Android.bp
index 41878e3..18d670a 100644
--- a/services/inputflinger/Android.bp
+++ b/services/inputflinger/Android.bp
@@ -147,6 +147,7 @@
srcs: [":libinputflinger_base_sources"],
shared_libs: [
"libbase",
+ "libbinder",
"libcutils",
"libinput",
"liblog",