am e6a1dff2: am f71590ff: Merge "metricsd: Only define the targets on linux."
* commit 'e6a1dff215370491d0f683e323841a7c177ee4eb':
metricsd: Only define the targets on linux.
diff --git a/metricsd/Android.mk b/metricsd/Android.mk
index 17fb278..9edba6e 100644
--- a/metricsd/Android.mk
+++ b/metricsd/Android.mk
@@ -14,6 +14,8 @@
LOCAL_PATH := $(call my-dir)
+ifeq ($(HOST_OS),linux)
+
metrics_cpp_extension := .cc
libmetrics_sources := \
c_metrics_library.cc \
@@ -110,3 +112,5 @@
LOCAL_SRC_FILES := $(metrics_daemon_sources)
LOCAL_STATIC_LIBRARIES := metrics_daemon_protos
include $(BUILD_EXECUTABLE)
+
+endif # HOST_OS == linux