Mike J. Chen | 6c92951 | 2011-08-15 11:59:47 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | # |
| 4 | # common_time_service |
| 5 | # |
| 6 | |
| 7 | include $(CLEAR_VARS) |
| 8 | |
| 9 | LOCAL_SRC_FILES := \ |
| 10 | common_clock_service.cpp \ |
| 11 | common_time_config_service.cpp \ |
| 12 | common_time_server.cpp \ |
| 13 | common_time_server_api.cpp \ |
| 14 | common_time_server_packets.cpp \ |
| 15 | clock_recovery.cpp \ |
| 16 | common_clock.cpp \ |
| 17 | main.cpp |
| 18 | |
Kent Ryhorchuk | 11bc45f | 2012-02-13 16:24:29 -0800 | [diff] [blame^] | 19 | # Uncomment to enable vesbose logging and debug service. |
| 20 | #TIME_SERVICE_DEBUG=true |
Mike J. Chen | 6c92951 | 2011-08-15 11:59:47 -0700 | [diff] [blame] | 21 | ifeq ($(TIME_SERVICE_DEBUG), true) |
| 22 | LOCAL_SRC_FILES += diag_thread.cpp |
| 23 | LOCAL_CFLAGS += -DTIME_SERVICE_DEBUG |
| 24 | endif |
| 25 | |
| 26 | LOCAL_SHARED_LIBRARIES := \ |
| 27 | libbinder \ |
| 28 | libcommon_time_client \ |
| 29 | libutils |
| 30 | |
| 31 | LOCAL_MODULE_TAGS := optional |
| 32 | LOCAL_MODULE := common_time |
| 33 | |
| 34 | include $(BUILD_EXECUTABLE) |