Mathias Agopian | fc32881 | 2010-07-14 23:41:37 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES:= \ |
Peng Xu | 6a2d3a0 | 2015-12-21 12:00:23 -0800 | [diff] [blame] | 5 | BatteryService.cpp \ |
| 6 | CorrectedGyroSensor.cpp \ |
Mathias Agopian | 984826c | 2011-05-17 22:54:42 -0700 | [diff] [blame] | 7 | Fusion.cpp \ |
| 8 | GravitySensor.cpp \ |
| 9 | LinearAccelerationSensor.cpp \ |
| 10 | OrientationSensor.cpp \ |
Peng Xu | 6a2d3a0 | 2015-12-21 12:00:23 -0800 | [diff] [blame] | 11 | RecentEventLogger.cpp \ |
Mathias Agopian | 984826c | 2011-05-17 22:54:42 -0700 | [diff] [blame] | 12 | RotationVectorSensor.cpp \ |
Mathias Agopian | f001c92 | 2010-11-11 17:58:51 -0800 | [diff] [blame] | 13 | SensorDevice.cpp \ |
Peng Xu | 6a2d3a0 | 2015-12-21 12:00:23 -0800 | [diff] [blame] | 14 | SensorEventConnection.cpp \ |
Mathias Agopian | 984826c | 2011-05-17 22:54:42 -0700 | [diff] [blame] | 15 | SensorFusion.cpp \ |
| 16 | SensorInterface.cpp \ |
Peng Xu | 0cc8f80 | 2016-04-05 23:46:03 -0700 | [diff] [blame] | 17 | SensorList.cpp \ |
Peng Xu | 6a2d3a0 | 2015-12-21 12:00:23 -0800 | [diff] [blame] | 18 | SensorRecord.cpp \ |
| 19 | SensorService.cpp \ |
| 20 | SensorServiceUtils.cpp \ |
Peng Xu | eb4d628 | 2015-12-10 18:02:41 -0800 | [diff] [blame] | 21 | |
Mathias Agopian | fc32881 | 2010-07-14 23:41:37 -0700 | [diff] [blame] | 22 | |
| 23 | LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\" |
| 24 | |
Greg Kaiser | be6dd4e | 2016-03-22 12:21:46 -0700 | [diff] [blame] | 25 | LOCAL_CFLAGS += -Wall -Werror -Wextra |
Aurimas Liutikas | 6f7854b | 2016-02-19 14:08:07 -0800 | [diff] [blame] | 26 | |
Mathias Agopian | b6df7d0 | 2013-05-09 14:53:35 -0700 | [diff] [blame] | 27 | LOCAL_CFLAGS += -fvisibility=hidden |
| 28 | |
Mathias Agopian | fc32881 | 2010-07-14 23:41:37 -0700 | [diff] [blame] | 29 | LOCAL_SHARED_LIBRARIES := \ |
Peng Xu | 6a2d3a0 | 2015-12-21 12:00:23 -0800 | [diff] [blame] | 30 | libcutils \ |
| 31 | libhardware \ |
| 32 | libhardware_legacy \ |
| 33 | libutils \ |
| 34 | liblog \ |
| 35 | libbinder \ |
| 36 | libui \ |
Greg Kaiser | 53ca2e0 | 2016-06-21 16:11:14 -0700 | [diff] [blame^] | 37 | libgui \ |
| 38 | libcrypto |
Mathias Agopian | fc32881 | 2010-07-14 23:41:37 -0700 | [diff] [blame] | 39 | |
Mathias Agopian | fc32881 | 2010-07-14 23:41:37 -0700 | [diff] [blame] | 40 | LOCAL_MODULE:= libsensorservice |
| 41 | |
| 42 | include $(BUILD_SHARED_LIBRARY) |
Mathias Agopian | 7ffaa7c | 2013-07-22 12:20:28 -0700 | [diff] [blame] | 43 | |
| 44 | ##################################################################### |
| 45 | # build executable |
| 46 | include $(CLEAR_VARS) |
| 47 | |
| 48 | LOCAL_SRC_FILES:= \ |
Peng Xu | 6a2d3a0 | 2015-12-21 12:00:23 -0800 | [diff] [blame] | 49 | main_sensorservice.cpp |
Mathias Agopian | 7ffaa7c | 2013-07-22 12:20:28 -0700 | [diff] [blame] | 50 | |
| 51 | LOCAL_SHARED_LIBRARIES := \ |
Peng Xu | 6a2d3a0 | 2015-12-21 12:00:23 -0800 | [diff] [blame] | 52 | libsensorservice \ |
| 53 | libbinder \ |
| 54 | libutils |
Mathias Agopian | 7ffaa7c | 2013-07-22 12:20:28 -0700 | [diff] [blame] | 55 | |
Greg Kaiser | be6dd4e | 2016-03-22 12:21:46 -0700 | [diff] [blame] | 56 | LOCAL_CFLAGS := -Wall -Werror -Wextra |
| 57 | |
Mathias Agopian | 7ffaa7c | 2013-07-22 12:20:28 -0700 | [diff] [blame] | 58 | LOCAL_MODULE_TAGS := optional |
| 59 | |
| 60 | LOCAL_MODULE:= sensorservice |
| 61 | |
| 62 | include $(BUILD_EXECUTABLE) |