diff options
author | Jorge Lucangeli Obes <jorgelo@google.com> | 2016-08-01 18:46:26 -0400 |
---|---|---|
committer | Jorge Lucangeli Obes <jorgelo@google.com> | 2016-08-01 18:46:26 -0400 |
commit | 620f32f4946ad47da5cf609b6b7872d0cac44de6 (patch) | |
tree | 89c2ae385d5aa2041bbb932e07bd55d6dc6c472e | |
parent | 5fc5a50a942e6f863189b52d2a831730b36c3331 (diff) | |
download | libcap-620f32f4946ad47da5cf609b6b7872d0cac44de6.tar.gz |
Add shared library target for the host.
Compiling Minijail unit tests for the host requires libcap.
Bug: 30564188
Change-Id: I25454c1a906e153caa836f7a2310dbf1d74da8bc
-rw-r--r-- | Android.mk | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -38,6 +38,19 @@ LOCAL_MODULE := libcap include $(BUILD_SHARED_LIBRARY) +# Shared library for host. +include $(CLEAR_VARS) +LOCAL_CLANG := true +LOCAL_CFLAGS := $(libcap_cflags) +LOCAL_SRC_FILES := $(libcap_src_files) + +LOCAL_C_INCLUDES += $(LOCAL_PATH)/libcap/include + +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/libcap/include +LOCAL_MODULE := libcap +include $(BUILD_HOST_SHARED_LIBRARY) + + # Static library. include $(CLEAR_VARS) LOCAL_CLANG := true |