| # This is the Android makefile for google3/third_party/libsrtp so that we can |
| # build it with the Android NDK. |
| LOCAL_PATH:= $(call my-dir) |
| crypto/cipher/null_cipher.c \ |
| crypto/cipher/aes_icm.c \ |
| crypto/cipher/aes_cbc.c \ |
| crypto/hash/null_auth.c \ |
| crypto/math/datatypes.c \ |
| crypto/rng/rand_source.c \ |
| crypto/kernel/crypto_kernel.c \ |
| -DPOSIX -iquote$(LOCAL_PATH)/crypto/include \ |
| -Wno-ignored-qualifiers \ |
| -Wno-missing-field-initializers |
| common_C_INCLUDES = $(LOCAL_PATH)/include |
| # ===================================================== |
| ifeq ($(TARGET_ARCH),arm) |
| LOCAL_SRC_FILES := $(common_SRC_FILES) |
| LOCAL_CFLAGS += $(common_CFLAGS) |
| LOCAL_C_INCLUDES += $(common_C_INCLUDES) |
| LOCAL_MODULE:= libsrtp_static |
| LOCAL_MODULE_TAGS := optional |
| include $(BUILD_STATIC_LIBRARY) |