summaryrefslogtreecommitdiffstats
path: root/sysfs/Android.bp
blob: bea960becc14a56453114261094c5b705b90248b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
cc_library_shared {
    // FIXME: this should only be -impl for a passthrough hal.
    // In most cases, to convert this to a binderized implementation, you should:
    // - change '-impl' to '-service' here and make it a cc_binary instead of a
    //   cc_library_shared.
    // - add a *.rc file for this module.
    // - delete HIDL_FETCH_I* functions.
    // - call configureRpcThreadpool and registerAsService on the instance.
    // You may also want to append '-impl/-service' with a specific identifier like
    // '-vendor' or '-<hardware identifier>' etc to distinguish it.
    name: "vendor.lineage.livedisplay@2.0-impl",
    relative_install_path: "hw",
    // FIXME: this should be 'vendor: true' for modules that will eventually be
    // on AOSP.
    proprietary: true,
    srcs: [
        "AdaptiveBacklight.cpp",
        "AutoContrast.cpp",
        "ColorBalance.cpp",
        "ColorEnhancement.cpp",
        "DisplayColorCalibration.cpp",
        "DisplayModes.cpp",
        "PictureAdjustment.cpp",
        "ReadingEnhancement.cpp",
        "SunlightEnhancement.cpp",
    ],
    shared_libs: [
        "libhidlbase",
        "libhidltransport",
        "libutils",
        "vendor.lineage.livedisplay@2.0",
    ],
}