blob: 758c38f8e3d3fcb1bb09ad019d72dd270629acf1 [file] [log] [blame]
Steven Morelandf1b07d52017-04-20 15:56:38 -07001cc_library_shared {
2 name: "libsensorservice",
3
4 srcs: [
5 "BatteryService.cpp",
6 "CorrectedGyroSensor.cpp",
7 "Fusion.cpp",
8 "GravitySensor.cpp",
9 "LinearAccelerationSensor.cpp",
10 "OrientationSensor.cpp",
11 "RecentEventLogger.cpp",
12 "RotationVectorSensor.cpp",
13 "SensorDevice.cpp",
14 "SensorEventConnection.cpp",
15 "SensorFusion.cpp",
16 "SensorInterface.cpp",
17 "SensorList.cpp",
18 "SensorRecord.cpp",
19 "SensorService.cpp",
20 "SensorServiceUtils.cpp",
21 ],
22
23 cflags: [
24 "-DLOG_TAG=\"SensorService\"",
25 "-Wall",
26 "-Werror",
27 "-Wextra",
28 "-fvisibility=hidden",
29 ],
30
31 shared_libs: [
32 "libcutils",
33 "libhardware",
34 "libhardware_legacy",
35 "libutils",
36 "liblog",
37 "libbinder",
38 "libui",
39 "libgui",
40 "libcrypto",
41 ],
42}
43
44cc_binary {
45 name: "sensorservice",
46 srcs: ["main_sensorservice.cpp"],
47
48 shared_libs: [
49 "libsensorservice",
50 "libbinder",
51 "libutils",
52 ],
53
54 cflags: [
55 "-Wall",
56 "-Werror",
57 "-Wextra",
58 ],
59}