Home | History | Annotate | Download | only in common_time
      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     utils.cpp
     19 
     20 # Uncomment to enable vesbose logging and debug service.
     21 #TIME_SERVICE_DEBUG=true
     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 \
     30     libutils \
     31     liblog
     32 
     33 LOCAL_MODULE_TAGS := optional
     34 LOCAL_MODULE := common_time
     35 
     36 include $(BUILD_EXECUTABLE)
     37