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

Commit bb19287f authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Link libinput statically for inputflinger_tests

Linking statically makes it easier to debug tests by letting developer
add logs to libinput and have that reflected in the 'atest' runs for
inputflinger_tests without having to resync.

Also in this CL, enable C++20 for libinput, which would allow us to do
things like specify the default comparison operator.

Bug: 167946763
Test: cd services/inputflinger && atest
Change-Id: Iaa3f2e34d79fa000ef42b74237efae6233b44674
parent e123883b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ filegroup {

cc_library {
    name: "libinput",
    cpp_std: "c++20",
    host_supported: true,
    cflags: [
        "-Wall",
+2 −1
Original line number Diff line number Diff line
@@ -57,7 +57,8 @@ cc_test {
        ],
    },
    static_libs: [
        "libc++fs"
        "libc++fs",
        "libinput",
    ],
    require_root: true,
    test_suites: ["device-tests"],