diff options
author | Alex Deymo <deymo@google.com> | 2016-08-01 12:33:12 -0700 |
---|---|---|
committer | Alex Deymo <deymo@google.com> | 2016-08-12 18:37:49 +0000 |
commit | 96109b593a61709259971af33efba001e7e04427 (patch) | |
tree | ca68e6783bacd61453e12ef07c8437a0b5252837 | |
parent | 5fb7f7dc8f4d16e320da6ed2a10aff8c56b49a28 (diff) | |
download | libevent-nougat-mr2-pixel-release.tar.gz |
DO NOT MERGE: Build static libevent for the target.android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-dev
libevent is already built as a static library in master since it was
converted to a .bp file. This patch builds it as a static library using
the legacy .mk file in this branch.
Bug: 27178350
Change-Id: Ic677b45a5ba806f688d766265f746be33dde7409
Cherry-pick needed on this branch but not on the downstream ones.
(cherry picked from commit a5dd84c71082d993bd8273d674daf89e4e9853a7)
Change-Id: Ied4bae6a46a48929b142cab8dfbcd325cf09ff18
-rw-r--r-- | Android.mk | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -69,6 +69,15 @@ LOCAL_SRC_FILES := $(libevent_all_src) $(libevent_linux_src) include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) +LOCAL_MODULE := libevent +LOCAL_ARM_MODE := arm +LOCAL_CFLAGS := $(libevent_cflags) +LOCAL_C_INCLUDES := $(LOCAL_PATH)/include +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include +LOCAL_SRC_FILES := $(libevent_all_src) $(libevent_linux_src) +include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) LOCAL_MODULE := libevent-host LOCAL_CFLAGS := $(libevent_cflags) LOCAL_C_INCLUDES := $(LOCAL_PATH)/include |