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 \ |
John Grossman | c7f57c6 | 2012-06-26 12:50:28 -0700 | [diff] [blame] | 17 | main.cpp \ |
| 18 | utils.cpp |
Mike J. Chen | 6c92951 | 2011-08-15 11:59:47 -0700 | [diff] [blame] | 19 | |
Kent Ryhorchuk | 11bc45f | 2012-02-13 16:24:29 -0800 | [diff] [blame] | 20 | # Uncomment to enable vesbose logging and debug service. |
| 21 | #TIME_SERVICE_DEBUG=true |
Mike J. Chen | 6c92951 | 2011-08-15 11:59:47 -0700 | [diff] [blame] | 22 | ifeq ($(TIME_SERVICE_DEBUG), true) |
| 23 | LOCAL_SRC_FILES += diag_thread.cpp |
| 24 | LOCAL_CFLAGS += -DTIME_SERVICE_DEBUG |
| 25 | endif |
| 26 | |
| 27 | LOCAL_SHARED_LIBRARIES := \ |
| 28 | libbinder \ |
| 29 | libcommon_time_client \ |
Ying Wang | d685894 | 2013-04-09 21:54:12 -0700 | [diff] [blame] | 30 | libutils \ |
| 31 | liblog |
Mike J. Chen | 6c92951 | 2011-08-15 11:59:47 -0700 | [diff] [blame] | 32 | |
| 33 | LOCAL_MODULE_TAGS := optional |
| 34 | LOCAL_MODULE := common_time |
| 35 | |
| 36 | include $(BUILD_EXECUTABLE) |