diff options
author | Narayan Kamath <narayan@google.com> | 2015-07-04 02:58:01 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-04 02:58:01 +0000 |
commit | ffd8e0a5b40ce124e6dce4cb7546a26680d33d16 (patch) | |
tree | 480ed68c2a6e84148e6bfab04be9ad684d58ad63 | |
parent | 8daf81fe95533641f6c1aa3b6bf30759803bd4ab (diff) | |
parent | 71a0705e8fc5c39ca5b1daa512ef90c37246a76f (diff) | |
download | external_boringssl-ffd8e0a5b40ce124e6dce4cb7546a26680d33d16.zip external_boringssl-ffd8e0a5b40ce124e6dce4cb7546a26680d33d16.tar.gz external_boringssl-ffd8e0a5b40ce124e6dce4cb7546a26680d33d16.tar.bz2 |
am 71a0705e: Add a build target to build bssl for host.
* commit '71a0705e8fc5c39ca5b1daa512ef90c37246a76f':
Add a build target to build bssl for host.
-rw-r--r-- | Android.mk | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -120,6 +120,23 @@ LOCAL_CFLAGS = -Wno-unused-parameter include $(LOCAL_PATH)/ssl-sources.mk include $(BUILD_HOST_STATIC_LIBRARY) +# Host static tool (for linux only). +ifeq ($(HOST_OS), linux) +include $(CLEAR_VARS) +LOCAL_CFLAGS += -Wall -Werror -std=c++0x +LOCAL_CPP_EXTENSION := cc +LOCAL_MODULE := bssl +LOCAL_MODULE_TAGS := optional +LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/sources.mk +LOCAL_CFLAGS = -Wno-unused-parameter +LOCAL_SHARED_LIBRARIES=libcrypto-host libssl-host +# Needed for clock_gettime. +LOCAL_LDFLAGS := -lrt +include $(LOCAL_PATH)/sources.mk +LOCAL_SRC_FILES = $(tool_sources) +include $(BUILD_HOST_EXECUTABLE) +endif # HOST_OS == linux + # Host shared library include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional |