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

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

Add checkinput build target

This would allow us to check large refactorings without having to
remember individual pieces of code in various places. All of the
input-related code can now be built with a single command.

Bug: 198472780
Test: m checkinput
Change-Id: I2b54d6bc7c08b2cbf2dcb504cfe11d5986d4afc6
parent c312f3f5
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
@@ -168,3 +168,38 @@ cc_library_shared {
        "libinputflinger_headers",
    ],
}

// This target will build everything 'input-related'. This could be useful for
// large refactorings of the input code. This is similar to 'm checkbuild', but
// just for input code.
// Use 'm checkinput' to build, and then (optionally) use 'm installclean' to
// remove any of the installed artifacts that you may not want on your actual
// build.
phony {
    name: "checkinput",
    required: [
        // native targets
        "libinput",
        "libinputflinger",
        "inputflinger_tests",
        "inputflinger_benchmarks",
        "libinput_tests",
        "libpalmrejection_test",
        "libandroid_runtime",
        "libinputservice_test",
        "Bug-115739809",
        "StructLayout_test",

        // Java/Kotlin targets
        "CtsWindowManagerDeviceTestCases",
        "InputTests",
        "CtsHardwareTestCases",
        "CtsInputTestCases",
        "CtsViewTestCases",
        "CtsWidgetTestCases",
        "FrameworksCoreTests",
        "FrameworksServicesTests",
        "CtsSecurityTestCases",
        "CtsSecurityBulletinHostTestCases",
    ],
}