summaryrefslogtreecommitdiffstats
path: root/minadbd
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2017-12-12 23:24:28 +0100
committerEthan Yonker <dees_troy@teamw.in>2017-12-12 23:24:28 +0100
commitea4efc6d200a493084a90e80d9eb0dc5ffa96cdb (patch)
treedfc54a5b9bea812aec6d4ee69a4fc5394472ef48 /minadbd
parentFix android.hidle.base@1.0 rule for various 8.0 trees (diff)
downloadandroid_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
Diffstat (limited to 'minadbd')
-rw-r--r--minadbd/Android.mk27
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