Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81e89fec authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

Extract FakeInputDispatcherPolicy into a separate cpp file

It will be used by other tests that will be added in the future.

Bug: 210460522
Test: build
Change-Id: I36d6b5aef98e621d8193d72063e8c7ecddd567a3
parent 3fa9d850
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ package {
cc_benchmark {
    name: "inputflinger_benchmarks",
    srcs: [
        ":inputdispatcher_common_test_sources",
        "InputDispatcher_benchmarks.cpp",
    ],
    defaults: [
@@ -31,6 +32,8 @@ cc_benchmark {
    ],
    static_libs: [
        "libattestation",
        "libgmock",
        "libgtest",
        "libinputdispatcher",
    ],
}
+9 −0
Original line number Diff line number Diff line
@@ -22,6 +22,14 @@ package {
    default_applicable_licenses: ["frameworks_native_license"],
}

// Source files shared with InputDispatcher's benchmarks and fuzzers
filegroup {
    name: "inputdispatcher_common_test_sources",
    srcs: [
        "FakeInputDispatcherPolicy.cpp",
    ],
}

cc_test {
    name: "inputflinger_tests",
    host_supported: true,
@@ -38,6 +46,7 @@ cc_test {
        "libinputflinger_defaults",
    ],
    srcs: [
        ":inputdispatcher_common_test_sources",
        "AnrTracker_test.cpp",
        "CapturedTouchpadEventConverter_test.cpp",
        "CursorInputMapper_test.cpp",
+473 −0

File added.

Preview size limit exceeded, changes collapsed.

+170 −58

File changed.

Preview size limit exceeded, changes collapsed.

+1 −512

File changed.

Preview size limit exceeded, changes collapsed.

Loading