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

Commit 5232d6d9 authored by Steven Moreland's avatar Steven Moreland
Browse files

Revert "resolve merge conflicts of 03e80b46 to oc-dev-plus-aosp"

This reverts commit 40d89431.

Reason for revert: didn't delete mk

Change-Id: Ib3a3f249c278be582de04a583e18de3c0e502d5e
parent 40d89431
Loading
Loading
Loading
Loading
+0 −60
Original line number Diff line number Diff line
subdirs = [
    "hidl"
]

cc_library_shared {
    name: "libsensorservice",

    srcs: [
        "BatteryService.cpp",
        "CorrectedGyroSensor.cpp",
        "Fusion.cpp",
        "GravitySensor.cpp",
        "LinearAccelerationSensor.cpp",
        "OrientationSensor.cpp",
        "RecentEventLogger.cpp",
        "RotationVectorSensor.cpp",
        "SensorDevice.cpp",
        "SensorEventConnection.cpp",
        "SensorFusion.cpp",
        "SensorInterface.cpp",
        "SensorList.cpp",
        "SensorRecord.cpp",
        "SensorService.cpp",
        "SensorServiceUtils.cpp",
    ],

    cflags: [
        "-DLOG_TAG=\"SensorService\"",
        "-Wall",
        "-Werror",
        "-Wextra",
        "-fvisibility=hidden",
    ],

    shared_libs: [
        "libcutils",
        "libhardware",
        "libhardware_legacy",
        "libutils",
        "liblog",
        "libbinder",
        "libui",
        "libgui",
        "libcrypto",
    ],
}

cc_binary {
    name: "sensorservice",
    srcs: ["main_sensorservice.cpp"],

    shared_libs: [
        "libsensorservice",
        "libbinder",
        "libutils",
    ],

    cflags: [
        "-Wall",
        "-Werror",
        "-Wextra",
    ],
}