Split EventBuilders.h
The `NotifyArgs.h` header is only available within inputflinger.
Therefore, the builders that rely on NotifyArgs need to be defined
in inputflinger, while MotionEvent-related builders can be defined
in libinput (so they can be used in libinput tests).
Test: `atest surfaceflinger_tests` passes.
Bug: 268245099
Change-Id: I9c9013d3fb8799bba0fa93a0d7dafd3b6b56a583
diff --git a/services/inputflinger/tests/InputDispatcher_test.cpp b/services/inputflinger/tests/InputDispatcher_test.cpp
index 5af9999..51202b7 100644
--- a/services/inputflinger/tests/InputDispatcher_test.cpp
+++ b/services/inputflinger/tests/InputDispatcher_test.cpp
@@ -17,6 +17,7 @@
#include "../dispatcher/InputDispatcher.h"
#include "../BlockingQueue.h"
+#include <NotifyArgsBuilders.h>
#include <android-base/properties.h>
#include <android-base/silent_death_test.h>
#include <android-base/stringprintf.h>
@@ -25,7 +26,6 @@
#include <fcntl.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
-#include <input/EventBuilders.h>
#include <input/Input.h>
#include <linux/input.h>
#include <sys/epoll.h>