aboutsummaryrefslogtreecommitdiff
path: root/daemon/Android.mk
diff options
context:
space:
mode:
authorDaniel Erat <derat@google.com>2015-10-06 17:22:30 -0600
committerDaniel Erat <derat@google.com>2015-10-06 17:22:30 -0600
commitcb20be47d408e88d425bd679579d20be593ac8a9 (patch)
treea91879abad3654deccc85b31a66c93613b52b3ab /daemon/Android.mk
parentc2a4b05a931fbf3ecbf1915049b549b33dae8ba5 (diff)
downloadnativepower-cb20be47d408e88d425bd679579d20be593ac8a9.tar.gz
Include native tests in debug Brillo builds.
Build libnativepower_tests and nativepowerman_tests when BRILO is defined and the debug flag is present. Change-Id: Iba990c8bf1da0c8cf03e314fbf184f6249b26c50
Diffstat (limited to 'daemon/Android.mk')
-rw-r--r--daemon/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/Android.mk b/daemon/Android.mk
index fdc18d4..0eb0f5d 100644
--- a/daemon/Android.mk
+++ b/daemon/Android.mk
@@ -89,6 +89,9 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := nativepowerman_tests
+ifdef BRILLO
+ LOCAL_MODULE_TAGS := debug
+endif
LOCAL_CPP_EXTENSION := .cc
LOCAL_CFLAGS := $(nativepowerman_CommonCFlags)
LOCAL_STATIC_LIBRARIES := libnativepowerman libgtest libBionicGtestMain