diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2017-12-12 23:24:28 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2017-12-12 23:24:28 +0100 |
commit | ea4efc6d200a493084a90e80d9eb0dc5ffa96cdb (patch) | |
tree | dfc54a5b9bea812aec6d4ee69a4fc5394472ef48 | |
parent | Fix android.hidle.base@1.0 rule for various 8.0 trees (diff) | |
download | android_bootable_recovery-ea4efc6d200a493084a90e80d9eb0dc5ffa96cdb.tar android_bootable_recovery-ea4efc6d200a493084a90e80d9eb0dc5ffa96cdb.tar.gz android_bootable_recovery-ea4efc6d200a493084a90e80d9eb0dc5ffa96cdb.tar.bz2 android_bootable_recovery-ea4efc6d200a493084a90e80d9eb0dc5ffa96cdb.tar.lz android_bootable_recovery-ea4efc6d200a493084a90e80d9eb0dc5ffa96cdb.tar.xz android_bootable_recovery-ea4efc6d200a493084a90e80d9eb0dc5ffa96cdb.tar.zst android_bootable_recovery-ea4efc6d200a493084a90e80d9eb0dc5ffa96cdb.zip |
-rw-r--r-- | minadbd/Android.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/minadbd/Android.mk b/minadbd/Android.mk index fb90f6120..40e0519af 100644 --- a/minadbd/Android.mk +++ b/minadbd/Android.mk @@ -38,6 +38,33 @@ include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) +LOCAL_SRC_FILES := \ + fuse_adb_provider.cpp \ + ../fuse_sideload.cpp \ + minadbd.cpp \ + minadbd_services.cpp \ + +LOCAL_CLANG := true +LOCAL_MODULE := libminadbd +LOCAL_CFLAGS := $(minadbd_cflags) +LOCAL_CONLY_FLAGS := -Wimplicit-function-declaration +LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. system/core/adb +LOCAL_WHOLE_STATIC_LIBRARIES := libadbd +LOCAL_STATIC_LIBRARIES := libbase liblog libcutils libc + +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 24; echo $$?),0) + LOCAL_C_INCLUDES += $(LOCAL_PATH)/libmincrypt/includes + LOCAL_SHARED_LIBRARIES += libmincrypttwrp + LOCAL_CFLAGS += -DUSE_MINCRYPT +else + LOCAL_SHARED_LIBRARIES += libcrypto \ + $(if $(WITH_CRYPTO_UTILS),libcrypto_utils) +endif + +include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) + LOCAL_CLANG := true LOCAL_MODULE := minadbd_test LOCAL_SRC_FILES := fuse_adb_provider_test.cpp |