diff options
author | Dan Albert <danalbert@google.com> | 2014-11-11 19:28:23 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-11-11 19:28:23 +0000 |
commit | 4353bbc88f513a3c8863cc5b30e765dd5530faa1 (patch) | |
tree | dd775c746772fe8a7a47a8875c17f83527a718f6 | |
parent | 123e5376117dece4db60c4f28fd77f03a9ba4acb (diff) | |
parent | 0c44a2d48095860ad077ab6ef82468900eb1171d (diff) | |
download | external_protobuf-4353bbc88f513a3c8863cc5b30e765dd5530faa1.zip external_protobuf-4353bbc88f513a3c8863cc5b30e765dd5530faa1.tar.gz external_protobuf-4353bbc88f513a3c8863cc5b30e765dd5530faa1.tar.bz2 |
Merge "Add platform versions of the protobuf libraries."studio-1.5studio-1.4gradle_1.3.0-beta4gradle_1.3.0-beta3gradle_1.3.0-beta2gradle_1.3.0-beta1android-wear-5.0.0_r1
-rw-r--r-- | Android.mk | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -243,6 +243,25 @@ LOCAL_NDK_STL_VARIANT := stlport_static include $(BUILD_STATIC_LIBRARY) +# C++ lite library (libc++ flavored for the platform) +# ======================================================= +include $(CLEAR_VARS) + +LOCAL_MODULE := libprotobuf-cpp-lite +LOCAL_MODULE_TAGS := optional + +LOCAL_CPP_EXTENSION := .cc + +LOCAL_SRC_FILES := $(CC_LITE_SRC_FILES) + +LOCAL_C_INCLUDES := \ + $(LOCAL_PATH)/android \ + $(LOCAL_PATH)/src + +LOCAL_CFLAGS := -DGOOGLE_PROTOBUF_NO_RTTI $(IGNORED_WARNINGS) + +include $(BUILD_SHARED_LIBRARY) + # C++ full library # ======================================================= protobuf_cc_full_src_files := \ @@ -328,6 +347,24 @@ LOCAL_NDK_STL_VARIANT := gnustl_static include $(BUILD_STATIC_LIBRARY) +# C++ full library - libc++ version for the platform +# ======================================================= +include $(CLEAR_VARS) + +LOCAL_MODULE := libprotobuf-cpp-full +LOCAL_MODULE_TAGS := optional +LOCAL_CPP_EXTENSION := .cc +LOCAL_SRC_FILES := $(protobuf_cc_full_src_files) +LOCAL_C_INCLUDES := \ + $(LOCAL_PATH)/android \ + external/zlib \ + $(LOCAL_PATH)/src + +LOCAL_CFLAGS := -DGOOGLE_PROTOBUF_NO_RTTI $(IGNORED_WARNINGS) +LOCAL_SHARED_LIBRARIES := libz + +include $(BUILD_SHARED_LIBRARY) + # Clean temp vars protobuf_cc_full_src_files := |