aboutsummaryrefslogtreecommitdiff
path: root/core/tests/Android.mk
diff options
context:
space:
mode:
authorMattias Nissler <mnissler@google.com>2016-02-11 11:54:45 +0100
committerMattias Nissler <mnissler@google.com>2016-03-11 11:37:57 +0100
commitfce04ee60f5e12cf5b43d4c8c6be58f5884db71f (patch)
treec30e3dd99a159a8baf38054b28a84a54ba555cde /core/tests/Android.mk
parent6627707d90429619b434df2fe7067d7ad523e537 (diff)
downloadnvram-fce04ee60f5e12cf5b43d4c8c6be58f5884db71f.tar.gz
Enable NVRAM core test cases to run on Trusty.
This adds some bare-bones stubs to replace gtest in order to run the NVRAM core tests also within a trusty image. BUG: 27194661 Change-Id: If88e9903e19253bb93a10cb850511bfca5189da7
Diffstat (limited to 'core/tests/Android.mk')
-rw-r--r--core/tests/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/Android.mk b/core/tests/Android.mk
index f3d3b36..f3b19d8 100644
--- a/core/tests/Android.mk
+++ b/core/tests/Android.mk
@@ -22,7 +22,7 @@ LOCAL_MODULE_TAGS := debug
LOCAL_SRC_FILES := \
fake_storage.cpp \
nvram_manager_test.cpp
-LOCAL_CFLAGS := -Wall -Werror -Wextra
+LOCAL_CFLAGS := -Wall -Werror -Wextra -DHAS_GTEST
LOCAL_CLANG := true
LOCAL_STATIC_LIBRARIES := libnvram-core-host libmincrypt
LOCAL_SHARED_LIBRARIES := libnvram-messages-host