Add streaming proto option to the build system.

Test: make w/ other prereq changes
Change-Id: Ie8711878e244074a9a3c128467eeb4908c2ef008
This commit is contained in:
Joe Onorato
2016-10-05 18:01:10 -07:00
parent 7261bca1cf
commit c05a8eec4b
4 changed files with 18 additions and 3 deletions

View File

@@ -67,7 +67,11 @@ else
ifeq ($(LOCAL_PROTOC_OPTIMIZE_TYPE),nano)
LOCAL_STATIC_JAVA_LIBRARIES += libprotobuf-java-nano
else
LOCAL_STATIC_JAVA_LIBRARIES += libprotobuf-java-lite
ifeq ($(LOCAL_PROTOC_OPTIMIZE_TYPE),stream)
# No library for stream protobufs
else
LOCAL_STATIC_JAVA_LIBRARIES += libprotobuf-java-lite
endif
endif
endif
endif