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 LinearTransform.cpp 20 21# Uncomment to enable vesbose logging and debug service. 22#TIME_SERVICE_DEBUG=true 23ifeq ($(TIME_SERVICE_DEBUG), true) 24LOCAL_SRC_FILES += diag_thread.cpp 25LOCAL_CFLAGS += -DTIME_SERVICE_DEBUG 26endif 27 28LOCAL_SHARED_LIBRARIES := \ 29 libbinder \ 30 libcommon_time_client \ 31 libutils \ 32 liblog 33 34LOCAL_MODULE_TAGS := optional 35LOCAL_MODULE := common_time 36 37LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code 38 39include $(BUILD_EXECUTABLE) 40