blob: 1fec504e79698f1f88bd9dbf0bfa2ab11a381693 [file] [log] [blame]
Mike J. Chen6c929512011-08-15 11:59:47 -07001LOCAL_PATH:= $(call my-dir)
2
3#
4# common_time_service
5#
6
7include $(CLEAR_VARS)
8
9LOCAL_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 Grossmanc7f57c62012-06-26 12:50:28 -070017 main.cpp \
18 utils.cpp
Mike J. Chen6c929512011-08-15 11:59:47 -070019
Kent Ryhorchuk11bc45f2012-02-13 16:24:29 -080020# Uncomment to enable vesbose logging and debug service.
21#TIME_SERVICE_DEBUG=true
Mike J. Chen6c929512011-08-15 11:59:47 -070022ifeq ($(TIME_SERVICE_DEBUG), true)
23LOCAL_SRC_FILES += diag_thread.cpp
24LOCAL_CFLAGS += -DTIME_SERVICE_DEBUG
25endif
26
27LOCAL_SHARED_LIBRARIES := \
28 libbinder \
29 libcommon_time_client \
Ying Wangd6858942013-04-09 21:54:12 -070030 libutils \
31 liblog
Mike J. Chen6c929512011-08-15 11:59:47 -070032
33LOCAL_MODULE_TAGS := optional
34LOCAL_MODULE := common_time
35
Andreas Gampe4c57eda2014-11-10 11:51:01 -080036LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
37
Mike J. Chen6c929512011-08-15 11:59:47 -070038include $(BUILD_EXECUTABLE)