Home | History | Annotate | Download | only in sensorservice
      1 subdirs = [
      2     "hidl"
      3 ]
      4 cc_library_shared {
      5     name: "libsensorservice",
      6 
      7     srcs: [
      8         "BatteryService.cpp",
      9         "CorrectedGyroSensor.cpp",
     10         "Fusion.cpp",
     11         "GravitySensor.cpp",
     12         "LinearAccelerationSensor.cpp",
     13         "OrientationSensor.cpp",
     14         "RecentEventLogger.cpp",
     15         "RotationVectorSensor.cpp",
     16         "SensorDevice.cpp",
     17         "SensorDeviceUtils.cpp",
     18         "SensorDirectConnection.cpp",
     19         "SensorEventConnection.cpp",
     20         "SensorFusion.cpp",
     21         "SensorInterface.cpp",
     22         "SensorList.cpp",
     23         "SensorRecord.cpp",
     24         "SensorService.cpp",
     25         "SensorServiceUtils.cpp",
     26     ],
     27 
     28     cflags: [
     29         "-DLOG_TAG=\"SensorService\"",
     30         "-Wall",
     31         "-Werror",
     32         "-Wextra",
     33         "-fvisibility=hidden"
     34     ],
     35 
     36     shared_libs: [
     37         "libcutils",
     38         "libhardware",
     39         "libhardware_legacy",
     40         "libutils",
     41         "liblog",
     42         "libbinder",
     43         "libsensor",
     44         "libcrypto",
     45         "libbase",
     46         "libhidlbase",
     47         "libhidltransport",
     48         "libhwbinder",
     49         "android.hardware.sensors (a] 1.0",
     50     ],
     51 
     52     static_libs: ["android.hardware.sensors (a] 1.0-convert"],
     53 
     54     // our public headers depend on libsensor
     55     export_shared_lib_headers: ["libsensor"],
     56 }
     57 
     58 cc_binary {
     59     name: "sensorservice",
     60 
     61     srcs: ["main_sensorservice.cpp"],
     62 
     63     shared_libs: [
     64         "libsensorservice",
     65         "libbinder",
     66         "libutils",
     67     ],
     68 
     69     cflags: [
     70         "-Wall",
     71         "-Werror",
     72         "-Wextra",
     73     ],
     74 }
     75