blob: a5b8ba37201f8f082a7bd4b05bec5cac919fb3a7 [file] [log] [blame]
Adam Langleyd9e397b2015-01-22 14:27:53 -08001LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/sources.mk
2include $(LOCAL_PATH)/sources.mk
3
Kenny Rootb8494592015-09-25 02:29:14 +00004LOCAL_CFLAGS += -I$(LOCAL_PATH)/src/include -I$(LOCAL_PATH)/src/crypto -Wno-unused-parameter -DBORINGSSL_ANDROID_SYSTEM
5LOCAL_ASFLAGS += -I$(LOCAL_PATH)/src/include -I$(LOCAL_PATH)/src/crypto -Wno-unused-parameter
Kenny Root7086cfc2015-03-04 16:00:41 -08006# Do not add in the architecture-specific files if we don't want to build assembly
Dan Willemsen08656b62015-08-18 17:47:53 -07007ifeq ($(LOCAL_IS_HOST_MODULE),true)
8LOCAL_SRC_FILES_linux_x86 := $(linux_x86_sources)
9LOCAL_SRC_FILES_linux_x86_64 := $(linux_x86_64_sources)
10else
11LOCAL_SRC_FILES_x86 := $(linux_x86_sources)
12LOCAL_SRC_FILES_x86_64 := $(linux_x86_64_sources)
13LOCAL_SRC_FILES_arm := $(linux_arm_sources)
14LOCAL_SRC_FILES_arm64 := $(linux_aarch64_sources)
Kenny Root7086cfc2015-03-04 16:00:41 -080015endif
Adam Langleyd9e397b2015-01-22 14:27:53 -080016LOCAL_SRC_FILES += $(crypto_sources)