1LOCAL_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 \ 17 main.cpp \ 18 utils.cpp 19 20# Uncomment to enable vesbose logging and debug service. 21#TIME_SERVICE_DEBUG=true 22ifeq ($(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 \ 30 libutils \ 31 liblog 32 33LOCAL_MODULE_TAGS := optional 34LOCAL_MODULE := common_time 35 36LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code 37 38include $(BUILD_EXECUTABLE) 39