metrics_collector: Fix build of tests

IMetricsCollectorService implementation moved from libmetricscollectorservice
to metrics_collector executable, which means it needs to be compiled into test
main as well.

Bug: None
Change-Id: I29b0a3ae6164d2256366d61c3a3639d22b943a69
This commit is contained in:
Todd Poynor 2016-01-05 17:27:36 -08:00
parent b256a47064
commit 4b50bf3a9a
1 changed files with 2 additions and 2 deletions

View File

@ -28,6 +28,7 @@ metrics_collector_common := \
collectors/cpu_usage_collector.cc \
collectors/disk_usage_collector.cc \
metrics_collector.cc \
metrics_collector_service_impl.cc \
persistent_integer.cc
metricsd_common := \
@ -165,8 +166,7 @@ LOCAL_INIT_RC := metrics_collector.rc
LOCAL_REQUIRED_MODULES := metrics.json
LOCAL_SHARED_LIBRARIES := $(metrics_collector_shared_libraries)
LOCAL_SRC_FILES := $(metrics_collector_common) \
metrics_collector_main.cc \
metrics_collector_service_impl.cc
metrics_collector_main.cc
LOCAL_STATIC_LIBRARIES := metricsd_binder_proxy \
$(metrics_collector_static_libraries)
include $(BUILD_EXECUTABLE)