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

Commit a2764b77 authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

Use the test version of the aconfig flagging library in libinput

This means we can avoid adding the flagging library as a separate shared
dependency of libinput wherever libinput is used.

Bug: 304574138
Test: build, atest inputflinger_tests
Change-Id: I1b14554c410baf0f8d020ddf314f1b38365e3b16
parent 3bd0c1bc
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -46,6 +46,14 @@ cc_aconfig_library {
    name: "aconfig_input_flags_c_lib",
    aconfig_declarations: "aconfig_input_flags",
    host_supported: true,
    // Use the test version of the aconfig flag library by default to allow tests to set local
    // overrides for flags, without having to link against a separate version of libinput or of this
    // library. Bundling this library directly into libinput prevents us from having to add this
    // library as a shared lib dependency everywhere where libinput is used.
    test: true,
    shared: {
        enabled: false,
    },
}

aidl_interface {