Merge changes from topic "protobuf-3.9.1" am: 64c50b353e
am: 3c562fa09d
Change-Id: I36a4673d53b46e24adf3fd9994dc46e877cd40fb
This commit is contained in:
commit
aea2e2304b
3 changed files with 10 additions and 0 deletions
|
@ -86,6 +86,8 @@ ifeq ($(LOCAL_PROTOC_OPTIMIZE_TYPE),micro)
|
|||
$(proto_java_srcjar): $(HOST_OUT_EXECUTABLES)/protoc-gen-javamicro
|
||||
else ifeq ($(LOCAL_PROTOC_OPTIMIZE_TYPE),nano)
|
||||
$(proto_java_srcjar): PRIVATE_PROTO_JAVA_OUTPUT_OPTION := --javanano_out
|
||||
$(proto_java_srcjar): PRIVATE_PROTOC_FLAGS += --plugin=$(HOST_OUT_EXECUTABLES)/protoc-gen-javanano
|
||||
$(proto_java_srcjar): $(HOST_OUT_EXECUTABLES)/protoc-gen-javanano
|
||||
else ifeq ($(LOCAL_PROTOC_OPTIMIZE_TYPE),stream)
|
||||
$(proto_java_srcjar): PRIVATE_PROTO_JAVA_OUTPUT_OPTION := --javastream_out
|
||||
$(proto_java_srcjar): PRIVATE_PROTOC_FLAGS += --plugin=$(HOST_OUT_EXECUTABLES)/protoc-gen-javastream
|
||||
|
|
|
@ -72,3 +72,7 @@
|
|||
|
||||
# Less spammy.
|
||||
-dontnote
|
||||
|
||||
# The lite proto runtime uses reflection to access fields based on the names in
|
||||
# the schema, keep all the fields.
|
||||
-keepclassmembers class * extends com.google.protobuf.MessageLite { <fields>; }
|
||||
|
|
|
@ -75,3 +75,7 @@ PRODUCT_PACKAGES += \
|
|||
# VINTF data for vendor image
|
||||
PRODUCT_PACKAGES += \
|
||||
device_compatibility_matrix.xml \
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
libprotobuf-cpp-lite-vendorcompat \
|
||||
libprotobuf-cpp-full-vendorcompat \
|
||||
|
|
Loading…
Reference in a new issue