From bde274ef83b9e22365205a7cd320e13bc53ae625 Mon Sep 17 00:00:00 2001 From: Ulas Kirazci Date: Thu, 28 Mar 2013 14:02:14 -0700 Subject: Add a "nano" option to LOCAL_PROTOC_OPTIMIZE_TYPE. Change-Id: I7429015b3c5f7f38b7be01eb2d4927f7a9999c80 --- core/base_rules.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/base_rules.mk') diff --git a/core/base_rules.mk b/core/base_rules.mk index d03050b..188c352 100644 --- a/core/base_rules.mk +++ b/core/base_rules.mk @@ -257,7 +257,11 @@ $(proto_java_sources_file_stamp): PRIVATE_PROTO_JAVA_OUTPUT_DIR := $(proto_java_ ifeq ($(LOCAL_PROTOC_OPTIMIZE_TYPE),micro) $(proto_java_sources_file_stamp): PRIVATE_PROTO_JAVA_OUTPUT_OPTION := --javamicro_out else + ifeq ($(LOCAL_PROTOC_OPTIMIZE_TYPE),nano) +$(proto_java_sources_file_stamp): PRIVATE_PROTO_JAVA_OUTPUT_OPTION := --javanano_out + else $(proto_java_sources_file_stamp): PRIVATE_PROTO_JAVA_OUTPUT_OPTION := --java_out + endif endif $(proto_java_sources_file_stamp): PRIVATE_PROTOC_FLAGS := $(LOCAL_PROTOC_FLAGS) $(proto_java_sources_file_stamp) : $(proto_sources_fullpath) $(PROTOC) -- cgit v1.1