aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorMattias Nissler <mnissler@google.com>2016-01-25 18:40:25 +0100
committerMattias Nissler <mnissler@google.com>2016-02-09 14:26:18 +0100
commitb96dd314ccf4764143aa15728744b5d99b391e76 (patch)
tree01c40a6ee34ce1e96e33a18e8eb08c8353659019 /Android.mk
parent06b7bb0e6ccb9438c1e6f561a3f6bb1b9e309007 (diff)
downloadnvram-b96dd314ccf4764143aa15728744b5d99b391e76.tar.gz
Add I/O facilities for the protobuf wire format.
This adds two things: InputStreamBuffer and OutputStreamBuffer, which keep track of a window of bytes in memory belonging to a stream of input or output data. Subclasses fill in the specifics of where the buffers come from or go to. ProtoReader and ProtoWriter can be used to read and write data in protobuf wire format encoding from an underlying stream buffer. BUG: 25762536 Change-Id: Ia76bee256d90c7fcf4c062b1f448d91b3afe8d81
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 1e50052..68dc90b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -19,7 +19,8 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libnvram
LOCAL_SRC_FILES := \
- blob.cpp
+ blob.cpp \
+ io.cpp
LOCAL_STATIC_LIBRARIES := libbase
LOCAL_CFLAGS := -Wall -Werror -Wextra -fvisibility=hidden
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include