2012-01-10 00:16:13 +01:00
|
|
|
# Copyright 2005 The Android Open Source Project
|
|
|
|
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
2015-02-27 00:33:00 +01:00
|
|
|
minadbd_cflags := \
|
|
|
|
-Wall -Werror \
|
|
|
|
-Wno-unused-parameter \
|
|
|
|
-Wno-missing-field-initializers \
|
|
|
|
-DADB_HOST=0 \
|
|
|
|
|
2012-01-10 00:16:13 +01:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2015-04-10 22:59:19 +02:00
|
|
|
adb_main.cpp \
|
|
|
|
fuse_adb_provider.cpp \
|
|
|
|
services.cpp \
|
2015-02-25 07:07:18 +01:00
|
|
|
|
2015-02-27 00:33:00 +01:00
|
|
|
LOCAL_MODULE := libminadbd
|
|
|
|
LOCAL_CFLAGS := $(minadbd_cflags)
|
|
|
|
LOCAL_CONLY_FLAGS := -Wimplicit-function-declaration
|
2015-02-19 00:58:15 +01:00
|
|
|
LOCAL_C_INCLUDES := bootable/recovery system/core/adb
|
2015-02-19 22:21:14 +01:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := libadbd
|
2012-01-10 00:16:13 +01:00
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
2015-02-27 00:33:00 +01:00
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_CLANG := true
|
|
|
|
LOCAL_MODULE := minadbd_test
|
|
|
|
LOCAL_SRC_FILES := fuse_adb_provider_test.cpp
|
|
|
|
LOCAL_CFLAGS := $(minadbd_cflags)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) system/core/adb
|
|
|
|
LOCAL_STATIC_LIBRARIES := libminadbd
|
2015-03-14 06:33:38 +01:00
|
|
|
LOCAL_SHARED_LIBRARIES := liblog
|
2015-02-27 00:33:00 +01:00
|
|
|
|
|
|
|
include $(BUILD_NATIVE_TEST)
|