diff options
author | Ulas Kirazci <ulas@google.com> | 2013-07-24 14:35:42 -0700 |
---|---|---|
committer | Ulas Kirazci <ulas@google.com> | 2013-07-25 12:53:36 -0700 |
commit | 7e567b8b0a9e1155666752723ca835734d60ab92 (patch) | |
tree | 2df4ffad1a3a5cc5ceb07905c1090c08e1138833 /Android.mk | |
parent | 3099f911382d143d9b702d36e5e52d2f37d8edd9 (diff) | |
download | external_protobuf-7e567b8b0a9e1155666752723ca835734d60ab92.zip external_protobuf-7e567b8b0a9e1155666752723ca835734d60ab92.tar.gz external_protobuf-7e567b8b0a9e1155666752723ca835734d60ab92.tar.bz2 |
Add test for passing in proto params.
Depends on Ia532647fe8811d39230a23ba3671685b0388cbe0
Change-Id: I0ba3ce3561aff31e246968a79b1d1053dec91d49
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -350,3 +350,26 @@ LOCAL_STATIC_LIBRARIES += libz LOCAL_LDLIBS := -lpthread include $(BUILD_HOST_EXECUTABLE) + +# To test java proto params build rules. +# ======================================================= +include $(CLEAR_VARS) + +LOCAL_MODULE := aprotoc-test-nano-params +LOCAL_MODULE_TAGS := tests +LOCAL_SDK_VERSION := current + +LOCAL_PROTOC_OPTIMIZE_TYPE := nano + +LOCAL_SRC_FILES := \ + src/google/protobuf/unittest_import_nano.proto \ + src/google/protobuf/unittest_simple_nano.proto \ + src/google/protobuf/unittest_stringutf8_nano.proto \ + src/google/protobuf/unittest_recursive_nano.proto \ + src/google/protobuf/unittest_enum_multiplejava_nano.proto + +LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/src + +LOCAL_PROTO_JAVA_OUTPUT_PARAMS := java_package=$(LOCAL_PATH)/src/google/protobuf/unittest_import_nano.proto|com.google.protobuf.nano,java_outer_classname=$(LOCAL_PATH)/src/google/protobuf/unittest_import_nano.proto|UnittestImportNano + +include $(BUILD_STATIC_JAVA_LIBRARY) |