diff options
author | Ulas Kirazci <ulas@google.com> | 2013-03-28 14:02:14 -0700 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2013-04-03 13:37:07 -0700 |
commit | bde274ef83b9e22365205a7cd320e13bc53ae625 (patch) | |
tree | 39a8f12d4b2ccf652b16397e99d766adb4d5c1fb /core/base_rules.mk | |
parent | 248a9dd4c91a4ca9d2410b976eab79521b97d0df (diff) | |
download | build-bde274ef83b9e22365205a7cd320e13bc53ae625.zip build-bde274ef83b9e22365205a7cd320e13bc53ae625.tar.gz build-bde274ef83b9e22365205a7cd320e13bc53ae625.tar.bz2 |
Add a "nano" option to LOCAL_PROTOC_OPTIMIZE_TYPE.
Change-Id: I7429015b3c5f7f38b7be01eb2d4927f7a9999c80
Diffstat (limited to 'core/base_rules.mk')
-rw-r--r-- | core/base_rules.mk | 4 |
1 files changed, 4 insertions, 0 deletions
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) |