summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authormukesh agrawal <quiche@google.com>2016-09-30 18:47:12 -0700
committermukesh agrawal <quiche@google.com>2016-10-04 18:28:05 -0700
commit3d8db0877bb66bfea17e37e12a586b4b29440963 (patch)
tree84b94ba337eee50cd00d62f456d0bdb997d2f516 /Android.mk
parent53b465f2e5c0cba5212b18bf27d21b84378b0c74 (diff)
downloadwifilogd-3d8db0877bb66bfea17e37e12a586b4b29440963.tar.gz
add ByteBuffer
ByteBuffer provides a simple way of concatenating data, such as we might want to do when generating a protocol packet. ByteBuffer is implemented as a class template, rather than a simple class, because we want to be able to allocate a ByteBuffer on the stack. For stack allocation, the object size must be known at compile-time. Hence, ByteBuffer is a class template, parameterized on the buffer size. Bug: 31861967 Test: ./runtests.sh (on bullhead) Change-Id: I1fe89a9cdcf34cf380365b3aad2537edca87a424
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 87a37ef..8915a61 100644
--- a/Android.mk
+++ b/Android.mk
@@ -46,6 +46,7 @@ LOCAL_MODULE := wifilogd_unit_test
LOCAL_CPPFLAGS := $(wifilogd_cpp_flags) $(wifilogd_gtest_cpp_flags)
LOCAL_C_INCLUDES := $(wifilogd_includes)
LOCAL_SRC_FILES := \
+ tests/byte_buffer_unittest.cpp \
tests/local_utils_unittest.cpp \
tests/main.cpp \
tests/message_buffer_unittest.cpp \